0bba319126
Big overhaul:
...
- Clean up environment code using type strings instead of manually
defining types
- Add Commands module
- Move Shell lang into an example module that uses Commands module
- Fix some bugs with chained library dependencies
2025-03-17 19:29:28 -04:00
283b755490
Begin/end parsing
2025-03-16 14:05:43 -04:00
469b1e0679
Fixes for opaque external structs
2025-03-16 13:35:58 -04:00
f51acef40e
Overhaul of Path so it uses root and array of components instead of
...
stringly typed
2025-03-15 14:22:11 -04:00
fb2d7b5379
Add extern structs
2025-03-11 17:03:03 -04:00
39dd1ca27d
Add convert
keyword for defining conversions
2025-03-10 12:42:45 -04:00
73e559fbe4
Support 'when' for literal values with equality checking
2025-03-06 18:37:08 -05:00
645d66e0de
Change table syntax to {key=value}
and {:K,V}
/{K,V}
2025-01-12 16:49:58 -05:00
b025cf269d
Use holding
blocks for mutexed data instead of lambdas
2025-01-02 20:29:55 -05:00
be384c0caa
Replace threads with generic mutexed datastructures.
2025-01-02 16:24:07 -05:00
c6c7cc7272
Revert "Deprecate "&" for stack references"
...
This reverts commit 41c0ea851a
.
2024-12-18 14:44:37 -05:00
37f3e91f6c
Rename "NONE" to "none"
2024-12-07 16:04:25 -05:00
3a5815d4bd
Improvements and fixes for assigning to table keys
2024-12-06 15:18:25 -05:00
e38ecde989
Explicitly forbid nested optional types
2024-11-30 14:59:28 -05:00
566f97307d
Fix parsing issue that allowed spaces around ':' for method calls
2024-11-30 14:09:04 -05:00
69613e6c03
Tweak serialization syntax
2024-11-29 19:57:50 -05:00
f66f8ad711
Add serialization and deserialization
2024-11-29 18:09:12 -05:00
e9b36ae07e
More permissive parsing for spaces between binops
2024-11-26 13:48:00 -05:00
c4b6159f76
Permit spaces before indexes
2024-11-26 13:07:48 -05:00
922b585700
Tweaks to NONE parsing and tests
2024-11-25 15:59:35 -05:00
d4b10514fb
Clean up some more null->none renames and fix the documentation. Also
...
change the literal syntax to `NONE:T` instead of `!T`
2024-11-24 16:36:27 -05:00
1e3fb8a2c0
Rename "NULL" to "NONE"
2024-11-24 16:18:21 -05:00
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 use
ing .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