Commit Graph

53 Commits

Author SHA1 Message Date
Ikko Eltociear Ashimine
e44f68ba8c
chore: update list.bend
occurence -> occurrence
2024-06-27 02:57:53 +09:00
Nicolas Abril
ea56af9048 Add file IO utils 2024-06-21 20:19:43 +02:00
Nicolas Abril
c97e47107d
Merge pull request #546 from HigherOrderCO/528-add-syntax-for-a-builtin-tree-type
528 Add syntax for a builtin Tree type
2024-06-05 16:02:05 +00:00
Nicolas Abril
2efc8fcb37
Merge pull request #454 from ematth/main
List Function Examples
2024-06-05 14:19:32 +00:00
Nicolas Abril
b4bf3dede2 Add Tree syntax and builtins 2024-06-05 16:00:43 +02:00
Evan M. Matthews
8d5c768fc3
Delete graphs from commit
Whoops, that's not supposed to be committed yet.
2024-05-29 15:55:12 -04:00
evanmm3
720e748d25 fixed List/pop_front, added List/head 2024-05-29 14:21:55 -05:00
Evan M. Matthews
7955dd9ce1
Update List/append with stored value i-1
Co-authored-by: Nicolas Abril <y906846m@anonaddy.me>
2024-05-29 12:30:33 -04:00
Evan M. Matthews
3324a53880
Update List/pop_back
Co-authored-by: Nicolas Abril <y906846m@anonaddy.me>
2024-05-29 12:29:51 -04:00
Nicolas Abril
01a3337d49 Use the HVM AST instead of an internal one 2024-05-25 19:03:13 +02:00
evanmm3
7fd6b153a2 fix for List/count, added List/sum 2024-05-24 15:28:38 -05:00
Le Michel
431f9eeb2f
Fixed typo in examples/parallel_and.bend 2024-05-23 18:52:54 +02:00
evanmm3
62a39906da simplified logic for List/count 2024-05-22 17:06:29 -05:00
evanmm3
b41a88df7b fixed List/len func 2024-05-22 17:00:52 -05:00
Evan M. Matthews
475138a596
Update examples/list.bend
Co-authored-by: Nicolas Abril <y906846m@anonaddy.me>
2024-05-22 17:40:50 -04:00
Evan M. Matthews
3cfddb929f
Update examples/list.bend
Co-authored-by: Nicolas Abril <y906846m@anonaddy.me>
2024-05-22 17:40:34 -04:00
evanmm3
6b280423cd list function examples 2024-05-22 16:15:39 -05:00
Nicolas Abril
5c811da531 Update docs, examples, fix scope of fork 2024-05-22 19:48:53 +02:00
Sergio Bonatto
658a279e77 Update example.bend 2024-05-22 19:48:38 +02:00
Sergio Bonatto
b44e4cf402 change the examples to the pythonish syntax 2024-05-22 19:48:38 +02:00
imaqtkatt
97f7a40907 Use the same keyword 'type' for adt definitions 2024-05-22 11:51:35 -03:00
Victor Taelin
8d403048a6 fix bitonic sort 2024-05-19 16:33:17 -03:00
Ikko Eltociear Ashimine
730de25f9e
Update example.bend
minor fix
2024-05-18 02:39:50 +09:00
Nicolas Abril
1585d2d5bc [sc-699] Require , in list-like things in imp syntax 2024-05-17 18:11:07 +02:00
Nicolas Abril
faa6bdb9fc [sc-694] Replace 'go' with 'fork' in 'bend' 2024-05-16 18:14:30 +02:00
Nicolas Abril
5b4524e4a7 Change comments to # 2024-05-15 21:26:16 +02:00
imaqtkatt
372ae8a384 Update lambda syntax and built-in constructor names 2024-05-15 15:23:26 -03:00
Nicolas Abril
a763052c11 [sc-686] Add record types and record type destructuring 2024-05-15 17:53:50 +02:00
Nicolas Abril
4f45f392f5 Fix number parsing in imp, require \n after return 2024-05-15 09:13:50 +02:00
Victor Taelin
12ecbf8492 updates 2024-05-15 00:53:58 -03:00
Victor Taelin
3ac46e839e fix typo 2024-05-14 23:41:51 -03: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
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
912e1ae01a Update examples 2024-05-10 17:31:16 -03:00
Nicolas Abril
b5e89aa129 [sc-667] Switch to new syntax by default 2024-05-10 13:23:09 +02:00
Nicolas Abril
1572e123cd [sc-662] Add 'fold' logic and core syntax 2024-05-08 21:16:50 +02:00
Nicolas Abril
03fcf344f1 [sc-548] Add support for i24 and f24 2024-05-06 14:36:54 +02:00
Nicolas Abril
cad606671a Improve some error messages, add radixsort example 2024-05-01 16:56:22 +02:00
Nicolas Abril
f948c6106e Update docs and examples for hvm32 2024-04-26 22:35:42 +02:00
Nicolas Abril
2cba162ded Update for new hvm32 number syntax 2024-04-24 22:17:49 +02:00
imaqtkatt
a0ccd7eb26 Add more examples 2024-04-11 14:17:46 -03:00
Nicolas Abril
9db85265c4 [sc-501] Use TSPL for the parser 2024-04-10 20:33:47 +02:00
imaqtkatt
10559b6df7 Change examples test to read from examples directory 2024-04-09 20:24:25 -03:00
Nicolas Abril
3ed0a0ebd1 [sc-513] Update docs for match with 2024-04-03 20:47:47 +02:00
imaqtkatt
a0dbd04791 Improve docs and update examples with new match syntax 2024-02-27 17:47:20 -03:00
FranchuFranchu
26f4e6556e Clarify fusing functions documentation [sc-394] and add explanation on removing duplication. 2024-01-24 08:24:07 -03:00
FranchuFranchu
fecfff0622 Merge branch 'master' into improve-docs 2024-01-11 15:51:11 -03:00
FranchuFranchu
1dc237f203 Add "fusing functions" tutorial. 2024-01-11 15:32:41 -03:00