Pythonのソースコード解析ツール OrionParser を2年間作ろうとしていた。 PLYで文法規則を書いて、テストして、壊して、直して。正直、何度も心が折れた。対応すべき構文が次から次へと出てきて、1つ直すと別が壊れる。そのうち手が止まった。 それがClaude Code ...
A compiler for a small C-like language, written in Python, plus the stack-based virtual machine that runs its output. Lexer, parser, code generator, bytecode VM: the full pipeline, each stage small ...
An educational programming language implemented in Python: a handwritten lexer → recursive-descent parser → abstract syntax tree → tree-walking interpreter. Lumos supports variables, integers, floats, ...