Commit Graph

569 Commits

Author SHA1 Message Date
Nicolas Abril
100cc90aee [sc-692] Add simple readback of tuples 2024-05-17 02:12:50 +02:00
Nicolas Abril
faa6bdb9fc [sc-694] Replace 'go' with 'fork' in 'bend' 2024-05-16 18:14:30 +02:00
Nicolas Abril
08480c40e1 Fix parsing of empty switch 2024-05-16 13:47:28 +02:00
Nicolas Abril
f724bbf541 Add list resugaring on readback 2024-05-15 22:07:58 +02:00
Nicolas Abril
5b4524e4a7 Change comments to # 2024-05-15 21:26:16 +02:00
Nicolas Abril
36cb14e7fd
Merge pull request #312 from HigherOrderCO/feature/sc-690/update-lambda-and-constructor-names
[sc-690] Update lambda and constructor names
2024-05-15 20:44:39 +02:00
imaqtkatt
372ae8a384 Update lambda syntax and built-in constructor names 2024-05-15 15:23:26 -03:00
Nicolas Abril
f8b3787121 [sc-689] Make fold with require explicit state passing 2024-05-15 19:40:12 +02:00
Nicolas Abril
2f7ae6c276 [sc-688] Add string resugaring of readback term 2024-05-15 19:00:20 +02:00
Nicolas Abril
a763052c11 [sc-686] Add record types and record type destructuring 2024-05-15 17:53:50 +02:00
imaqtkatt
d194890495 Fix wrong unbound definitions 2024-05-15 10:42:16 -03:00
imaqtkatt
6b1a5ef9f4 Add eraser expression 2024-05-15 09:33:16 -03:00
Nicolas Abril
3a6c746fd6 [sc-684] Disable forwarding of free vars in ask terms 2024-05-15 12:29:14 +02:00
Nicolas Abril
4f45f392f5 Fix number parsing in imp, require \n after return 2024-05-15 09:13:50 +02:00
Nicolas Abril
0ec0ecd661 Add priority on all multiply recursive calls 2024-05-15 00:57:57 +02:00
Nicolas Abril
e1dd23d96c Update tests to use .bend extension, fix test uite 2024-05-15 00:25:46 +02:00
Nicolas Abril
46ec41141e Merge remote-tracking branch 'origin/main' into feature/sc-678/add-run-c-and-run-cuda-commands-to-bend 2024-05-14 23:38:28 +02:00
Nicolas Abril
f8cfd5bebd [sc-682] Allow branching statements to end with assignment 2024-05-14 23:36:43 +02:00
imaqtkatt
b0fd7a7f71 Add run c and run cuda commands 2024-05-14 17:03:37 -03:00
Nicolas Abril
c1a9bf2e41 [sc-682] Make the imp parser indentation based 2024-05-14 17:42:41 +02:00
imaqtkatt
1aaa5ad7be Update tests 2024-05-14 09:33:16 -03:00
imaqtkatt
02b6baaa71 Add unscoped lambdas and improve patterns 2024-05-14 09:00:56 -03:00
Nicolas Abril
b223e34893 [sc-681] Add monadic ask mixed with other terms, complete do syntax in imp 2024-05-13 17:23:20 +02:00
imaqtkatt
204024500c Re add old constructor syntax, adjust cases and lambdas 2024-05-11 15:53:17 -03:00
Nicolas Abril
26e79255bc [sc-669] Allow both syntaxes at the same time 2024-05-11 19:18:24 +02:00
imaqtkatt
89d9728351 Update tests 2024-05-10 17:39:06 -03:00
imaqtkatt
6948e1b3fb Constructors inherit type name 2024-05-10 17:31:16 -03:00
Nicolas Abril
2f8a12bceb [sc-670] Add priority redexes and order dups correctly in compilation 2024-05-10 21:08:29 +02:00
Nicolas Abril
b5e89aa129 [sc-667] Switch to new syntax by default 2024-05-10 13:23:09 +02:00
Nicolas Abril
c67f688a84 Improve mutual recursion err msg and add some colors 2024-05-09 18:32:30 +02:00
Nicolas Abril
da4e2511ce [sc-662] Add fold and bend to bend syntax 2024-05-09 17:42:35 +02:00
Nicolas Abril
1572e123cd [sc-662] Add 'fold' logic and core syntax 2024-05-08 21:16:50 +02:00
Nicolas Abril
7d140ab0bd [sc-662] Reorganize and rename modules 2024-05-08 14:07:36 +02:00
imaqtkatt
16fcf89798 Add inference for do notation 2024-05-07 17:07:00 -03:00
Nicolas Abril
cf680f559d [sc-630] Rename the crate to bend and update docs for it 2024-05-07 21:58:06 +02:00
Nicolas Abril
03fcf344f1 [sc-548] Add support for i24 and f24 2024-05-06 14:36:54 +02:00
Nicolas Abril
1313a73aa1 [sc-653] Reorder compiled redexes recursive last 2024-05-02 16:55:26 +02:00
Nicolas Abril
334ad80eee [sc-654] Fix linearize binds before match 2024-05-01 19:09:15 +02:00
Nicolas Abril
cad606671a Improve some error messages, add radixsort example 2024-05-01 16:56:22 +02:00
Nicolas Abril
79e1ee6bad [sc-629] Fix parsing of keywords 2024-04-29 20:49:20 +02:00
Nicolas Abril
1c124e9a83 [sc-609] Update for fixed version of TSPL 2024-04-29 20:31:42 +02:00
Nicolas Abril
c8ce05520a Update tests for hvm32 2024-04-26 22:38:20 +02:00
Nicolas Abril
2cba162ded Update for new hvm32 number syntax 2024-04-24 22:17:49 +02:00
Nicolas Abril
7c9557127f Update for op2 fix 2024-04-22 21:18:52 +02:00
Nicolas Abril
3a80ac0d96 [sc-627] Initial update for hvm32 2024-04-22 19:03:56 +02:00
Nicolas Abril
5e1120c107 [sc-623] Fix eta-reducible match linearization 2024-04-22 13:20:47 +02:00
imaqtkatt
983713f2b5 Implement monadic bind syntax 2024-04-19 13:39:15 -03:00
tjjfvi
87bda56a4d
add tests for vicious circles 2024-04-18 11:45:33 -04:00
tjjfvi
807bf5c826
update tests 2024-04-18 11:45:31 -04:00
tjjfvi
37fe1116d6
re-add test for unused let 2024-04-18 08:59:30 -04:00