0918nobita / mylang

Programming language implementation for learning purposes

Home Page:https://0918nobita.github.io/mylang/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mylang

CI

趣味で少しずつ作っている自作プログラミング言語処理系です。

ワークスペースについて

バイナリ

ライブラリ

サンプルコードの実行方法

AST を解釈実行する場合

cd examples
cargo run --bin mylang_lexer -- -o hello.tok.json hello.mylang
cargo run --bin mylang_parser -- -o hello.ast.json hello.tok.json
cargo run --bin mylang_ast_interp -- hello.ast.json

AST をバイトコードに変換してから VM で実行する場合

cd examples
./hello

About

Programming language implementation for learning purposes

https://0918nobita.github.io/mylang/

License:MIT License


Languages

Language:Rust 96.7%Language:JavaScript 1.8%Language:TypeScript 1.4%