-rw-r--r-- | LICENSE | 202L |
-rw-r--r-- | Makefile | 63L |
-rw-r--r-- | README.md | 17L |
-rw-r--r-- | bootstrap/compiler0.c | 1634L |
-rw-r--r-- | bootstrap/inc/builtin.type.h | 15L |
-rw-r--r-- | bootstrap/inc/library.impl.c | 87L |
-rw-r--r-- | bootstrap/inc/library.impl.h | 21L |
-rwxr-xr-x | build/compile0 | 11L |
-rwxr-xr-x | build/compile1 | 11L |
-rwxr-xr-x | build/runtest0 | 54L |
-rw-r--r-- | compiler/README | 9L |
-rw-r--r-- | compiler/lexer.spl | 349L |
-rw-r--r-- | compiler/main.spl | 95L |
-rw-r--r-- | compiler/parser.spl | 653L |
-rw-r--r-- | compiler/stdlib.spl | 29L |
-rw-r--r-- | compiler/types.spl | 487L |
-rw-r--r-- | demo/args.spl | 11L |
-rw-r--r-- | demo/echo.spl | 9L |
-rw-r--r-- | demo/hello.spl | 5L |
-rw-r--r-- | test/1000-return-42.log | 1L |
-rw-r--r-- | test/1000-return-42.spl | 3L |
-rw-r--r-- | test/1010-func-call.log | 1L |
-rw-r--r-- | test/1010-func-call.spl | 7L |
-rw-r--r-- | test/1011-func-call-forward.log | 1L |
-rw-r--r-- | test/1011-func-call-forward.spl | 8L |
-rw-r--r-- | test/1012-func-call-builtin.log | 4L |
-rw-r--r-- | test/1012-func-call-builtin.spl | 6L |
-rw-r--r-- | test/1020-math-1.log | 10L |
-rw-r--r-- | test/1020-math-1.spl | 22L |
-rw-r--r-- | test/1021-numbers.log | 24L |
-rw-r--r-- | test/1021-numbers.spl | 27L |
-rw-r--r-- | test/1024-xorshift32.log | 65L |
-rw-r--r-- | test/1024-xorshift32.spl | 20L |
-rw-r--r-- | test/1025-fibonacci.log | 25L |
-rw-r--r-- | test/1025-fibonacci.spl | 17L |
-rw-r--r-- | test/1026-fib-iter.log | 25L |
-rw-r--r-- | test/1026-fib-iter.spl | 23L |
-rw-r--r-- | test/1030-flow-control.log | 14L |
-rw-r--r-- | test/1030-flow-control.spl | 45L |
-rw-r--r-- | test/1031-logical-and-or.log | 64L |
-rw-r--r-- | test/1031-logical-and-or.spl | 56L |
-rw-r--r-- | test/1040-structs.log | 13L |
-rw-r--r-- | test/1040-structs.spl | 50L |
-rw-r--r-- | test/1041-arrays.log | 18L |
-rw-r--r-- | test/1041-arrays.spl | 26L |
-rw-r--r-- | test/1042-arrays2.log | 9L |
-rw-r--r-- | test/1042-arrays2.spl | 16L |
-rw-r--r-- | test/1043-str.log | 21L |
-rw-r--r-- | test/1043-str.spl | 31L |
-rw-r--r-- | test/1045-list.log | 2L |
-rw-r--r-- | test/1045-list.spl | 16L |
-rw-r--r-- | test/1050-enums.log | 10L |
-rw-r--r-- | test/1050-enums.spl | 20L |
-rw-r--r-- | test/2000-err-decl-mismatch-type.spl | 6L |
-rw-r--r-- | test/2001-err-decl-mismatch-return.spl | 5L |
-rw-r--r-- | test/2002-err-decl-mismatch-count.spl | 6L |
-rw-r--r-- | test/2003-err-decl-mismatch-array.spl | 8L |
-rw-r--r-- | test/2010-err-array-init-too-large.spl | 2L |
-rw-r--r-- | test/2011-err-array-oob-const.spl | 6L |
-rw-r--r-- | test/2020-err-u32-overflow.spl | 3L |
-rw-r--r-- | test/2021-err-u32-hex-overflow.spl | 3L |
-rw-r--r-- | test/2022-err-u32-bin-overflow.spl | 3L |
-rw-r--r-- | test/2030-err-bad-break.spl | 4L |
-rw-r--r-- | test/2031-err-bad-continue.spl | 4L |
-rw-r--r-- | vim/ftdetect/spl.vim | 1L |
-rw-r--r-- | vim/ftplugin/spl.vim | 4L |
-rw-r--r-- | vim/syntax/spl.vim | 59L |