├── BUILD_VERSION ├── LICENSE ├── Makefile ├── Makefile.cg ├── README.md ├── TODO ├── ast.cc ├── ast.h ├── ast_kinds.h ├── ast_to_if1.cc ├── ast_to_if1.h ├── builtin.cc ├── builtin.h ├── builtin_symbols.h ├── c.g ├── c_runtime.h ├── cast_code.cc ├── cdb.cc ├── cdb.h ├── cfg.cc ├── cg.cc ├── cg.h ├── clone.cc ├── clone.h ├── code.h ├── dead.cc ├── dead.h ├── dom.cc ├── dom.h ├── fa.cc ├── fa.h ├── fail.cc ├── fail.h ├── faq.html ├── fun.cc ├── fun.h ├── graph.cc ├── graph.h ├── html.cc ├── html.h ├── if1.cc ├── if1.h ├── ifa.1 ├── ifa.cc ├── ifa.h ├── ifa_tests ├── ifa_version.cc ├── ifa_version.h ├── ifadefs.h ├── ifalog.cc ├── ifalog.h ├── index.html ├── inline.cc ├── inline.h ├── loop.cc ├── loop.h ├── main.cc ├── make_ast.cc ├── make_ast.h ├── make_cast_code.cc ├── make_prims.cc ├── manual.html ├── mkdep ├── mktree.css ├── mktree.js ├── num.cc ├── num.h ├── parse.cc ├── parse.h ├── parse_structs.h ├── pattern.cc ├── pattern.h ├── pdb.cc ├── pdb.h ├── pnode.cc ├── pnode.h ├── prelude.v ├── prim.cc ├── prim.h ├── prim_data.cc ├── prim_data.dat ├── prim_data.h ├── prim_data_incs.h ├── python.g ├── scope.cc ├── scope.h ├── ssu.cc ├── ssu.h ├── sym.cc ├── sym.h ├── tests ├── for1.v ├── for1.v.check ├── for2.v ├── for2.v.check ├── literal.v └── literal.v.check ├── v.g ├── var.cc └── var.h /BUILD_VERSION: -------------------------------------------------------------------------------- 1 | 5bab00d48c94c6da6e0cc238355361ed9d7c3c49 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/Makefile -------------------------------------------------------------------------------- /Makefile.cg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/Makefile.cg -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/README.md -------------------------------------------------------------------------------- /TODO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/TODO -------------------------------------------------------------------------------- /ast.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/ast.cc -------------------------------------------------------------------------------- /ast.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/ast.h -------------------------------------------------------------------------------- /ast_kinds.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/ast_kinds.h -------------------------------------------------------------------------------- /ast_to_if1.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/ast_to_if1.cc -------------------------------------------------------------------------------- /ast_to_if1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/ast_to_if1.h -------------------------------------------------------------------------------- /builtin.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/builtin.cc -------------------------------------------------------------------------------- /builtin.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/builtin.h -------------------------------------------------------------------------------- /builtin_symbols.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/builtin_symbols.h -------------------------------------------------------------------------------- /c.g: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/c.g -------------------------------------------------------------------------------- /c_runtime.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/c_runtime.h -------------------------------------------------------------------------------- /cast_code.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/cast_code.cc -------------------------------------------------------------------------------- /cdb.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/cdb.cc -------------------------------------------------------------------------------- /cdb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/cdb.h -------------------------------------------------------------------------------- /cfg.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/cfg.cc -------------------------------------------------------------------------------- /cg.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/cg.cc -------------------------------------------------------------------------------- /cg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/cg.h -------------------------------------------------------------------------------- /clone.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/clone.cc -------------------------------------------------------------------------------- /clone.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/clone.h -------------------------------------------------------------------------------- /code.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/code.h -------------------------------------------------------------------------------- /dead.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/dead.cc -------------------------------------------------------------------------------- /dead.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/dead.h -------------------------------------------------------------------------------- /dom.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/dom.cc -------------------------------------------------------------------------------- /dom.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/dom.h -------------------------------------------------------------------------------- /fa.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/fa.cc -------------------------------------------------------------------------------- /fa.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/fa.h -------------------------------------------------------------------------------- /fail.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/fail.cc -------------------------------------------------------------------------------- /fail.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/fail.h -------------------------------------------------------------------------------- /faq.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/faq.html -------------------------------------------------------------------------------- /fun.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/fun.cc -------------------------------------------------------------------------------- /fun.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/fun.h -------------------------------------------------------------------------------- /graph.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/graph.cc -------------------------------------------------------------------------------- /graph.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/graph.h -------------------------------------------------------------------------------- /html.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/html.cc -------------------------------------------------------------------------------- /html.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/html.h -------------------------------------------------------------------------------- /if1.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/if1.cc -------------------------------------------------------------------------------- /if1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/if1.h -------------------------------------------------------------------------------- /ifa.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/ifa.1 -------------------------------------------------------------------------------- /ifa.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/ifa.cc -------------------------------------------------------------------------------- /ifa.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/ifa.h -------------------------------------------------------------------------------- /ifa_tests: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/ifa_tests -------------------------------------------------------------------------------- /ifa_version.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/ifa_version.cc -------------------------------------------------------------------------------- /ifa_version.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/ifa_version.h -------------------------------------------------------------------------------- /ifadefs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/ifadefs.h -------------------------------------------------------------------------------- /ifalog.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/ifalog.cc -------------------------------------------------------------------------------- /ifalog.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/ifalog.h -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/index.html -------------------------------------------------------------------------------- /inline.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/inline.cc -------------------------------------------------------------------------------- /inline.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/inline.h -------------------------------------------------------------------------------- /loop.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/loop.cc -------------------------------------------------------------------------------- /loop.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/loop.h -------------------------------------------------------------------------------- /main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/main.cc -------------------------------------------------------------------------------- /make_ast.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/make_ast.cc -------------------------------------------------------------------------------- /make_ast.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/make_ast.h -------------------------------------------------------------------------------- /make_cast_code.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/make_cast_code.cc -------------------------------------------------------------------------------- /make_prims.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/make_prims.cc -------------------------------------------------------------------------------- /manual.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/manual.html -------------------------------------------------------------------------------- /mkdep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/mkdep -------------------------------------------------------------------------------- /mktree.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/mktree.css -------------------------------------------------------------------------------- /mktree.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/mktree.js -------------------------------------------------------------------------------- /num.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/num.cc -------------------------------------------------------------------------------- /num.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/num.h -------------------------------------------------------------------------------- /parse.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/parse.cc -------------------------------------------------------------------------------- /parse.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/parse.h -------------------------------------------------------------------------------- /parse_structs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/parse_structs.h -------------------------------------------------------------------------------- /pattern.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/pattern.cc -------------------------------------------------------------------------------- /pattern.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/pattern.h -------------------------------------------------------------------------------- /pdb.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/pdb.cc -------------------------------------------------------------------------------- /pdb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/pdb.h -------------------------------------------------------------------------------- /pnode.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/pnode.cc -------------------------------------------------------------------------------- /pnode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/pnode.h -------------------------------------------------------------------------------- /prelude.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/prelude.v -------------------------------------------------------------------------------- /prim.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/prim.cc -------------------------------------------------------------------------------- /prim.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/prim.h -------------------------------------------------------------------------------- /prim_data.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/prim_data.cc -------------------------------------------------------------------------------- /prim_data.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/prim_data.dat -------------------------------------------------------------------------------- /prim_data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/prim_data.h -------------------------------------------------------------------------------- /prim_data_incs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/prim_data_incs.h -------------------------------------------------------------------------------- /python.g: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/python.g -------------------------------------------------------------------------------- /scope.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/scope.cc -------------------------------------------------------------------------------- /scope.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/scope.h -------------------------------------------------------------------------------- /ssu.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/ssu.cc -------------------------------------------------------------------------------- /ssu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/ssu.h -------------------------------------------------------------------------------- /sym.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/sym.cc -------------------------------------------------------------------------------- /sym.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/sym.h -------------------------------------------------------------------------------- /tests/for1.v: -------------------------------------------------------------------------------- 1 | f a : for (j:0; j < a; j++) print(j); 2 | f 10; 3 | -------------------------------------------------------------------------------- /tests/for1.v.check: -------------------------------------------------------------------------------- 1 | for1 2 | 0 3 | 1 4 | 2 5 | 3 6 | 4 7 | 5 8 | 6 9 | 7 10 | 8 11 | 9 12 | -------------------------------------------------------------------------------- /tests/for2.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/tests/for2.v -------------------------------------------------------------------------------- /tests/for2.v.check: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/tests/for2.v.check -------------------------------------------------------------------------------- /tests/literal.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/tests/literal.v -------------------------------------------------------------------------------- /tests/literal.v.check: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/tests/literal.v.check -------------------------------------------------------------------------------- /v.g: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/v.g -------------------------------------------------------------------------------- /var.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/var.cc -------------------------------------------------------------------------------- /var.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jplevyak/ifa/HEAD/var.h --------------------------------------------------------------------------------