Commit Graph

1671 Commits

Author SHA1 Message Date
8f5a40b944 Typecheck inline C code 2024-02-25 17:43:52 -05:00
975185c5df Fix lto warning 2024-02-25 17:43:39 -05:00
32e3aba554 Remove comment 2024-02-25 16:32:45 -05:00
741617a17e Add for-else block 2024-02-25 16:02:36 -05:00
70f7f15781 Implement reductions 2024-02-25 15:28:46 -05:00
18db0fcee8 Add test for table iteration 2024-02-25 14:41:28 -05:00
4fc026a727 Add tests for '#' on collections 2024-02-25 14:38:04 -05:00
d06c63c70c Table field access for .keys, .values, .default, .fallback 2024-02-25 14:35:25 -05:00
5344789d8a More stringent requirements on '&' refs 2024-02-25 14:17:37 -05:00
7c889a4d0a Properly check mutability of lvalues 2024-02-25 13:13:36 -05:00
f7d403c358 WIP on stackrefs 2024-02-25 13:04:35 -05:00
394f720fb0 Make stack references work with local vars 2024-02-25 12:24:38 -05:00
7704a95a0b Implement obj[] 2024-02-25 12:20:25 -05:00
65f684fb6a Rename file extensions 2024-02-24 16:07:52 -05:00
c2228bf986 Rename 'nextlang'->'tomo' 2024-02-24 16:06:49 -05:00
dbad340c29 Bugfix table compilation 2024-02-24 15:39:33 -05:00
71b7392b08 Enum table test 2024-02-24 15:32:55 -05:00
0591d3db3a Rename folder 2024-02-24 15:32:02 -05:00
a1593ad8e4 Make CC an environment variable that's read from 2024-02-24 15:31:26 -05:00
a33de1a36e Fix test 2024-02-24 15:29:35 -05:00
911b39dad1 Update tests 2024-02-24 15:27:27 -05:00
106704b956 Improve enums with metamethods 2024-02-24 15:24:44 -05:00
c747034645 Add struct tests 2024-02-24 14:42:11 -05:00
e2520d817c Type constructors are global 2024-02-24 14:41:59 -05:00
08d1a6b971 Simplify table code 2024-02-24 14:36:35 -05:00
c9cd667450 Fix some string literal stuff and table default stuff 2024-02-24 14:36:08 -05:00
50fedc8f44 Fixing up structs 2024-02-24 14:29:40 -05:00
a4c3faa525 Split struct code into a separate file 2024-02-24 13:27:49 -05:00
6d904abe14 Tweak cord highlighting 2024-02-24 13:03:10 -05:00
d1dc7dac4b Fix cording 2024-02-24 13:02:20 -05:00
e59ad7befb Deprecate arr[.field] for now 2024-02-24 12:52:56 -05:00
8bee541c76 Support ++= item 2024-02-23 13:47:06 -05:00
c04b373cb4 Set up 'atomic' for arrays 2024-02-23 13:40:24 -05:00
4df2f8e4cb More tests 2024-02-23 13:36:16 -05:00
4c4059aa43 Integer tests 2024-02-23 13:34:40 -05:00
5d654490be Add first test 2024-02-23 13:31:35 -05:00
87bc0cfdbd Fix up some ++ stuff for arrays 2024-02-23 13:29:20 -05:00
9f56266ae4 Implement Array__concat and ++= 2024-02-23 13:24:06 -05:00
9aec32149f Code cleanup for KeywordArg 2024-02-23 12:50:01 -05:00
197da905f5 Add TODO 2024-02-22 23:14:23 -05:00
9e2645ade7 Fix up keyword args and default args 2024-02-22 22:15:09 -05:00
54b8b7af12 Fix function compiling 2024-02-22 13:35:28 -05:00
58b3b84bd9 Fix up some update operators 2024-02-22 13:26:43 -05:00
f9df7afb8d Fix comparisons 2024-02-22 13:18:47 -05:00
bfdb2da9e1 Implement power (^) 2024-02-22 13:09:46 -05:00
663182abdf Implement concatenation 2024-02-22 13:00:27 -05:00
2ecd8e11fd Implement 'when' statement for matching on enums 2024-02-22 12:45:12 -05:00
d915c5f5a2 Adjustments to 'not' behavior 2024-02-20 13:22:05 -05:00
f9cc44f145 Fixing up enums 2024-02-20 13:06:03 -05:00
d2aeee16e6 Add blank line between err and src 2024-02-18 14:55:55 -05:00