Commit Graph

1962 Commits

Author SHA1 Message Date
LunaAmora
21fe38e8be Add support for hvm_defs in the import system
Improve documentation
2024-07-05 10:22:45 -03:00
LunaAmora
66796e8225 Add more import system documentation 2024-07-05 10:22:45 -03:00
LunaAmora
74e53eb3e1 Split import into multiple files 2024-07-05 10:22:45 -03:00
LunaAmora
2cc9e97453 Fix 'free_vars' to be deterministic
Makes 'bend' desugar with imported types deterministic
2024-07-05 10:22:45 -03:00
LunaAmora
3b91b0b72a Normalize import paths, update absolute path folder 2024-07-05 10:22:45 -03:00
LunaAmora
5666077879 Update import syntax to be python-like 2024-07-05 10:22:45 -03:00
LunaAmora
a769cc7b4f Add Import of full package namespace, aliased to 'mod/name' 2024-07-05 10:22:45 -03:00
LunaAmora
ddc987fb44 Fix relative imports in same folder 2024-07-05 10:22:45 -03:00
LunaAmora
7ae5886eed Add some imports tests 2024-07-05 10:22:45 -03:00
LunaAmora
d1072da0a9 Fix import order dependent bugs 2024-07-05 10:22:45 -03:00
LunaAmora
92c75d7322 Fix backticks in imports error messages 2024-07-05 10:22:45 -03:00
LunaAmora
9073c6dcae Fix add_imported_adt error reporting 2024-07-05 10:22:45 -03:00
LunaAmora
84033a76a7 Fix imported names conflict error messages 2024-07-05 10:22:45 -03:00
LunaAmora
3ac966cf8c Improve errors on conflits of imported names 2024-07-05 10:22:45 -03:00
LunaAmora
234ebdbe98 Add import aliases 2024-07-05 10:22:45 -03:00
LunaAmora
dedfe42e38 Add glob imports 2024-07-05 10:22:45 -03:00
LunaAmora
1d4a2a568a Check for import name collision, fix import shadowing 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
d17ccc0544 Make imports relative to the file it is declared 2024-07-05 10:22:45 -03:00
LunaAmora
9f9b8d7ce1 Fix typo 2024-07-05 10:22:45 -03:00
LunaAmora
9c483c4be0 Add diagnostic config to allow for missing main definitions 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
34395d42a1 Update changelog 2024-07-05 10:14:53 -03:00
imaqtkatt
9dface6d6c
Merge pull request #616 from HigherOrderCO/570-trigonometry-and-math-functions
#570 trigonometry and math functions
2024-07-05 12:18:59 +00:00
imaqtkatt
4d54d3e8f2 Update changelog 2024-07-05 09:16:42 -03:00
Eduardo Sandalo Porto
81e5dc426a
Slightly improve explanation comment 2024-07-04 18:36:48 -03:00
Eduardo Sandalo Porto
91ceca04c9 Run cargo fmt 2024-07-04 16:30:11 -03: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
e0642c239b Add run math test 2024-07-04 14:30:28 -03:00
imaqtkatt
19dad2ee94 Refactor to 'Math' namespace 2024-07-04 14:06:14 -03:00
imaqtkatt
cdb4fd201c Add trigonometry functions 2024-07-04 11:51:44 -03:00
Nicolas Abril
978162739f Bump version to 0.2.36 2024-07-04 14:24:20 +02:00
imaqtkatt
4b0bdf506c
Merge pull request #614 from HigherOrderCO/dont-allow-repeated-field-names
Dont allow repeated field names
2024-07-03 19:22:58 +00:00
imaqtkatt
a310138a70 Update changelog 2024-07-03 14:13:27 -03:00
imaqtkatt
37a7a0f2e1 Change to use index structures 2024-07-03 11:55:13 -03:00
imaqtkatt
b5721e48e2 Adjust trait implementation 2024-07-03 11:49:29 -03:00
imaqtkatt
346d2fb8c0 Don't allow repeated field names 2024-07-03 11:45:55 -03:00
Nicolas Abril
2cb3d9c5c0
Merge pull request #612 from HigherOrderCO/implement-local-defs-for-fun-syntax
Implement local defs for fun syntax
2024-07-02 15:19:20 +00:00
Nicolas Abril
e49fd840ba
fix spelling of "backtrack" 2024-07-02 17:17:26 +02:00
imaqtkatt
8ad65d7f6a Rename module and add comments 2024-07-02 12:12:12 -03:00
imaqtkatt
842891cbf4 Add missing error message 2024-07-02 09:14:02 -03:00
Nicolas Abril
65c569be34
Merge pull request #611 from HigherOrderCO/fix-statement-description
Fix grammar description of a few statements
2024-07-02 11:23:29 +00:00
imaqtkatt
65065e9038 Update docs and fix recursion in local definitions 2024-07-01 18:39:39 -03:00
imaqtkatt
d3cce02500 Implement 'def' term 2024-07-01 18:21:49 -03:00
Eduardo Sandalo Porto
b2d62efed7 Fix grammar description of a few statements 2024-07-01 17:52:33 -03:00
Nicolas Abril
82afbc0d89
Merge pull request #609 from HigherOrderCO/562-local-functions-in-imp-syntax
#562 Local functions in imp syntax
2024-06-28 15:43:14 +00:00
imaqtkatt
cf6af170b5 Fix inner definitions as closures 2024-06-28 12:26:39 -03:00