Commit Graph

1153 Commits

Author SHA1 Message Date
Nicolas Abril
7611eaadb0 [sc-517] Use kind2-like pattern matching terms, remove nested lets and adt lets 2024-03-29 10:49:36 +01:00
Nicolas Abril
817aec9d4a
Merge pull request #245 from HigherOrderCO/bug/sc-525/float-combinators-not-extracting-some-terms
[sc-525] Float combinators not extracting some terms
2024-03-29 08:30:01 +00:00
imaqtkatt
30d7888d23 Update combinators test and improve docs 2024-03-28 19:10:49 -03:00
imaqtkatt
37fdd38d7b Fix typo 2024-03-28 17:02:38 -03:00
imaqtkatt
c695bbcf2c Update float children lambda case and docs 2024-03-28 16:59:03 -03:00
imaqtkatt
ab2e081d03 Remove unnecessary condition 2024-03-28 15:39:16 -03:00
imaqtkatt
1f273c4fc4 Refactor float combinator logic and implement float iterator 2024-03-28 15:34:42 -03:00
imaqtkatt
bd8fb66b8c Refactor float combinators 2024-03-28 09:10:10 -03:00
imaqtkatt
bbc714635e Fix typo 2024-03-27 16:44:03 -03:00
imaqtkatt
ec24ae2a80 Update float combinators doc and combinators test 2024-03-27 16:41:30 -03:00
imaqtkatt
bcbcdc5442 Refactor float combinators and add combinators test 2024-03-27 15:51:59 -03:00
imaqtkatt
b4a79fee1b Add deref loop test and remove unnecessary clone 2024-03-27 11:22:12 -03:00
imaqtkatt
92aa4b3d4a Refactor float combinators to extract unsafe terms 2024-03-27 11:18:37 -03:00
imaqtkatt
a341acc06b
Merge pull request #244 from HigherOrderCO/bug/sc-527/recursion-check-incorrectly-displays-some
[sc-527] Recursion check incorrectly displays some generated functions
2024-03-25 18:59:26 +00:00
imaqtkatt
4bdf93e5c1 Refactor add merge separator constant 2024-03-25 15:52:34 -03:00
imaqtkatt
3ccd408a26 Improve cycle display for merged definitions 2024-03-25 14:21:47 -03:00
imaqtkatt
175a6f6d5c
Merge pull request #242 from HigherOrderCO/feature/sc-526/improve-deref-loop-warning-in-strict-evaluation
[sc-526] Improve deref loop warning in strict evaluation
2024-03-22 14:32:13 +00:00
imaqtkatt
9b9544530f Ignore only floated combinators definitions 2024-03-22 11:28:43 -03:00
imaqtkatt
76d26d61b0 Update tests snapshots 2024-03-22 10:52:09 -03:00
imaqtkatt
a8dc4ac4b8 Remove generated functions from error message 2024-03-22 10:49:20 -03:00
imaqtkatt
ad4f1bba95 Update recursion error message and update docs 2024-03-22 10:21:48 -03:00
imaqtkatt
f97b7c1379 Update recursion error message and update docs 2024-03-22 09:35:44 -03:00
imaqtkatt
e90644d706 Update mutual recursion error message 2024-03-21 20:13:26 -03:00
T6
a0767c83d8
Merge pull request #243 from HigherOrderCO/hvmc-.20
upgrade hvmc version
2024-03-21 14:20:48 +00:00
tjjfvi
b9ef2a0f9d
update snapshots 2024-03-21 08:11:16 -04:00
tjjfvi
d9b5a80c65
upgrade hvmc version 2024-03-21 08:09:01 -04:00
imaqtkatt
a010f4faef Improve mutual recursion error message 2024-03-20 16:50:22 -03:00
imaqtkatt
26da3d3284
Merge pull request #241 from HigherOrderCO/feature/sc-519/add-syntax-sugar-for-nats
[sc-519] Add syntax sugar for Nats
2024-03-19 19:43:02 +00:00
imaqtkatt
3da5db0c01 Change swap_remove to shift_remove 2024-03-19 14:37:30 -03:00
imaqtkatt
6b7cbeb7be Update cspell and add nat resugar test 2024-03-19 13:59:17 -03:00
FranchuFranchu
b4b7114350
Merge pull request #240 from HigherOrderCO/chore/sc-522/nary-compat
[sc-522] Update hvm-lang to make it compatible with hvm-core n-ary nodes.
2024-03-19 13:51:02 +00:00
FranchuFranchu
8dc9ec79fc Remove irrelevant tests. 2024-03-19 10:43:23 -03:00
FranchuFranchu
5690bee2fc Update hvm-lang to make it compatible with hvm-core n-ary nodes. 2024-03-19 10:43:21 -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