Commit Graph

1066 Commits

Author SHA1 Message Date
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
Richard Feldman
190b9790ca Add initial List.roc 2020-07-22 19:33:36 -04:00
Richard Feldman
e8a50a0e4c Update some Num docs 2020-07-22 19:33:36 -04:00
Richard Feldman
ece8480195 Drop obsolete Arr.roc 2020-07-22 19:33:36 -04:00
Richard Feldman
bcb67b0dea Appease clippy 2020-07-22 19:33:36 -04:00
Richard Feldman
fddc7f31db Fix an annotation formatting regression 2020-07-22 19:33:36 -04:00
Richard Feldman
62290b5cc2 Reporting for optional fields 2020-07-22 19:33:36 -04:00
Richard Feldman
2f50c0494b Monomorphize optional fields 2020-07-22 19:33:36 -04:00
Richard Feldman
28a2f9656e Constrain optional fields 2020-07-22 19:33:36 -04:00
Richard Feldman
872f4b3541 Add some solving tests for optional fields 2020-07-22 19:33:36 -04:00
Richard Feldman
fdceedda00 Fix unifying optional fields 2020-07-22 19:33:36 -04:00
Richard Feldman
49e66491ad Fix a parse test 2020-07-22 19:33:36 -04:00