f4011eb489
Remove test
2024-08-13 02:46:56 -04:00
80af2ea547
Fixes
2024-08-13 02:21:21 -04:00
158a1c6ad2
More fixes
2024-08-13 02:09:18 -04:00
d08f795794
Partially working first draft of bigints
2024-08-13 01:30:25 -04:00
c139ba2aae
Fix old syntax
2024-08-12 17:43:01 -04:00
8b564f6dd1
Fix deadlock issue
2024-08-12 17:42:51 -04:00
d2f4d07585
Support channels with maximum size
2024-08-11 15:04:22 -04:00
2ecb5fe885
Add channels and threads
2024-08-11 14:47:34 -04:00
6d3d104363
Overhaul of operator metamethods
2024-08-10 20:50:15 -04:00
b37bd70b60
For tables, deprecate support for square bracket indexing and .default
...
values, replacing them with a `:bump()` function for tables with numeric
values. This means that counters can be implemented easily without the
need to mask complexity.
2024-08-10 16:03:41 -04:00
8d3d591312
Add Sets to the language
2024-08-10 15:15:38 -04:00
cb6cebf12e
Add test for iterators
2024-08-10 14:52:53 -04:00
416300287f
Add test for ranges
2024-08-10 14:52:42 -04:00
f78cd6357a
Change table removal function to use values instead of references
2024-08-08 13:20:38 -04:00
279cd23143
Micro optimization for iterating over array ranges
2024-07-20 17:13:15 -04:00
fb95bbb1d4
Deprecate array:pairs() and switch iterator functions to use enums
2024-07-20 16:45:13 -04:00
d3f14cf53c
Support nested lambda closures
2024-07-14 14:13:23 -04:00
f64aaf5960
Add array:pairs()
2024-07-13 18:05:14 -04:00
068d0e8563
Add array:to() to split out functionality of array:from()
2024-07-10 13:42:58 -04:00
10e86153a2
Replace array:slice() with array:from(first, last) and array:by(step)
2024-07-10 13:34:45 -04:00
e51e6f840c
Tweak syntax for debug prints
2024-07-05 01:55:02 -04:00
2c89f3385f
Fixes for defer statements in lambdas
2024-07-04 18:09:33 -04:00
6a105fbd80
Add 'defer'
2024-07-04 18:00:01 -04:00
9d9fe12987
Add !!
statement for printing text
2024-07-04 16:23:05 -04:00
38622ccbec
Change metamethod names
2024-07-04 13:40:09 -04:00
22063462a9
Add __length and __negative metamethods
2024-07-04 13:37:23 -04:00
ba66a51a9e
Add multiline string literal test
2024-07-01 13:09:26 -04:00
7dc8189266
Add test for optionals
2024-07-01 12:30:22 -04:00
37a7beb28f
Add test for metamethods
2024-07-01 12:30:07 -04:00
ed935eb882
Fix array_lvalue
2024-06-18 01:32:44 -04:00
f5dc37c86c
Add test for array member assignment
2024-06-18 01:31:23 -04:00
7e261bea9b
Fix 'use' test to use 'import' instead
2024-06-17 17:33:32 -04:00
bf3cdc3dfa
Refine the parsing of blocks so it's always ':' [inline-block] [indent indented-block]
2024-05-23 13:09:59 -04:00
fba2b99b65
Support 'while when'
2024-05-23 12:40:21 -04:00
5b1960859f
Hook up Text.has(), Text.trimmed(), Text.without()
2024-05-20 15:19:31 -04:00
1924f75647
Support corecursive structs
2024-05-14 13:30:46 -04:00
c2daf6a928
Clean up 'when' syntax
2024-05-01 13:53:51 -04:00
2e27b88c1b
Improved syntax for optionals
2024-04-30 13:18:47 -04:00
3c0a8f0b89
Syntax tweak: use ':' for blocks
2024-04-28 14:58:55 -04:00
6308325252
Add constructor/casting for ints and nums
2024-04-23 13:12:49 -04:00
5fd85d7e0b
Add Num.mix()
2024-04-22 14:49:36 -04:00
3590bf3407
Better imports for types
2024-04-21 14:58:33 -04:00
3b0dce04a0
Add heapify(), heap_push(), and heap_pop()
2024-04-19 13:29:04 -04:00
63e6ba596a
Change table syntax to {key:value} instead of {key=>value}
2024-04-13 13:39:44 -04:00
6c01eef851
Introducing the main() function
2024-04-12 13:09:31 -04:00
0f9c1f4eb4
Add corecursive func test
2024-04-10 11:53:18 -04:00
bec67efb11
Add test for array:sample()
2024-04-02 23:41:26 -04:00
95100469b6
Add array:sorted()
2024-04-02 13:13:33 -04:00
c73e96ff91
Add comparison operator <> and array method to sort by a custom
...
comparison function
2024-04-02 13:08:06 -04:00
d94053ca77
Add array:reversed()
2024-03-26 14:59:52 -04:00