Commit Graph

1121 Commits

Author SHA1 Message Date
imaqtkatt
6b7cbeb7be Update cspell and add nat resugar test 2024-03-19 13:59:17 -03:00
imaqtkatt
cf69b99e5a Add builtin and syntax sugar for Nats 2024-03-18 16:37:56 -03:00
imaqtkatt
13f08ea26b
Merge pull request #239 from HigherOrderCO/feature/sc-518/add-non-duping-use-expressions
[sc-518] Add non-duping use expressions
2024-03-18 17:56:01 +00:00
imaqtkatt
90f718de0c
Merge pull request #236 from HigherOrderCO/feature/sc-509/implement-hvm1-builtins
Implement remaining `hvm1` builtins.
2024-03-18 17:53:05 +00:00
imaqtkatt
b842a70ec3
Update README.md
Co-authored-by: Nicolas Abril <nicolas@higherorderco.com>
2024-03-15 16:12:45 -03:00
imaqtkatt
2dabbfb44d Add use syntax documentation 2024-03-15 16:09:37 -03:00
FranchuFranchu
45720629a7 Update tests. 2024-03-15 15:58:52 -03:00
FranchuFranchu
884070ed0e Add Result. Make builtins fallible. 2024-03-15 15:55:37 -03:00
FranchuFranchu
73dc38566e Apply clippy suggestions 2024-03-15 15:55:37 -03:00
FranchuFranchu
c3dcc6a904 Add HVM.exit. Add documentation. Remove local test files. 2024-03-15 15:55:37 -03:00
FranchuFranchu
e7f677f717 Update Cargo.toml 2024-03-15 15:55:37 -03:00
FranchuFranchu
accbaea0f1 [sc-509] Implement remaining hvm2 builtins. 2024-03-15 15:55:37 -03:00
imaqtkatt
8cc2e54683 Add use expression 2024-03-15 15:35:41 -03:00
imaqtkatt
81d6486944
Merge pull request #238 from HigherOrderCO/bug/sc-514/unnecessary-lambdas-sometimes-added-in-match
[sc-514] Unnecessary lambdas sometimes added in match var lifting
2024-03-15 15:30:13 +00:00
imaqtkatt
87c5cd05e6 Update simplify matches comments 2024-03-15 10:08:47 -03:00
imaqtkatt
148a0e2e03 Change to use substitutions instead of creating let terms 2024-03-14 15:47:13 -03:00
Nicolas Abril
140e0b9949
Merge pull request #237 from HigherOrderCO/bug/sc-504/variables-are-bound-in-the-wrong-order-in
[sc-504] Fix wrong variable being used on match binds with same name
2024-03-13 17:12:44 +00:00
Nicolas Abril
41a526ec0f [sc-504] Fix wrong variable being used on match binds with same name 2024-03-13 17:30:54 +01:00
Nicolas Abril
826a52bc26
Merge pull request #235 from HigherOrderCO/bug/sc-508/hang-test-is-not-hanging
[sc-508] Fix hang run test
2024-03-12 20:25:19 +00:00
Nicolas Abril
3ff0a6047e [sc-508] Improve standard test pipeline, apply fmt and clippy suggestions to test 2024-03-12 20:59:30 +01:00
Nicolas Abril
ae5b0b642d [sc-508] Fix hang run test 2024-03-12 20:45:31 +01:00
Nicolas Abril
227b723377
Merge pull request #234 from HigherOrderCO/fix-debug-mode-panic
Remove expand in debug hook
2024-03-12 19:30:33 +00:00
Nicolas Abril
dfd9324fde
Merge pull request #233 from HigherOrderCO/chore/sc-507/update-the-name-of-floated-combinators
[sc-507] Update the name of floated combinators
2024-03-12 19:30:19 +00:00
imaqtkatt
85c5c45fb7 Add debug flag cli test 2024-03-12 16:21:44 -03:00
Nicolas Abril
6b5581972e [sc-507] Update generated name of floated combinators 2024-03-12 20:17:05 +01:00
Nicolas Abril
9dbcffa307
Merge pull request #231 from HigherOrderCO/chore/sc-503/refactor-error-passing-in-hvml
[sc-503] Refactor error passing
2024-03-12 19:04:58 +00:00
imaqtkatt
2f0c3deb5c Remove expand in debug hook 2024-03-12 15:58:58 -03:00
Nicolas Abril
69fc8423cc
Remove unreviewed test snapshot 2024-03-12 19:57:24 +01:00
Nicolas Abril
7a0b0631cf [sc-503] Remove unused functions in diagnostics module 2024-03-12 19:41:56 +01:00
Nicolas Abril
582ac2ba82 Add 'peekable' to cspell dictionary 2024-03-12 19:28:23 +01:00
Nicolas Abril
3cc5a7a242 [sc-503] Refactor error passing 2024-03-12 19:26:05 +01:00
imaqtkatt
d788c0a484
Merge pull request #232 from HigherOrderCO/feature/sc-500/add-simple-infinite-expansion-check-to-eagerly
[sc-500] Add mutual recursion cycle check
2024-03-12 17:03:45 +00:00
imaqtkatt
58ee6c732b Update cycle error message 2024-03-12 13:43:52 -03:00
imaqtkatt
0271739d9f Fix typo 2024-03-12 12:43:13 -03:00
imaqtkatt
4645b3231b Update cycle error message 2024-03-12 12:41:08 -03:00
imaqtkatt
16b5743d77 Adjust automatic optimization section 2024-03-12 11:58:23 -03:00
imaqtkatt
c7d0c78646 Add linearization information 2024-03-12 11:55:10 -03:00
imaqtkatt
c2dca526c5 Apply clippy suggestions 2024-03-12 11:34:35 -03:00
imaqtkatt
203eb130b9 Update lazy definitions documentation 2024-03-12 11:19:15 -03:00
imaqtkatt
4e7c204697 Add mutual recursion check for strict mode 2024-03-12 10:10:43 -03:00
imaqtkatt
f79817ce68
Merge pull request #228 from HigherOrderCO/chore/sc-460/update-tests-to-show-hvm-log-output
[sc-460] Update tests to show HVM.log output
2024-03-11 12:03:04 +00:00
imaqtkatt
5fd3865f18 [sc-505] Include strict and lazy results 2024-03-08 15:28:43 -03:00
T6
ced2c80715
Merge pull request #230 from HigherOrderCO/simplify-multi-iterator
simplify multi iterator usage
2024-03-08 14:34:43 +00:00
imaqtkatt
b494f205ea
Merge pull request #229 from HigherOrderCO/feature/sc-502/allow-number-of-cli-arguments-to-be-different
[sc-502] Allow number of CLI arguments to be different than declared in main
2024-03-08 14:33:14 +00:00
tjjfvi
4f1a9e2e6e
simplify multi iterator usage 2024-03-08 09:28:38 -05:00
imaqtkatt
09492296f9 Update cli arguments doc 2024-03-08 11:19:03 -03:00
imaqtkatt
cdf8bba16e Remove argument count restriction 2024-03-08 10:16:23 -03:00
Nicolas Abril
e9fbc96842 Trigger github actions on merge_group 2024-03-08 11:59:33 +01:00
imaqtkatt
482403ae63 Remove commented code 2024-03-07 17:51:29 -03:00
imaqtkatt
52c64b71a7 Show HVM_log output in run_file tests 2024-03-07 17:41:37 -03:00