Commit Graph

40 Commits

Author SHA1 Message Date
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
f3fc7558bb Deprecate 'array ++= item' syntax 2024-11-30 15:34:35 -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
145a078387 Make the compiler stricter about not promoting local value variables to
pointers
2024-11-09 17:26:01 -05:00
d0ebb66b30 Fix up test to use RNGs 2024-11-03 22:39:46 -05:00
7ccb7a8a9b Use an RNG parameter for array:random(), array:shuffle(),
array:shuffled()
2024-11-03 16:10:03 -05:00
6b9055db7c Deprecate readonly pointers for now 2024-10-04 13:21:56 -04:00
23209a0aab Use optional ints in the array find()/first() API 2024-09-11 01:39:19 -04:00
7126755275 Add optional types 2024-09-11 01:31:31 -04:00
64143f0a13 Syntax overhaul (comments back to #, print statments to !!),
using `$/.../` for patterns and using a DSL for patterns
2024-09-03 13:19:41 -04:00
3c4f477b84 Bugfix some copy-on-write cases for when pointers are automatically
derefenced for method calls
2024-08-20 16:20:41 -04:00
7472837ee5 Add array:first(predicate:func(x:&T)->Bool)->@%T? 2024-08-18 22:28:04 -04:00
967b649da2 Deprecate # operator in favor of .length and fix up some issues 2024-08-18 20:39:57 -04:00
f4b04a1b8c Improved syntax for dollar-string literals 2024-08-18 14:44:15 -04:00
ce6f312c94 Add binary search test 2024-08-15 14:01:36 -04:00
d08f795794 Partially working first draft of bigints 2024-08-13 01:30:25 -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
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
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
bf3cdc3dfa Refine the parsing of blocks so it's always ':' [inline-block] [indent indented-block] 2024-05-23 13:09:59 -04:00
3c0a8f0b89 Syntax tweak: use ':' for blocks 2024-04-28 14:58:55 -04:00
3b0dce04a0 Add heapify(), heap_push(), and heap_pop() 2024-04-19 13:29:04 -04:00
6c01eef851 Introducing the main() function 2024-04-12 13:09:31 -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
ccba8abf73 Add tests for nested comprehensions 2024-03-17 15:28:46 -04:00
5c2bb00baf Add conditional loop comprehension 2024-03-17 12:50:17 -04:00
341087026c More array tests 2024-03-17 12:49:28 -04:00
8847eaa660 Bugfix for looping 2024-03-14 02:44:37 -04:00
06549741aa Tweaking array tests 2024-03-07 12:21:39 -05:00
4fc026a727 Add tests for '#' on collections 2024-02-25 14:38:04 -05:00
65f684fb6a Rename file extensions 2024-02-24 16:07:52 -05:00