Commit graph

1077 commits

Author SHA1 Message Date
Folkert
db0bed2fe7 mostly fix issues with patterns/guards/switch/cond 2020-08-06 01:09:42 +02:00
Folkert
dab00f2e2d add Alias expression 2020-08-05 22:45:25 +02:00
Folkert
c18bbe9a63 join points with arguments 2020-08-05 22:33:07 +02:00
Folkert
b22fa7c9cd gen empty list correctly 2020-08-05 16:48:06 +02:00
Folkert
34f6417fae implement list literals 2020-08-05 16:27:49 +02:00
Folkert
4e55a4bf92 more pattern matching fidling 2020-08-05 16:10:45 +02:00
Folkert
8c79b88697 things are working again 2020-08-04 01:28:40 +02:00
Folkert
6ce02b5727 wip working on function calls 2020-08-03 23:16:46 +02:00
Folkert
cccfeb51f2 simple when is working 2020-08-03 20:10:41 +02:00
Folkert
2a0b010a74 make Tag arguments into symbols 2020-08-01 23:39:11 +02:00
Folkert
a8bfd90a50 introduce Inc 2020-08-01 22:58:29 +02:00
Folkert
5548bf136d conditionally leak memory 2020-08-01 21:37:54 +02:00
Folkert
5d22b6a9cf ensure list elements are aligned 2020-08-01 17:38:59 +02:00
Folkert
f48a661b3d fixing tests 2020-07-31 00:49:16 +02:00
Folkert
01f9539d8e clipping clippings 2020-07-31 00:05:47 +02:00
Folkert
f15a50d3fa implement inc and dec for lists 2020-07-31 00:02:36 +02:00
Folkert
4a937b5cc2 allocate lists with a capacity/refcount field at index -1 2020-07-30 14:32:59 +02:00
Folkert
22471167d3 introduce Ownership to list layout 2020-07-30 13:42:47 +02:00
Folkert
d784f62cd3 cleanup 2020-07-30 13:31:50 +02:00
Folkert
eb793b2b44 write more tests for reset/reuse 2020-07-28 01:13:49 +02:00
Folkert
95365959f2 insert reset/reuse for Cond 2020-07-27 15:10:07 +02:00
Folkert
edca61e2d6 improve reset/reuse insertion 2020-07-27 01:24:56 +02:00
Folkert
c85cee3bc0 compiling again 2020-07-26 23:20:41 +02:00
Folkert
b716636db0 insert inc and dec instructions 2020-07-26 16:36:35 +02:00
Richard Feldman
a4b0bdc679 Fix parsing bug in accessor functions
(They weren't advancing the state by 1, because the state
advancement was relying on part_buf - which was empty
in the case of accessor functions due to having only parsed
the dot so far.)
2020-07-23 21:37:03 -04:00
Richard Feldman
db3dbe3551 Reproduce parse bug 2020-07-23 21:36:49 -04:00
Richard Feldman
ce9e95f985
Merge branch 'trunk' into update-builtins-readme 2020-07-22 22:08:48 -04:00
Chadtech
3e48ddfb59
Merge branch 'trunk' into update-builtins-readme 2020-07-22 20:44:55 -04:00
Chad Stearns
1757b5c89a Improve some language, delete an old section, and correct some of builtins/readme 2020-07-22 20:37:21 -04:00
Richard Feldman
e439fe4936
Merge branch 'trunk' into optional-fields-touchups 2020-07-22 20:30:31 -04:00
Chad Stearns
fe48ff323b Updated builtins readme to include information about LowLevel 2020-07-22 20:02:57 -04:00
Richard Feldman
c90f2fd328 Improve error message in test_load 2020-07-22 19:54:11 -04:00
Richard Feldman
2af9854b24 Fix List.append off-by-one bug 2020-07-22 19:38:33 -04:00
Richard Feldman
2ef37adc74 Add some more List.append tests 2020-07-22 19:38:15 -04:00
Richard Feldman
40f4cd9835 cargo fmt 2020-07-22 19:37:58 -04:00
Richard Feldman
dd6973d75e Use builtin defs in modules 2020-07-22 19:34:34 -04:00
Richard Feldman
2465c204e3 Restore CLI 2020-07-22 19:33:36 -04:00
Richard Feldman
a58ef99518 Count default exprs as having used things 2020-07-22 19:33:36 -04:00
Richard Feldman
edd1a42bec Reproduce unused optional fields bug 2020-07-22 19:33:36 -04:00
Folkert
02675d613b improved error messages for function definitions 2020-07-22 19:33:36 -04:00
Folkert
d01f74330e add reporting error message tests 2020-07-22 19:33:36 -04:00
Folkert
fa893d58eb add usage test 2020-07-22 19:33:36 -04:00
Folkert
3fdcdf0da9 remove some dead code 2020-07-22 19:33:36 -04:00
Folkert
ee42df0e7d add optional defaults to usage analysis 2020-07-22 19:33:36 -04:00
Folkert
7bf545a757 constraint default unique 2020-07-22 19:33:36 -04:00
Folkert
1f55355ee0 constrain the default 2020-07-22 19:33:36 -04:00
Folkert
d779e68773 parse default optional expressions in pattern matches 2020-07-22 19:33:36 -04:00
Richard Feldman
6d40de7430 Revise List docs some more 2020-07-22 19:33:36 -04:00
Richard Feldman
743768d82a Change the type of List.mapOrCancel 2020-07-22 19:33:36 -04:00
Richard Feldman
12fb1ed7e9 Update List docs some more 2020-07-22 19:33:36 -04:00