mylang
mylang - 勉強がてらとりあえず作ってみた簡単なC言語製独自プログラミング言語
Install
git clone https://github.com/miyagaw61/mylang
cd mylang
gcc mylang.c -o mylang
Usage
code.ml
a = 1 + 2
a = a + 3
print(a)
b = a * 3 / 9
print(b)
execute
./mylang code.ml
output
6
2
mylang - 勉強がてらとりあえず作ってみた簡単なC言語製独自プログラミング言語
git clone https://github.com/miyagaw61/mylang
cd mylang
gcc mylang.c -o mylang
a = 1 + 2
a = a + 3
print(a)
b = a * 3 / 9
print(b)
./mylang code.ml
6
2