Commit Graph

515 Commits

Author SHA1 Message Date
imaqtkatt
5a5c52c212 Reenable io tests and modify write_file function 2024-08-08 15:23:54 -03:00
Kunal Singh
305c944619 update test snapshorts 2024-08-08 19:38:33 +05:30
Kunal Singh
c1859879a5 fix: decoupled bend lib and cli 2024-08-07 23:06:02 +05:30
Gabriel Vérité
5ad9c72b7f Adds builtin functions Tree/reverse and Tree/to_list 2024-08-07 16:43:59 +02:00
imaqtkatt
96d84d5257 Skip underscore in fraction indexes 2024-08-05 08:57:18 -03:00
imaqtkatt
dcc3642ab1 Change parse_number and fix float interpretation 2024-08-02 17:44:32 -03:00
imaqtkatt
c8383d112b Add test with mismatched ask branches 2024-08-01 15:44:11 -03:00
imaqtkatt
7f7846134e Allow branches to end with ask statement 2024-08-01 09:57:02 -03:00
imaqtkatt
37290f661b Substitute imported type names 2024-07-30 18:37:50 -03:00
imaqtkatt
646011ee0d Improve pattern parsing and rule parsing error messages 2024-07-26 12:05:45 -03:00
imaqtkatt
360b0446e6 Update error messages and test snapshots 2024-07-25 17:06:33 -03:00
imaqtkatt
676d4ca732 Improve error messages of branching cases 2024-07-24 17:18:05 -03:00
Nicolas Abril
87cef6054d Expand references in main inside constructors 2024-07-24 17:04:19 +02:00
Nicolas Abril
435d3ca143 Expand float_combinators defs inside main 2024-07-24 17:04:19 +02:00
imaqtkatt
b53568a620
Merge pull request #637 from HigherOrderCO/554-tuples-should-be-defined-by-commaslike-python-not-by-parentheses
#554 tuples should be defined by commas like python not by parentheses
2024-07-22 17:04:26 +00:00
imaqtkatt
61af9c1102 Add tuple assign test 2024-07-22 10:41:03 -03:00
Nicolas Abril
d8d728a31d Add dylib functions, improve the builtins file a bit 2024-07-22 11:11:12 +02:00
imaqtkatt
cd1dbbe001 Tuple expressions to be defined by commas 2024-07-19 17:25:04 -03:00
bhavik-goplani
6380803dae Changed run as an alias to run-c 2024-07-12 15:54:02 -05:00
imaqtkatt
2f8062bc5f Add cli test for input file not found 2024-07-10 22:07:19 -03:00
imaqtkatt
fda44b8910 #623 Desugar local defs properly 2024-07-08 17:26:34 -03:00
imaqtkatt
f288ae7f12 Add multi line comment syntax 2024-07-08 13:30:02 -03:00
LunaAmora
53ca86848d Fix entry point reimports to give an error 2024-07-05 10:23:52 -03:00
LunaAmora
4814742247 Improve imports when a path is both a file and a directory 2024-07-05 10:23:34 -03:00
LunaAmora
7ae5886eed Add some imports tests 2024-07-05 10:22:45 -03:00
LunaAmora
7c3c919fe8 Limit adt tag defs be generated or builtin 2024-07-05 10:22:45 -03:00
LunaAmora
ba2c66f29a Add basic import support 2024-07-05 10:22:45 -03:00
Eduardo Sandalo Porto
a2b75ffa3f
Merge pull request #618 from HigherOrderCO/fix-redundant-match
Fix bugs with the irrefutable case optimization
2024-07-05 13:17:13 +00:00
Eduardo Sandalo Porto
4e0823a015 Fix bugs with the irrefutable case optimization 2024-07-04 16:22:34 -03:00
imaqtkatt
659d0941b5 Add asin, acos, atan and round functions 2024-07-04 16:03:48 -03:00
imaqtkatt
24a72e4465 Add missing test snapshot 2024-07-04 14:35:01 -03:00
imaqtkatt
346d2fb8c0 Don't allow repeated field names 2024-07-03 11:45:55 -03:00
imaqtkatt
842891cbf4 Add missing error message 2024-07-02 09:14:02 -03:00
imaqtkatt
d3cce02500 Implement 'def' term 2024-07-01 18:21:49 -03:00
imaqtkatt
cf6af170b5 Fix inner definitions as closures 2024-06-28 12:26:39 -03:00
imaqtkatt
0cd4386f32 Reorder local defs lifting 2024-06-28 11:08:03 -03:00
imaqtkatt
1785b392fe Add local def statement 2024-06-27 15:23:38 -03:00
imaqtkatt
94bff60775 Add test with unscoped pattern on definition rule 2024-06-25 18:10:26 -03:00
imaqtkatt
c23952f443 Implement fast pred access function 2024-06-24 12:45:15 -03:00
imaqtkatt
8694b79500 Add elif chain to functional syntax 2024-06-20 16:12:49 -03:00
imaqtkatt
cc60c926a8 Add utf8 and ascii encoding functions 2024-06-18 18:41:33 -03:00
imaqtkatt
ec67e3f6be Add full_map test 2024-06-17 12:29:51 -03:00
imaqtkatt
3073285e36 Call desugar_use before linearize matches 2024-06-17 11:40:55 -03:00
Nicolas Abril
ba8561c3d4 Add native number cast operations 2024-06-17 15:45:37 +02:00
Nicolas Abril
be7b8d3cad Fix parsing of hvm defs 2024-06-15 18:57:36 +02:00
Nicolas Abril
d6bdde548e Add raw hvm function syntax 2024-06-15 17:22:55 +02:00
imaqtkatt
f8811850a7 Update num ops test 2024-06-13 10:39:07 -03:00
imaqtkatt
168892ddb7 Don't allow tabs 2024-06-10 10:04:09 -03:00
imaqtkatt
3a023c6928 Update builtins.rs and redefinition error messages for types and objects 2024-06-07 18:57:45 -03:00
imaqtkatt
0d2d2bb01e Improve function redefinition error message 2024-06-07 17:25:23 -03:00