Commit Graph

1678 Commits

Author SHA1 Message Date
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
69d41fa068 Add source information to runtime errors 2024-02-18 14:53:52 -05:00
f77a45095a Improved error messages 2024-02-18 14:38:05 -05:00
095970170c Implement indexing 2024-02-18 14:28:35 -05:00
88261bcbbd Fix single-thing iteration 2024-02-18 04:27:52 -05:00
5ce55a6a29 Better table literals 2024-02-18 04:26:26 -05:00
30c34a7243 Use known types instead of $var macro 2024-02-18 02:42:40 -05:00
bd0a618f4c Type compiling stuff 2024-02-18 02:34:39 -05:00
6d54150755 Split module code into header/c file 2024-02-18 02:22:31 -05:00
0d3022b34a Move file compilation into a separate file 2024-02-18 02:17:44 -05:00
1b5a95c30d Trim codegen 2024-02-18 02:12:44 -05:00
e5f706b258 Change syntax back to "enum(...)" and "struct(...)" 2024-02-18 02:07:12 -05:00
16e663941a Doctest with two '>>' 2024-02-18 01:28:30 -05:00
006f95b202 Fix pointer coloring 2024-02-18 01:28:02 -05:00
eabff011ea Add in '#' operator for length 2024-02-18 01:27:25 -05:00
733ebfd234 Fix up some Str stuff 2024-02-18 01:03:23 -05:00
5ebbfc205a Add some more types 2024-02-18 01:02:39 -05:00
221be79e88 Add enum as_string() 2024-02-18 01:00:47 -05:00
d502f5e552 Clean up struc stringifying 2024-02-18 00:49:23 -05:00
24a703199b Compile tables 2024-02-18 00:12:23 -05:00
fbf39cd7e9 Various fixes, including for Null values 2024-02-17 23:43:55 -05:00
2345c8c5c9 Bugfix for getting type name 2024-02-17 23:40:32 -05:00
86f3a80544 Split out parts into appropriate headers 2024-02-17 23:27:02 -05:00
20b4c6f497 Properly quote filename string 2024-02-17 23:23:37 -05:00
c678acfb19 Quote strings in AST debug strs 2024-02-17 23:22:23 -05:00
4a5c651d43 Overload type names with constructor and namespace struct 2024-02-17 22:15:45 -05:00
9564118202 Fix some more alignment issues and partial rename of Type_type 2024-02-17 22:09:44 -05:00
f05e3e2761 Fix up align issues 2024-02-17 22:07:25 -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
01a05db217 Fix issue with doctesting typestrings 2024-02-17 20:09:59 -05:00
d0ad2c6bc1 Fix doctest color issue 2024-02-17 20:07:39 -05:00
b34c5c5774 Fix up doctests 2024-02-17 20:07:04 -05:00
f521a99d00 Use aliasing for Num -> Num64 2024-02-17 19:56:32 -05:00
30c5b1ec25 Use #defines for Int aliasing 2024-02-17 19:54:32 -05:00
dd2de31666 Fix up USE_COLOR 2024-02-17 19:52:37 -05:00
a09a8339e7 Clean up builtins 2024-02-17 19:35:35 -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
1dcfbdc5c7 Rename 'cord' to 'as_str' 2024-02-17 17:44:17 -05:00
1bcf6bdc9a Add cord methods for getting typestrings 2024-02-17 17:35:16 -05:00
dbd7502a1d Fix up some builtins 2024-02-17 17:29:56 -05:00