├── .gitmodules ├── Makefile ├── README.md ├── TODO.md ├── deps └── lpeg │ ├── HISTORY │ ├── Makefile │ ├── lpeg-128.gif │ ├── lpeg.c │ ├── lpeg.h │ ├── lpeg.html │ ├── re.html │ ├── re.lua │ └── test.lua ├── editor └── lupa.vim ├── etc └── test.lu ├── lib ├── README └── lupa │ ├── core.lua │ └── lang.lua ├── src ├── core.h ├── lang.h ├── lib_init.c ├── lupa.c ├── lupa.h ├── lupa.lu └── lupa │ ├── core.lua │ └── lang.lu ├── std ├── dir.lu ├── file.lu ├── socket.lu ├── stat.lu ├── system.lu ├── time.lu └── xml.lu └── test ├── array.lu ├── bench.lu ├── bench.pl ├── bind.lu ├── binop.lu ├── bitops.lu ├── block.lu ├── channel.lu ├── class.lu ├── coerce.lu ├── do_while.lu ├── eval.lu ├── export.lu ├── for_in_stmt.lu ├── for_stmt.lu ├── func_guard.lu ├── guard.lu ├── hash.lu ├── if.lu ├── import.lu ├── meth_guard.lu ├── object.lu ├── proto.lu ├── range.lu ├── reserved.lu ├── rule.lu ├── shapes.lu ├── super.lu ├── switch.lu ├── trait.lu ├── try_catch.lu ├── tuple.lu └── with.lu /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/.gitmodules -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/README.md -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/TODO.md -------------------------------------------------------------------------------- /deps/lpeg/HISTORY: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/deps/lpeg/HISTORY -------------------------------------------------------------------------------- /deps/lpeg/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/deps/lpeg/Makefile -------------------------------------------------------------------------------- /deps/lpeg/lpeg-128.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/deps/lpeg/lpeg-128.gif -------------------------------------------------------------------------------- /deps/lpeg/lpeg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/deps/lpeg/lpeg.c -------------------------------------------------------------------------------- /deps/lpeg/lpeg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/deps/lpeg/lpeg.h -------------------------------------------------------------------------------- /deps/lpeg/lpeg.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/deps/lpeg/lpeg.html -------------------------------------------------------------------------------- /deps/lpeg/re.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/deps/lpeg/re.html -------------------------------------------------------------------------------- /deps/lpeg/re.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/deps/lpeg/re.lua -------------------------------------------------------------------------------- /deps/lpeg/test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/deps/lpeg/test.lua -------------------------------------------------------------------------------- /editor/lupa.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/editor/lupa.vim -------------------------------------------------------------------------------- /etc/test.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/etc/test.lu -------------------------------------------------------------------------------- /lib/README: -------------------------------------------------------------------------------- 1 | binary libraries live here 2 | -------------------------------------------------------------------------------- /lib/lupa/core.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/lib/lupa/core.lua -------------------------------------------------------------------------------- /lib/lupa/lang.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/lib/lupa/lang.lua -------------------------------------------------------------------------------- /src/core.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/src/core.h -------------------------------------------------------------------------------- /src/lang.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/src/lang.h -------------------------------------------------------------------------------- /src/lib_init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/src/lib_init.c -------------------------------------------------------------------------------- /src/lupa.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/src/lupa.c -------------------------------------------------------------------------------- /src/lupa.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/src/lupa.h -------------------------------------------------------------------------------- /src/lupa.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/src/lupa.lu -------------------------------------------------------------------------------- /src/lupa/core.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/src/lupa/core.lua -------------------------------------------------------------------------------- /src/lupa/lang.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/src/lupa/lang.lu -------------------------------------------------------------------------------- /std/dir.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/std/dir.lu -------------------------------------------------------------------------------- /std/file.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/std/file.lu -------------------------------------------------------------------------------- /std/socket.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/std/socket.lu -------------------------------------------------------------------------------- /std/stat.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/std/stat.lu -------------------------------------------------------------------------------- /std/system.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/std/system.lu -------------------------------------------------------------------------------- /std/time.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/std/time.lu -------------------------------------------------------------------------------- /std/xml.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/std/xml.lu -------------------------------------------------------------------------------- /test/array.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/array.lu -------------------------------------------------------------------------------- /test/bench.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/bench.lu -------------------------------------------------------------------------------- /test/bench.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/bench.pl -------------------------------------------------------------------------------- /test/bind.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/bind.lu -------------------------------------------------------------------------------- /test/binop.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/binop.lu -------------------------------------------------------------------------------- /test/bitops.lu: -------------------------------------------------------------------------------- 1 | var a = 21 2 | print(a << 1) 3 | 4 | -------------------------------------------------------------------------------- /test/block.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/block.lu -------------------------------------------------------------------------------- /test/channel.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/channel.lu -------------------------------------------------------------------------------- /test/class.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/class.lu -------------------------------------------------------------------------------- /test/coerce.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/coerce.lu -------------------------------------------------------------------------------- /test/do_while.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/do_while.lu -------------------------------------------------------------------------------- /test/eval.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/eval.lu -------------------------------------------------------------------------------- /test/export.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/export.lu -------------------------------------------------------------------------------- /test/for_in_stmt.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/for_in_stmt.lu -------------------------------------------------------------------------------- /test/for_stmt.lu: -------------------------------------------------------------------------------- 1 | for i : Number = 1, 10 { 2 | print(i) 3 | } 4 | 5 | -------------------------------------------------------------------------------- /test/func_guard.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/func_guard.lu -------------------------------------------------------------------------------- /test/guard.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/guard.lu -------------------------------------------------------------------------------- /test/hash.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/hash.lu -------------------------------------------------------------------------------- /test/if.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/if.lu -------------------------------------------------------------------------------- /test/import.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/import.lu -------------------------------------------------------------------------------- /test/meth_guard.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/meth_guard.lu -------------------------------------------------------------------------------- /test/object.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/object.lu -------------------------------------------------------------------------------- /test/proto.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/proto.lu -------------------------------------------------------------------------------- /test/range.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/range.lu -------------------------------------------------------------------------------- /test/reserved.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/reserved.lu -------------------------------------------------------------------------------- /test/rule.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/rule.lu -------------------------------------------------------------------------------- /test/shapes.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/shapes.lu -------------------------------------------------------------------------------- /test/super.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/super.lu -------------------------------------------------------------------------------- /test/switch.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/switch.lu -------------------------------------------------------------------------------- /test/trait.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/trait.lu -------------------------------------------------------------------------------- /test/try_catch.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/try_catch.lu -------------------------------------------------------------------------------- /test/tuple.lu: -------------------------------------------------------------------------------- 1 | var a, b = 1, 2 2 | -------------------------------------------------------------------------------- /test/with.lu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardhundt/lupa/HEAD/test/with.lu --------------------------------------------------------------------------------