Commit Graph

1363 Commits

Author SHA1 Message Date
058a028aef Switch to langs using constructors 2025-02-19 18:50:50 -05:00
29849d1457 Fix shell escaping (add quotes) 2025-02-19 18:24:27 -05:00
b89291957a Restructure compile_file() so it moves a bit more towards less usage of
side effects
2025-02-19 16:30:19 -05:00
c4479e4bd6 Add Int:onward() iterator 2025-02-13 15:21:00 -05:00
5be9559046 Deprecate Range datatype in favor of using iterator methods 2025-02-13 15:03:22 -05:00
8e0f1fa227 Fix symbol renaming issue 2025-02-12 14:57:56 -05:00
4b8a72de3f Print moment ASTs 2025-02-12 14:31:01 -05:00
04dddda811 Add missing files 2025-02-10 19:04:30 -05:00
481beaf40e Fix sequencing issue with typedefs for structs/enums 2025-02-10 14:58:40 -05:00
f4d0f7f6d9 Reorder code corresponding to how it outputs 2025-02-10 14:24:14 -05:00
dbdd3bacf5 Remove redundant declaration 2025-02-10 14:17:33 -05:00
15b9b3fe86 Add file info to headers 2025-02-10 14:13:44 -05:00
66eca49d18 Tweak set_binding() API 2025-02-10 13:13:45 -05:00
be87d8169d Convert the logic for finding closed variables to a more pure functional
style with fewer side effects
2025-02-09 13:57:54 -05:00
6310f05656 Remove dead code 2025-02-07 20:25:48 -05:00
362146e295 Bugfix and minor perf improvements for text concatenation with unstable
clustering
2025-02-07 20:06:00 -05:00
2ff7c1aa71 Move REPL code out of binding_t struct 2025-02-06 14:18:52 -05:00
3b00aef3e4 Use defer in http module 2025-02-04 15:32:01 -05:00
812b1e4746 Add more source line info 2025-02-04 14:36:41 -05:00
58af4226f8 Hide '_.' from stack backtrace 2025-02-04 14:18:29 -05:00
32da3a3226 Add a _ prefix on variables so it's easier to debug in GDB 2025-02-04 14:16:06 -05:00
e06d7180d4 Add in source line information 2025-02-04 14:15:18 -05:00
50edc4097a Add {word} as an alias for {id} 2025-02-04 13:44:38 -05:00
0d8d109eaf Bugfix for typechecking failure on table indexing, also improved codegen
for updates on tables
2025-01-31 14:36:30 -05:00
b783a218bb Clean up codegen for cached functions (don't publicly define a struct type
for the cache key)
2025-01-30 13:58:49 -05:00
74b1265d2a Text struct field reordering 2025-01-29 14:27:10 -05:00
f93dde1449 Overhaul of Text implementation to be more like Cords and have much
better performance for long sequences of repeated concatenation.
2025-01-23 15:33:56 -05:00
c60ea2079f Fix up examples 2025-01-12 16:54:37 -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
500e4e1bd7 Fix issue for size/alignment of threads 2025-01-02 18:20:58 -05:00
1a4a7250bb Add some light docs for mutexed access 2025-01-02 16:29:21 -05:00
be384c0caa Replace threads with generic mutexed datastructures. 2025-01-02 16:24:07 -05:00
2fcf1939bb Fix for heap_pop() test in arrays 2024-12-31 16:23:16 -05:00
8df0cc41c9 Array:heap_pop() now returns an optional value 2024-12-31 15:57:13 -05:00
156d54a73e Add array:pop() 2024-12-31 15:46:53 -05:00
4b11f1b2b6 Compile with thread support 2024-12-30 15:32:08 -05:00
091f43e8ef Bugfix for lvalues that are pointers to tables/arrays 2024-12-26 18:08:30 -05:00
38b3b7b181 Add lang test for indexing 2024-12-26 17:32:10 -05:00
acd3f2d39e Add text indexing 2024-12-26 17:31:33 -05:00
32cbf7b7c8 Bugfix for text hashing 2024-12-26 17:15:52 -05:00
59b31083a6 Change table hashing and comparison logic to be *unordered*, but still
O(N)
2024-12-26 16:52:47 -05:00
695049bef9 Add integer tests 2024-12-24 14:20:55 -05:00
9e0017e86e Add Int:factorial() and n:choose(k) 2024-12-24 14:20:16 -05:00
f4b105456a Bugfix for ternary expressions 2024-12-24 14:15:10 -05:00
add1da2a96 Fix for table default values 2024-12-24 13:49:47 -05:00
df1b36cc27 Fix issue with cross promotion for tables with default values 2024-12-22 16:37:09 -05:00
dcab9eb748 Tweak array resizing policy 2024-12-22 16:22:39 -05:00
a9fe674446 Fix for resizing 2024-12-22 16:09:55 -05:00
5df498fc20 Tweak bucket resize cap 2024-12-22 16:08:20 -05:00