+ pattern matching
+ local vars current running maximum: :: _predefined._List = _predefined._Cons a1 a2 | _predefined._Nil example.map f_0 !_x_1 = select _x_1 (_predefined._Nil -> _predefined._Nil) (_predefined._Cons a_1_0 as_1_1 -> _predefined._Cons (f_0 a_1_0) (example.map f_0 as_1_1)) example.inc !a_0 = add a_0 1 example.Start = example.map example.inc (_predefined._Cons 1 (_predefined._Cons 2 (_predefined._Cons 3 _predefined._Nil)))
Showing
- interpreter/code.c 68 additions, 7 deletionsinterpreter/code.c
- interpreter/code.h 25 additions, 1 deletioninterpreter/code.h
- interpreter/main.c 13 additions, 3 deletionsinterpreter/main.c
- interpreter/main.exe 0 additions, 0 deletionsinterpreter/main.exe
- interpreter/parse.c 67 additions, 28 deletionsinterpreter/parse.c
- interpreter/prim.c 7 additions, 1 deletioninterpreter/prim.c
- interpreter/thunk.c 16 additions, 8 deletionsinterpreter/thunk.c
- interpreter/thunk.h 3 additions, 2 deletionsinterpreter/thunk.h
- precompiler/precompiler.icl 15 additions, 3 deletionsprecompiler/precompiler.icl
Loading
Please register or sign in to comment