I’m a full-time job engineer working at HERP, Inc. My interests are functional programming language and that mechanisms, especially program conversion, control operators, delimited continuation and algebraic effects.
Git (locally, GitHub, BitBucket)
Opeth is Lua VM 5.3 Bytecode optimizer and debug tools.
Lua VM is not documented officially while the source code is opened. For implementing Opeth, I read VM’s source code.
Opeth has an optimizer, bytecode visualizer, step-by-step instruction interpreter, based on global data/control -flow analysis, and, assembly-like language compiled to the bytecode.
Here is a report.
Pnyao is pdf management system. It adopts server-client method The server uses play framework and you can access with web browser as client.
Eff.lua and Ruff are libraries that provide one-shot algebraic effects. These libraries are based on our research which translates one-shot algebraic effect handlers to (full, or namely stackful) asymmetric coroutines. Ruff has algebraic effects with subtyping on effects.
I researched about intermediate representation about compiler for functional language. In this research I designed the intermediate language for impure functional language and optimization for them.
Bachelor thesis: 合流点を追加したコンパイラ中間言語の設計と検証
We taclke to the relationship about asymmetric coroutines and algebraic effects.
- Poster: 河原 悟, JSSST2018, ワンショットの限定継続に着目した代数的効果から非対称コルーチンへの変換.
- Article: Satoru Kawahara and Kameyama Yukiyoshi, Trends in Functional Programming 2020, One-shot Algebraic Effects as Coroutines.
- Master thesis: コルーチンを用いた代数的効果の新しい実装方法の提案
- National Institute of Advanced Industrial Science and Technology, Part-time, 09/2014 ~ 02/2015.
- AgilePoint Japan, Part-time, 05/2015 ~ 11/2018.
- HERP, inc. Part-time, 11/2018 ~ 03/2020.
- Linux Development head office, Fujitsu, as an internship, 09/2015 ~ 10/2015
This column focuses on how to design virtual machine-based interpreter and implement it. You can learn the formalization of the VM state and the compilation rules from the source to the instruction sequence.
The book gives an implementation of toy language.
This column introduces algebraic effects and handlers by examples, containing delimited controls, and talk about the advanced topics.