Commit Graph

1073 Commits

Author SHA1 Message Date
LunaAmora
7dc78cac6f Remove Missing Parenthesis parser error 2024-02-16 10:06:50 -03:00
LunaAmora
0776b48781 Revert to using soft_keyword instead of Token::Data 2024-02-16 09:29:03 -03:00
LunaAmora
b6d44db080 Rename some vars names 2024-02-15 14:51:19 -03:00
LunaAmora
cfd6e10888 Parser adjustments to accept Data as non-top-level names 2024-02-15 14:48:02 -03:00
LunaAmora
c56693eb23 Fix some parser error diagnostics 2024-02-15 11:54:38 -03:00
imaqtkatt
6da9d75640
Merge pull request #192 from HigherOrderCO/bug/sc-444/is-not-accepted-as-variable-name
[sc-444] - _ is not accepted as variable name
2024-02-14 10:37:23 -03:00
imaqtkatt
a9d1d22f3b Add id_undescore test 2024-02-14 08:37:02 -03:00
imaqtkatt
727ad370c9 Fix nam token priority 2024-02-14 08:22:58 -03:00
Nicolas Abril
4fc2dbcae3 Avoid using IndexMap remove_shift 2024-02-13 16:09:33 +01:00
Nicolas Abril
b2e6d0410e Change Name into Arc<str> 2024-02-13 14:50:30 +01:00
Nicolas Abril
9fe6a6bbe8
Merge pull request #191 from HigherOrderCO/feature/sc-445/add-compile-options-to-desugar-command
[sc-445] Add compile options to desugar cli command
2024-02-12 18:34:50 +01:00
Nicolas Abril
ae566a8e9b
Merge pull request #190 from HigherOrderCO/feature/sc-443/rename-string-and-list-constructors
[sc-443] Rename builtin constructors
2024-02-12 18:34:38 +01:00
Nicolas Abril
69b4ba7a16 [sc-445] Add compile options to desugar cli command 2024-02-12 18:12:02 +01:00
Nicolas Abril
222637ab71 [sc-443] Rename builtin constructors 2024-02-12 18:09:40 +01:00
Nicolas Abril
33344c69db
Merge pull request #189 from HigherOrderCO/chore/sc-440/update-rust-toolchain-version-for-hvml
[sc-440] Update rust toolchain, solve new deprecation warnings
2024-02-12 18:07:29 +01:00
imaqtkatt
2bd63b9494
Merge pull request #188 from HigherOrderCO/feature/sc-439/refactor-some-recursive-passes-to-stack-based
[sc-439] Refactor some recursive passes to stack based
2024-02-12 11:36:50 -03:00
Nicolas Abril
343c38d5ae [sc-440] Apply new clippy lints 2024-02-12 15:23:13 +01:00
Nicolas Abril
b76a8fdf5c [sc-440] Update rust toolchain, solve new deprecation warnings 2024-02-12 14:58:34 +01:00
imaqtkatt
a57343f85f Refactor rename old match field occurrences 2024-02-12 10:50:21 -03:00
imaqtkatt
654f77d7bf Fix push matched to resolve 2024-02-12 10:21:07 -03:00
imaqtkatt
6b66afdedd Refactor some passes to stack based 2024-02-12 09:29:19 -03:00
Nicolas Abril
1c5e06ed18
Merge pull request #187 from HigherOrderCO/chore/sc-438/remove-generated-origin-of-defs
[sc-438] Simplify user vs builtin logic
2024-02-09 19:11:03 +01:00
Nicolas Abril
89471c2032 [sc-438] Simplify user vs builtin logic 2024-02-09 18:08:35 +01:00
imaqtkatt
f9c1d54db4
Merge pull request #186 from HigherOrderCO/fix-cli-panicking
Fix cli clap id
2024-02-09 13:45:27 -03:00
imaqtkatt
2de01d7343 Fix cli clap id 2024-02-09 13:44:25 -03:00
Nicolas Abril
0d776142eb
Merge pull request #185 from HigherOrderCO/chore/sc-437/clean-up-term-stringification
Various small refactors
2024-02-09 17:30:19 +01:00
Nicolas Abril
ea5152693b Various small refactors 2024-02-09 16:59:14 +01:00
Nicolas Abril
922e9a4a06
Merge pull request #184 from HigherOrderCO/chore/sc-437/clean-up-term-stringification
[sc-437] Implement fmt::Display for more things
2024-02-09 15:33:31 +01:00
Nicolas Abril
daf34d3784 [sc-437] Implement fmt::Display for more things 2024-02-09 14:58:18 +01:00
Nicolas Abril
0fd607d127
Merge pull request #183 from HigherOrderCO/chore/sc-436/modularize-resugaring-passes
[sc-436] Separate adt and builtin resugaring into separate passes
2024-02-09 13:32:42 +01:00
Nicolas Abril
25a6926ab1 [sc-436] Separate adt and builtin resugaring into separate passes 2024-02-09 13:04:45 +01:00
Nicolas Abril
dc930c0075
Merge pull request #181 from HigherOrderCO/feature/sc-410/add-fixed-labeling-for-adt-encoding-option
[sc-410] Add untagged scott encoding option for ADTs
2024-02-09 12:51:28 +01:00
Nicolas Abril
3e9b3d7e58 [sc-410] Add untagged scott encoding option for ADTs 2024-02-09 12:50:59 +01:00
imaqtkatt
291ff8ce10
Merge pull request #182 from HigherOrderCO/feature/sc-435/add-support-for-custom-entrypoints
[sc-435] Add support for custom entrypoints
2024-02-09 08:16:32 -03:00
imaqtkatt
de23e5c972 Improve entrypoint doc 2024-02-08 18:16:12 -03:00
imaqtkatt
78c1ee1c31 Improve entrypoint doc 2024-02-08 17:39:32 -03:00
imaqtkatt
4469ae59be Refactor method name and add entrypoint option doc 2024-02-08 17:19:18 -03:00
imaqtkatt
e32af0e447 Add tests for custom entrypoint 2024-02-08 16:14:46 -03:00
imaqtkatt
aa25ad00ed Add run mode with custom entrypoint 2024-02-08 15:41:32 -03:00
imaqtkatt
7a38b42645 Add custom entrypoint option 2024-02-08 15:32:04 -03:00
imaqtkatt
05c31c55eb
Merge pull request #179 from HigherOrderCO/feature/sc-320/inline-simple-functions-in-hvml
[sc-320] Inline simple functions in hvml
2024-02-07 14:07:38 -03:00
imaqtkatt
11fe42eb9c Re add missing comment 2024-02-07 14:07:19 -03:00
imaqtkatt
999b3d789a Update tests snapshots 2024-02-07 14:02:41 -03:00
imaqtkatt
938051bc84 Update and add inline docs 2024-02-07 13:59:09 -03:00
imaqtkatt
0ff494397e Move long_name test to compile_file 2024-02-07 13:58:22 -03:00
imaqtkatt
483388d495 Change inline criteria to only small nodes 2024-02-07 13:58:22 -03:00
imaqtkatt
c8ab1b31f6 Minor adjustments and update tests snapshots 2024-02-07 13:55:18 -03:00
imaqtkatt
784836f32b Add inline pass 2024-02-07 13:48:14 -03:00
Nicolas Abril
6d53cd69ba
Merge pull request #180 from HigherOrderCO/chore/sc-407/refactor-how-definition-names-and-references
[sc-407] Refactor how names are stored and defs are referenced
2024-02-07 17:41:41 +01:00
Nicolas Abril
a9b374586f [sc-407] Remove leftover prints 2024-02-07 16:24:19 +01:00