Commit Graph

583 Commits

Author SHA1 Message Date
imaqtkatt
c39a7614e3 Add hvm ast and transformations 2024-05-21 12:53:56 -03:00
Nicolas Abril
f4620bc3f6 Add SHL and SHR 2024-05-21 17:32:13 +02:00
Nicolas Abril
3e9b3c4083 Adapt Bend to new hvm number operation format 2024-05-21 16:23:40 +02:00
Nicolas Abril
e81f990208 Make rules necessarily be in a single block 2024-05-21 09:39:43 +02:00
Nicolas Abril
0e26732c4e Disable check-net-size by default 2024-05-20 17:12:08 +02:00
Nicolas Abril
d62b73ce83 [sc-663] Update tests for rebase 2024-05-20 14:50:49 +02:00
Nicolas Abril
f7a238c58a [sc-663] Add num-scott adt encoding, it a cli opt 2024-05-20 14:47:50 +02:00
imaqtkatt
8d8192127c Update test snapshot 2024-05-20 09:25:10 -03:00
imaqtkatt
e0d1df39e8 Update test snapshot 2024-05-20 09:17:22 -03:00
imaqtkatt
33756cbd3a Fix comma in superposition parsing 2024-05-20 09:15:58 -03:00
Nicolas Abril
22477b1807 Explain dependencies, add to FAQ, improve readback err msg 2024-05-19 14:37:54 +02:00
Nicolas Abril
076415d9ab Increase max net size and make the check optional 2024-05-19 00:29:37 +02:00
Nicolas Abril
1585d2d5bc [sc-699] Require , in list-like things in imp syntax 2024-05-17 18:11:07 +02:00
Nicolas Abril
7043f93293 [sc-697] Update documentation, add use stmts, fix list parser 2024-05-17 12:54:25 +02:00
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