Commit Graph

1211 Commits

Author SHA1 Message Date
Nicolas Abril
9db85265c4 [sc-501] Use TSPL for the parser 2024-04-10 20:33:47 +02:00
imaqtkatt
d1bbc40146
Merge pull request #262 from HigherOrderCO/bug/sc-510/unused-definition-warning-triggered-on-matched
[sc-510] Unused definition warning triggered on matched constructors when scott encoding is used
2024-04-10 13:25:09 +00:00
imaqtkatt
570ad97833 Fix unused definition with scott adt 2024-04-10 10:16:05 -03:00
imaqtkatt
56b3a0bec8
Merge pull request #261 from HigherOrderCO/feature/sc-543/add-hvml-test-on-example-programs
[sc-543] Add hvml test on example programs
2024-04-10 12:29:28 +00:00
imaqtkatt
a89663b003 Remove unused golden tests directory 2024-04-10 09:22:05 -03:00
imaqtkatt
10559b6df7 Change examples test to read from examples directory 2024-04-09 20:24:25 -03:00
imaqtkatt
60e4cc6eb4 Add test on example programs 2024-04-09 15:46:13 -03:00
imaqtkatt
d4a591aaa3
Merge pull request #257 from HigherOrderCO/feature/sc-536/add-debug-mode-for-lazy-evaluation-in-hvml
[sc-536] Add debug mode for lazy evaluation in hvml
2024-04-09 14:16:15 +00:00
imaqtkatt
161460eacd Update cargo lock 2024-04-09 11:12:23 -03:00
imaqtkatt
1b4cb98548 Update cargo lock 2024-04-08 14:26:11 -03:00
imaqtkatt
23f2bd76fa Refactor run compiled split cases 2024-04-08 14:24:12 -03:00
imaqtkatt
2e1198b76c Simplify if condition 2024-04-08 14:24:12 -03:00
imaqtkatt
269aae28a8 Implement debug for lazy evaluation 2024-04-08 14:24:12 -03:00
Nicolas Abril
54b4ba2c55
Merge pull request #260 from HigherOrderCO/chore/sc-603/update-hvml-for-new-hvmc-num-ops
[sc-603] Update for new hvmc number/op type
2024-04-08 17:20:14 +00:00
Nicolas Abril
dba81b00bd [sc-603] Update for new hvmc number/op type 2024-04-08 19:15:29 +02:00
Nicolas Abril
d6a62e568f
Merge pull request #259 from HigherOrderCO/chore/sc-550/update-drop-implementation-for-terms-in-hvml
[sc-550] Improve Drop for Term
2024-04-08 16:33:24 +00:00
Nicolas Abril
1efc49c6c5
Merge pull request #256 from HigherOrderCO/feature/sc-523/add-check-for-strict-evaluation-using-pre
[sc-523] Use pre-reduce to check for non-termination in strict mode
2024-04-08 15:43:17 +00:00
Nicolas Abril
0e0b06c8a3 [sc-550] Improve Drop for Term 2024-04-08 17:40:00 +02:00
Nicolas Abril
7cab42ac1d
Merge pull request #258 from HigherOrderCO/chore/sc-549/clarify-that-hvm-lang-is-not-designed-for
[sc-549] Clarify that hvml is the intended hvmc IR
2024-04-08 15:03:48 +00:00
Nicolas Abril
492d00d9d4 [sc-549] Clarify that hvml is the intended hvmc IR and target for compilers 2024-04-08 16:57:34 +02:00
Nicolas Abril
3dc09cf167 [sc-523] Improve cli and error for pre-reduce loop check 2024-04-08 16:27:25 +02:00
Nicolas Abril
28912c9280 [sc-523] Use pre-reduce to check for non-termination in strict mode 2024-04-08 16:27:25 +02:00
imaqtkatt
00b024e666
Merge pull request #255 from HigherOrderCO/bug/sc-547/clippy-github-action-not-failing-on-warnings
[sc-547] clippy github action not failing on warnings
2024-04-04 14:00:20 +00:00
imaqtkatt
ebeef41e26 Add rustflags to cargo clippy 2024-04-04 10:04:46 -03:00
imaqtkatt
97a2742c62
Merge pull request #254 from HigherOrderCO/bug/sc-546/use-terms-handle-shadowed-variables-incorrectly
[sc-546] use terms handle shadowed variables incorrectly in hvm-lang
2024-04-04 11:20:32 +00:00
imaqtkatt
99021be778 Add use switch desugar test 2024-04-03 17:13:27 -03:00
imaqtkatt
e972fd856f Call apply use pass after unique naming 2024-04-03 17:08:25 -03:00
Nicolas Abril
6d33106189
Merge pull request #253 from HigherOrderCO/feature/sc-513/add-simpler-scheme-of-match-variable-linearization
[sc-513] Add new match linearization and 'with' clauses in match
2024-04-03 19:40:22 +00:00
Nicolas Abril
3ed0a0ebd1 [sc-513] Update docs for match with 2024-04-03 20:47:47 +02:00
Nicolas Abril
49a3345f77 [sc-513] Fix fmt and clippy warnings 2024-04-03 18:19:20 +02:00
Nicolas Abril
3b9903c897 [sc-513] Add new match linearization algorithm and with clauses in match terms 2024-04-03 18:10:18 +02:00
imaqtkatt
80e560d0de
Merge pull request #252 from HigherOrderCO/feature/sc-541/add-no-optimization-test-for-hvml
[sc-541] Add no-optimization test for hvml
2024-04-03 13:02:59 +00:00
imaqtkatt
7cae4f5535 Add no optimization tests 2024-04-03 09:35:45 -03:00
imaqtkatt
6e587fd7b9
Merge pull request #251 from HigherOrderCO/feature/sc-512/add-tests-for-file-builtin-functions
[sc-512] Add tests for file builtin functions
2024-04-03 11:31:20 +00:00
imaqtkatt
3635d6da71 Add store fail and load fail tests 2024-04-03 08:28:55 -03:00
imaqtkatt
f2073c3f5b Pass core builtins uses to prune call 2024-04-02 17:13:23 -03:00
imaqtkatt
5ca0186b06 Add tests using HVM.store and HVM.load 2024-04-02 16:30:37 -03:00
imaqtkatt
a8209d82ae
Merge pull request #250 from HigherOrderCO/use-hvmc-prune
Use hvmc prune implementation
2024-04-02 18:21:16 +00:00
T6
f4c551e1c8
Merge pull request #248 from HigherOrderCO/lazy-io
fix IO on lazy mode
2024-04-02 18:16:07 +00:00
T6
b86d9ac02f
Merge branch 'main' into lazy-io 2024-04-02 14:14:14 -04:00
imaqtkatt
17fe4f1772 Use hvmc prune implementation 2024-04-02 14:07:42 -03:00
imaqtkatt
d5ee32955d
Merge pull request #249 from HigherOrderCO/chore/sc-538/remove-simplify-main-ref-and-simplify-ref
[sc-538] Remove simplify_main_ref and simplify_ref_to_ref passes
2024-04-02 16:33:14 +00:00
tjjfvi
85d55af051
use main 2024-04-02 12:18:06 -04:00
imaqtkatt
ef4bd054da *Call inline after eta 2024-04-02 12:58:25 -03:00
imaqtkatt
8ec8fcc9bb Call inline after pre reduce 2024-04-02 12:02:51 -03:00
imaqtkatt
88c9a7d1cf Readd missing cli inline test 2024-04-02 10:14:28 -03:00
imaqtkatt
5f435033b8 Add inlining test for simple node types 2024-04-02 10:00:44 -03:00
imaqtkatt
e9d61dd37a Update desugar inline to compile inline 2024-04-02 08:50:01 -03:00
imaqtkatt
2cf3b8c4ba Remove simplify ref passes and use inet level inlining 2024-04-02 08:43:40 -03:00
tjjfvi
dd262616ab
fix IO on lazy mode 2024-04-01 17:06:44 -04:00