Commit Graph

309 Commits

Author SHA1 Message Date
ced54c2919 More file comments 2024-03-18 12:49:38 -04:00
df2e01c15e Add some better file comments 2024-03-18 12:47:07 -04:00
5f3dac786c Clean up codegen for empty tagged data 2024-03-17 22:17:21 -04:00
0f70411cbf Fix doctests with functions 2024-03-17 22:08:05 -04:00
6905f759e5 Empty enums use a singleton instead of a constructor 2024-03-17 22:06:55 -04:00
146d3542d5 Don't bother comparing empty structs 2024-03-17 21:58:31 -04:00
212dfa44ae Fix error message 2024-03-17 21:49:52 -04:00
47f627f5dd Update test 2024-03-17 21:48:53 -04:00
03b223ac51 Fix switch statement 2024-03-17 21:47:40 -04:00
9a970964a5 Run with 'use' prefixed 2024-03-17 21:47:24 -04:00
594d58b6e2 When compiling .o files, put the .c and .h files on disk 2024-03-17 21:42:38 -04:00
655b677895 Preface symbols with file prefix 2024-03-17 20:40:40 -04:00
46ee3fc0ef Temporary fix for newlines between statements 2024-03-17 15:59:06 -04:00
ccba8abf73 Add tests for nested comprehensions 2024-03-17 15:28:46 -04:00
a0faef7102 Support nested comprehensions 2024-03-17 15:26:25 -04:00
1647fb4bed Unary ops should only parse terms not full expressions 2024-03-17 15:23:42 -04:00
9932841530 Improve comprehensions for both arrays and tables 2024-03-17 14:46:36 -04:00
5c2bb00baf Add conditional loop comprehension 2024-03-17 12:50:17 -04:00
341087026c More array tests 2024-03-17 12:49:28 -04:00
46decc9232 Skip/stop for 'while' loops 2024-03-15 13:45:25 -04:00
bc92bb72c8 Simplify loop code 2024-03-15 13:38:25 -04:00
5cdaf3e3fa Fancy skip/stop implementation 2024-03-15 13:35:30 -04:00
9454c5fa0d Properly compile conditionals with abort types in them 2024-03-15 13:07:41 -04:00
6f70286a4b Clean up codegen to not use macros 2024-03-14 13:50:24 -04:00
80ffb8044a Better codegen for negation 2024-03-14 13:47:40 -04:00
ecf425fb9a Rearrange expression/statement compilation code 2024-03-14 13:28:30 -04:00
d5d3f564bb Remove some shadowed variables 2024-03-14 02:48:07 -04:00
8847eaa660 Bugfix for looping 2024-03-14 02:44:37 -04:00
fdc3eadba2 Array comprehensions 2024-03-14 02:37:56 -04:00
130ddc8ea0 Improve codegen for assignment doctests 2024-03-10 01:42:21 -05:00
a90f8581c3 Clean up doctesting for assignments 2024-03-10 00:59:42 -05:00
f1c46b199f More docs 2024-03-10 00:42:59 -05:00
2f409eebba Tweak autofmt behavior 2024-03-10 00:42:17 -05:00
f8896c473f Updated README 2024-03-10 00:17:45 -05:00
7ad94e808d Add ld flag to find library 2024-03-10 00:05:32 -05:00
a33f730617 Rearranging some files 2024-03-10 00:03:21 -05:00
b639f01294 Removing some dead code 2024-03-09 23:44:52 -05:00
b83221f422 Remove references to libgccjit 2024-03-09 23:23:31 -05:00
fcd1381e3d Minor cleanups to get compilation working on clang 2024-03-09 23:21:44 -05:00
beb929484b Slightly improved readme 2024-03-09 23:16:43 -05:00
a1605672d9 Add explicit check for space indentation 2024-03-09 23:16:23 -05:00
89d7098654 Add test for secret structs 2024-03-09 19:06:09 -05:00
170c0a4197 Add lang tests 2024-03-09 19:03:35 -05:00
cbdd357b41 Deprecate secret langs (just use one-member structs) 2024-03-09 19:02:13 -05:00
5131fdff62 Improve handling of secret text 2024-03-09 18:47:56 -05:00
77c9669d41 Change lang stringification to include type name 2024-03-09 18:32:36 -05:00
2b83ab279d Add langs to the language 2024-03-09 18:22:12 -05:00
1b8f7307a9 Fix issues with substring overflow 2024-03-09 17:10:19 -05:00
5cfc01ac09 Add function/caching test 2024-03-09 16:46:25 -05:00
69162964e0 Implement function caching 2024-03-09 16:44:02 -05:00