Commit Graph

173 Commits

Author SHA1 Message Date
f868d02b08 Add NULL as a syntax for null values. 2024-11-21 13:00:53 -05:00
af5b5a90d6 Be more permissive around indentation between infix operators 2024-11-17 15:10:02 -05:00
4231789b71 Rename datetime -> moment 2024-11-17 14:49:03 -05:00
b51cd728c6 Add 'unless' as an alias for 'if not' 2024-11-17 13:25:32 -05:00
5d35f28633 Improve reductions so they work better nested and also have bespoke code
optimized for min/max and argmin/argmax.
2024-11-08 14:10:19 -05:00
9c842201f3 Bugfix for parsing empty method call names 2024-11-07 14:42:24 -05:00
b8d7eabc02 Deprecate bit-width integer/num literals in favor of using type
constructors
2024-11-05 15:18:32 -05:00
b69d14b894 Add some missing functionality for Bytes 2024-11-04 01:12:37 -05:00
39a58bc129 Clean up behavior and syntax for unsigned bit shifts (<<<, >>>) 2024-11-03 16:06:26 -05:00
3743913ce2 Add unsigned integer shifts 2024-11-03 15:48:13 -05:00
87d3bf928a Fix error message 2024-11-03 13:48:40 -05:00
078b443185 Add a repeat keyword 2024-11-03 12:20:53 -05:00
0b7a0dd043 Change reducers to use (OP: ...) syntax and return an optional value 2024-11-02 20:22:19 -04:00
9ebb039a81 Fix up some GCC compiler flag options for LTO and inlining 2024-10-29 23:14:31 -04:00
41c0ea851a Deprecate "&" for stack references 2024-10-27 20:35:12 -04:00
074cf22ad4 Change function syntax from func(args)->ret to func(args -> ret) 2024-10-09 13:26:28 -04:00
47fca94606 Bugfix for 1e-2-3 2024-10-09 04:17:34 -04:00
9dcc7ee7a9 Get rid of fn:func(Int,Num) syntax (unnamed arguments) 2024-10-09 01:56:33 -04:00
6ae27d409a Better message 2024-10-08 21:46:03 -04:00
6b9055db7c Deprecate readonly pointers for now 2024-10-04 13:21:56 -04:00
8f346b48aa Fix up some compiler flags around floating point numbers so they work
better with -Ofast and have more standardized behavior
2024-10-03 14:19:23 -04:00
ec0606091b Add datetime literal and tests 2024-09-30 13:55:55 -04:00
566356d82e Fix parsing of REPL code 2024-09-28 14:45:15 -04:00
ca93e6f3cb Simplify code by making name := use ... a Use AST instead of a Declare 2024-09-27 14:56:24 -04:00
d2ef94104e Convert used URLs to hashes 2024-09-23 22:42:15 -04:00
7f5af625e5 Support useing .c files and .S files (assembly) 2024-09-18 15:39:22 -04:00
63affe6d24 Support use "foo.h" 2024-09-18 14:58:19 -04:00
2c30feaa7c Clean up parser forward declarations 2024-09-18 00:51:30 -04:00
6f5de04b14 Deprecate dead code 2024-09-18 00:43:50 -04:00
7e0b1a3214 Deprecate linker directives 2024-09-18 00:43:13 -04:00
8e3c871f27 Code cleanup 2024-09-18 00:42:33 -04:00
4e670c8bca Clean up some dead code 2024-09-18 00:35:01 -04:00
10a51ad996 Bugfix for string escaping in printouts 2024-09-16 00:15:54 -04:00
6b5a9d65e3 Overhaul of how libraries are installed 2024-09-15 21:18:42 -04:00
8ee23054bf Update Inline C syntax and documentation/tests 2024-09-15 17:34:34 -04:00
e422079fcc Add a Byte datatype 2024-09-15 15:33:47 -04:00
c455e7b67d Rename builtins/ -> stdlib/ 2024-09-13 20:18:08 -04:00
4380039acc Rename builtins to use plurals when appropriate 2024-09-13 20:08:20 -04:00
51c346bbc5 Code cleanup 2024-09-13 19:59:28 -04:00
34c562e88e Move cord helper functions into their own file 2024-09-13 14:23:24 -04:00
46a2aa2ffc Fix up comprehensions so set comprehensions work and everything is a bit
more clean
2024-09-12 14:27:13 -04:00
56a4d13975 Automatic promotion to single-argument enum tags with a unique type 2024-09-12 13:05:08 -04:00
05724a659f Change unicode escape to \{name} and add escape for ANSI CSI sequences:
\[...]
2024-09-12 01:43:00 -04:00
de23577091 Allow trailing whitespace in parens expressions 2024-09-12 01:04:53 -04:00
fa7e52787f Add postfix ! operator for optionals 2024-09-12 00:13:53 -04:00
b0b23acf88 Rename "Nil"->"Null" for consistency 2024-09-11 13:55:41 -04:00
210179ee67 Optional enums (deprecated custom tag values) 2024-09-11 12:29:48 -04:00
989dc3f442 Support if x := blah: ... 2024-09-11 01:48:15 -04:00
7126755275 Add optional types 2024-09-11 01:31:31 -04:00
0570acfa15 Fix path escapes 2024-09-09 03:20:31 -04:00