Commit Graph

449 Commits

Author SHA1 Message Date
fbf39cd7e9 Various fixes, including for Null values 2024-02-17 23:43:55 -05:00
86f3a80544 Split out parts into appropriate headers 2024-02-17 23:27:02 -05:00
9564118202 Fix some more alignment issues and partial rename of Type_type 2024-02-17 22:09:44 -05:00
8f451d0271 Custom tostring functions working 2024-02-17 21:04:35 -05:00
26723deea2 Incremental fixes 2024-02-17 20:47:43 -05:00
6fcc7840d1 Clean up more binops 2024-02-17 20:25:31 -05:00
7cbd200624 Clean up some binops to use generic ops 2024-02-17 20:21:01 -05:00
b34c5c5774 Fix up doctests 2024-02-17 20:07:04 -05:00
dd2de31666 Fix up USE_COLOR 2024-02-17 19:52:37 -05:00
d46925dbfa Cleanup of builtins 2024-02-17 19:32:30 -05:00
7355b2f7fe Change things up to use type params for all array and table methods 2024-02-17 18:38:29 -05:00
dbd7502a1d Fix up some builtins 2024-02-17 17:29:56 -05:00
5c49314ed4 Add typechecking logic 2024-02-17 17:00:21 -05:00
de3eeacfa0 Major cleanup 2024-02-17 16:56:19 -05:00
5d2d54ae0e Tweak cord formatting 2024-02-17 14:47:14 -05:00
f156f915f4 Moving builtin strings over to cords 2024-02-16 13:29:02 -05:00
317b8f5319 Progress towards environments 2024-02-15 13:43:46 -05:00
0577469f9c Bit flags for enums too 2024-02-14 23:45:37 -05:00
f2307aee53 Make bools more compact 2024-02-14 23:44:39 -05:00
2d9afed93a Use dollar identifiers 2024-02-14 13:28:28 -05:00
1af5ab6d4e Add #line directives for source code mapping 2024-02-14 00:19:16 -05:00
b71624abff Fix floating point literals to be exactly precise 2024-02-13 23:37:24 -05:00
1f2b288b32 Slightly more concise generated code for ints 2024-02-13 23:12:20 -05:00
187cbc7610 Whitespace and ordering tweaks 2024-02-13 22:56:10 -05:00
85bd567d3c Add kwargs as a macro hack 2024-02-13 22:13:54 -05:00
853b8e505e Add secret structs 2024-02-13 20:27:19 -05:00
2e8f8b348a Change compilation ordering by splitting into chunks 2024-02-13 14:42:33 -05:00
5de71394a3 Doctests for assignment 2024-02-13 13:32:08 -05:00
45d646be10 Improvements to cording 2024-02-13 13:15:28 -05:00
cf70dac0be Fix multi-assignment 2024-02-13 13:08:00 -05:00
f3b9d577c2 Misc fixes for __stack, yes, no, etc 2024-02-12 03:00:31 -05:00
da1081387f Fix doctests for declarations 2024-02-12 02:07:12 -05:00
ade25eeb5a Add __cord() method for structs 2024-02-12 01:57:31 -05:00
e5cebad467 Hacky kwarg implementation 2024-02-12 01:48:45 -05:00
26c89b77db Compile struct constructors and field accesses 2024-02-12 01:46:32 -05:00
2c5401aaf7 Deprecate Char type 2024-02-12 00:41:49 -05:00
ddd9f6e5d5 Fix operator precedence and boolification 2024-02-11 23:09:00 -05:00
1e8cdfa920 Changes to string parsing 2024-02-11 19:30:02 -05:00
37a0493b59 String literals as cords 2024-02-11 15:31:30 -05:00
23898b7618 Handle empty cords correctly 2024-02-11 15:22:32 -05:00
b099d51d2b Min/max 2024-02-10 17:36:04 -05:00
b341e0481c Remove extra semicolon 2024-02-10 17:21:43 -05:00
2c9ee0c629 String improvements 2024-02-10 15:33:35 -05:00
4e545c6798 Better string parsing. 2024-02-10 15:23:06 -05:00
930c09f46d More features and progress 2024-02-08 00:52:18 -05:00
ee0f45e295 Rename type AST nodes 2024-02-05 13:22:30 -05:00
adde91636f Builtins 2024-02-04 21:13:50 -05:00
b08a0d3e2b Updates and functionality 2024-02-04 18:04:41 -05:00
98f0c51119 Initial commit 2024-02-04 15:23:59 -05:00