https://github.com/sonota88/mini-ruccola-elixir
simple toy compiler
https://github.com/sonota88/mini-ruccola-elixir
compiler elixir
Last synced: about 1 year ago
JSON representation
simple toy compiler
- Host: GitHub
- URL: https://github.com/sonota88/mini-ruccola-elixir
- Owner: sonota88
- License: mit
- Created: 2023-12-10T02:38:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-13T05:58:06.000Z (about 1 year ago)
- Last Synced: 2025-04-13T06:28:58.225Z (about 1 year ago)
- Topics: compiler, elixir
- Language: Elixir
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Elixir port of [Mini Ruccola (vm2gol-v2)](https://github.com/sonota88/vm2gol-v2) compiler
[Elixirで簡単な自作言語のコンパイラを書いた](https://qiita.com/sonota88/items/fefef95264320a903300)
---
```
$ asdf list erlang
*27.3.2
$ asdf list elixir
*1.18.3-otp-27
```
```sh
git clone --recursive https://github.com/sonota88/mini-ruccola-elixir.git
cd mini-ruccola-elixir
./docker.sh build
./test.sh all
```
```
$ LANG=C wc -l mrcl_{lexer,parser,codegen}.ex
132 mrcl_lexer.ex
392 mrcl_parser.ex
445 mrcl_codegen.ex
969 total
```