├── Makefile ├── README.md ├── bc2bef.cc ├── beflisp.bef ├── beflisp2d.bef ├── befunge.cc ├── eval.l ├── evalify.rb ├── fizzbuzz.l ├── fizzbuzz.l2d ├── libef.h ├── lisp.c ├── lisp2d.c ├── lisp_common.c ├── purelisp.rb ├── sort.l ├── test.l ├── test.rb ├── test ├── cmp_eq.bef ├── cmp_eq.c ├── cmp_eq_1.in ├── cmp_eq_2.in ├── cmp_eq_3.in ├── cmp_ge.bef ├── cmp_ge.c ├── cmp_ge_1.in ├── cmp_ge_2.in ├── cmp_ge_3.in ├── cmp_gt.bef ├── cmp_gt.c ├── cmp_gt_1.in ├── cmp_gt_2.in ├── cmp_gt_3.in ├── cmp_le.bef ├── cmp_le.c ├── cmp_le_1.in ├── cmp_le_2.in ├── cmp_le_3.in ├── cmp_lt.bef ├── cmp_lt.c ├── cmp_lt_1.in ├── cmp_lt_2.in ├── cmp_lt_3.in ├── cmp_ne.bef ├── cmp_ne.c ├── cmp_ne_1.in ├── cmp_ne_2.in ├── cmp_ne_3.in ├── fizzbuzz.bef ├── fizzbuzz.c ├── func.bef ├── func.c ├── func.in ├── global.bef ├── global.c ├── hello.c ├── loop.bef ├── loop.c ├── loop.in ├── malloc.bef ├── malloc.c ├── nullptr.bef ├── nullptr.c ├── print_int.bef ├── print_int.c ├── puts.bef ├── puts.c ├── struct.bef ├── struct.c ├── struct.in ├── swapcase.bef ├── swapcase.c ├── swapcase_1.in ├── swapcase_2.in ├── swapcase_3.in ├── swapcase_4.in ├── swapcase_5.in ├── swapcase_6.in ├── switch_op.bef ├── switch_op.c └── switch_op.in └── test_bef.rb /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/README.md -------------------------------------------------------------------------------- /bc2bef.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/bc2bef.cc -------------------------------------------------------------------------------- /beflisp.bef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/beflisp.bef -------------------------------------------------------------------------------- /beflisp2d.bef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/beflisp2d.bef -------------------------------------------------------------------------------- /befunge.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/befunge.cc -------------------------------------------------------------------------------- /eval.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/eval.l -------------------------------------------------------------------------------- /evalify.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/evalify.rb -------------------------------------------------------------------------------- /fizzbuzz.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/fizzbuzz.l -------------------------------------------------------------------------------- /fizzbuzz.l2d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/fizzbuzz.l2d -------------------------------------------------------------------------------- /libef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/libef.h -------------------------------------------------------------------------------- /lisp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/lisp.c -------------------------------------------------------------------------------- /lisp2d.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/lisp2d.c -------------------------------------------------------------------------------- /lisp_common.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/lisp_common.c -------------------------------------------------------------------------------- /purelisp.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/purelisp.rb -------------------------------------------------------------------------------- /sort.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/sort.l -------------------------------------------------------------------------------- /test.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test.l -------------------------------------------------------------------------------- /test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test.rb -------------------------------------------------------------------------------- /test/cmp_eq.bef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/cmp_eq.bef -------------------------------------------------------------------------------- /test/cmp_eq.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/cmp_eq.c -------------------------------------------------------------------------------- /test/cmp_eq_1.in: -------------------------------------------------------------------------------- 1 | 0 -------------------------------------------------------------------------------- /test/cmp_eq_2.in: -------------------------------------------------------------------------------- 1 | X -------------------------------------------------------------------------------- /test/cmp_eq_3.in: -------------------------------------------------------------------------------- 1 | A -------------------------------------------------------------------------------- /test/cmp_ge.bef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/cmp_ge.bef -------------------------------------------------------------------------------- /test/cmp_ge.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/cmp_ge.c -------------------------------------------------------------------------------- /test/cmp_ge_1.in: -------------------------------------------------------------------------------- 1 | 0 -------------------------------------------------------------------------------- /test/cmp_ge_2.in: -------------------------------------------------------------------------------- 1 | X -------------------------------------------------------------------------------- /test/cmp_ge_3.in: -------------------------------------------------------------------------------- 1 | A -------------------------------------------------------------------------------- /test/cmp_gt.bef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/cmp_gt.bef -------------------------------------------------------------------------------- /test/cmp_gt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/cmp_gt.c -------------------------------------------------------------------------------- /test/cmp_gt_1.in: -------------------------------------------------------------------------------- 1 | 0 -------------------------------------------------------------------------------- /test/cmp_gt_2.in: -------------------------------------------------------------------------------- 1 | X -------------------------------------------------------------------------------- /test/cmp_gt_3.in: -------------------------------------------------------------------------------- 1 | A -------------------------------------------------------------------------------- /test/cmp_le.bef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/cmp_le.bef -------------------------------------------------------------------------------- /test/cmp_le.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/cmp_le.c -------------------------------------------------------------------------------- /test/cmp_le_1.in: -------------------------------------------------------------------------------- 1 | 0 -------------------------------------------------------------------------------- /test/cmp_le_2.in: -------------------------------------------------------------------------------- 1 | X -------------------------------------------------------------------------------- /test/cmp_le_3.in: -------------------------------------------------------------------------------- 1 | A -------------------------------------------------------------------------------- /test/cmp_lt.bef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/cmp_lt.bef -------------------------------------------------------------------------------- /test/cmp_lt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/cmp_lt.c -------------------------------------------------------------------------------- /test/cmp_lt_1.in: -------------------------------------------------------------------------------- 1 | 0 -------------------------------------------------------------------------------- /test/cmp_lt_2.in: -------------------------------------------------------------------------------- 1 | X -------------------------------------------------------------------------------- /test/cmp_lt_3.in: -------------------------------------------------------------------------------- 1 | A -------------------------------------------------------------------------------- /test/cmp_ne.bef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/cmp_ne.bef -------------------------------------------------------------------------------- /test/cmp_ne.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/cmp_ne.c -------------------------------------------------------------------------------- /test/cmp_ne_1.in: -------------------------------------------------------------------------------- 1 | 0 -------------------------------------------------------------------------------- /test/cmp_ne_2.in: -------------------------------------------------------------------------------- 1 | X -------------------------------------------------------------------------------- /test/cmp_ne_3.in: -------------------------------------------------------------------------------- 1 | A -------------------------------------------------------------------------------- /test/fizzbuzz.bef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/fizzbuzz.bef -------------------------------------------------------------------------------- /test/fizzbuzz.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/fizzbuzz.c -------------------------------------------------------------------------------- /test/func.bef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/func.bef -------------------------------------------------------------------------------- /test/func.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/func.c -------------------------------------------------------------------------------- /test/func.in: -------------------------------------------------------------------------------- 1 | 09ANZ_az~ 2 | -------------------------------------------------------------------------------- /test/global.bef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/global.bef -------------------------------------------------------------------------------- /test/global.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/global.c -------------------------------------------------------------------------------- /test/hello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/hello.c -------------------------------------------------------------------------------- /test/loop.bef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/loop.bef -------------------------------------------------------------------------------- /test/loop.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/loop.c -------------------------------------------------------------------------------- /test/loop.in: -------------------------------------------------------------------------------- 1 | 09ANZ_az~ 2 | -------------------------------------------------------------------------------- /test/malloc.bef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/malloc.bef -------------------------------------------------------------------------------- /test/malloc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/malloc.c -------------------------------------------------------------------------------- /test/nullptr.bef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/nullptr.bef -------------------------------------------------------------------------------- /test/nullptr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/nullptr.c -------------------------------------------------------------------------------- /test/print_int.bef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/print_int.bef -------------------------------------------------------------------------------- /test/print_int.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/print_int.c -------------------------------------------------------------------------------- /test/puts.bef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/puts.bef -------------------------------------------------------------------------------- /test/puts.c: -------------------------------------------------------------------------------- 1 | #include "libef.h" 2 | 3 | int main() { 4 | puts("Hello, world!"); 5 | return 0; 6 | } 7 | -------------------------------------------------------------------------------- /test/struct.bef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/struct.bef -------------------------------------------------------------------------------- /test/struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/struct.c -------------------------------------------------------------------------------- /test/struct.in: -------------------------------------------------------------------------------- 1 | !@ -------------------------------------------------------------------------------- /test/swapcase.bef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/swapcase.bef -------------------------------------------------------------------------------- /test/swapcase.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/swapcase.c -------------------------------------------------------------------------------- /test/swapcase_1.in: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /test/swapcase_2.in: -------------------------------------------------------------------------------- 1 | A 2 | -------------------------------------------------------------------------------- /test/swapcase_3.in: -------------------------------------------------------------------------------- 1 | Z 2 | -------------------------------------------------------------------------------- /test/swapcase_4.in: -------------------------------------------------------------------------------- 1 | a 2 | -------------------------------------------------------------------------------- /test/swapcase_5.in: -------------------------------------------------------------------------------- 1 | z 2 | -------------------------------------------------------------------------------- /test/swapcase_6.in: -------------------------------------------------------------------------------- 1 | $ 2 | -------------------------------------------------------------------------------- /test/switch_op.bef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/switch_op.bef -------------------------------------------------------------------------------- /test/switch_op.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test/switch_op.c -------------------------------------------------------------------------------- /test/switch_op.in: -------------------------------------------------------------------------------- 1 | 09ANZ_az~(){} -------------------------------------------------------------------------------- /test_bef.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shinh/beflisp/HEAD/test_bef.rb --------------------------------------------------------------------------------