Commit Graph

587 Commits

Author SHA1 Message Date
147e0f0269 Overhaul of constructors, making it more consistent and correct. Also
changed T(), T, T_t, T_s type names to T(), T$$info, T$$type, T$$struct
for unambiguity
2025-03-05 18:20:54 -05:00
cb7a20117c Tweak usage so it's a bit more correct for this stuff 2025-03-02 00:49:35 -05:00
5cb66f2ba8 Bugfix for namespaced declarations that initialize and static
definitions
2025-03-01 22:14:32 -05:00
37e96dbda5 Change lang.text_content to lang.text 2025-03-01 16:53:58 -05:00
fab0083129 Support post-hoc definitions of escaping rules for DSLs 2025-03-01 16:04:14 -05:00
90548ebb33 For debugging purposes, show qualified name (Foo.baz()) in function
text
2025-03-01 15:43:24 -05:00
e81b7b998a Fix stringification of function type 2025-02-28 19:30:40 -05:00
a94337bc11 Deprecate autoformatter 2025-02-21 15:19:19 -05:00
7a6abd4f8e Tweak function registration API 2025-02-21 14:59:14 -05:00
91f66d80bb Support arbitrary argument constructors 2025-02-20 17:13:50 -05:00
058a028aef Switch to langs using constructors 2025-02-19 18:50:50 -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
481beaf40e Fix sequencing issue with typedefs for structs/enums 2025-02-10 14:58:40 -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
812b1e4746 Add more source line info 2025-02-04 14:36:41 -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
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
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
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
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
091f43e8ef Bugfix for lvalues that are pointers to tables/arrays 2024-12-26 18:08:30 -05:00
acd3f2d39e Add text indexing 2024-12-26 17:31:33 -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
2a12cb869b Bugfixes for table updates and array concat updates 2024-12-22 15:31:58 -05:00
46b61d3ed2 Add text:by_line()/:by_split()/:by_match() 2024-12-21 16:32:22 -05:00
325b367a13 Support logical binary operators on optionals (promote to booleans) 2024-12-21 15:13:26 -05:00
b0faa5adc2 Add Text:from()/to() and Array:slice() for symmetry 2024-12-19 13:50:35 -05:00
1db70d46c6 Fix cross promotion between types with/without defaults 2024-12-18 15:21:20 -05:00
5d37a0c66b Fixes for tables with default values 2024-12-18 15:08:13 -05:00
c6c7cc7272 Revert "Deprecate "&" for stack references"
This reverts commit 41c0ea851a.
2024-12-18 14:44:37 -05:00
5c15238e2f Fix for indexing table pointers 2024-12-12 14:08:07 -05:00
ff95aa5e64 Bugfix for max cache size 2024-12-11 13:47:00 -05:00
841c8114a3 Fix for set binop operations 2024-12-08 13:45:01 -05:00
37f3e91f6c Rename "NONE" to "none" 2024-12-07 16:04:25 -05:00
a201939a81 Use likely()/unlikely() macros and a few bugfixes for integers 2024-12-07 15:59:37 -05:00
683b0f5141 Rename some old "null" references 2024-12-07 15:28:33 -05:00
1710b30de4 Tweak to Set operations 2024-12-07 15:10:00 -05:00
3a5815d4bd Improvements and fixes for assigning to table keys 2024-12-06 15:18:25 -05:00
ca14454bb0 Bugfix for error allowing for recursive declarations 2024-12-05 13:39:49 -05:00
07dd1894b7 Bugfixes for moments mixing up microseconds/nanoseconds, plus adding
accessor fields for them
2024-11-30 17:25:36 -05:00