$ wc -l *.ex lib/utils.ex 445 mrcl_codegen.ex 17 mrcl_compiler.ex 132 mrcl_lexer.ex 392 mrcl_parser.ex 47 lib/utils.ex 1033 åè¨ $ echo ' func add(a, b) { return a + b; } func main() { call add(1, 2); } ' | ./run.sh lex | ./run.sh parse | ./run.sh codegen # â ã¢ã»ã³ããªãåºåããã call main exit label add push bp mov bp sp mov reg_a [bp:2] push reg_a mov reg_a [bp:3] push reg_a pop reg_b pop reg_a add reg_a r
{{#tags}}- {{label}}
{{/tags}}