Commit Graph

142 Commits

Author SHA1 Message Date
Nicolas Abril
e7a6aa7937 [sc-287] Improve prereduction pass, with new optimization level cli option 2023-12-06 19:43:54 +01:00
imaqtkatt
656dad5ba9 Add 60 bit numbers support 2023-11-29 16:45:05 -03:00
LunaAmora
e993812881 Update hvm-core verion 2023-11-24 10:36:55 -04:00
LunaAmora
cfdf387e58 Update hvm-core git dep 2023-11-21 07:41:33 -04:00
imaqtkatt
e5a0119d3e WIP opx term to net 2023-11-21 07:09:12 -04:00
LunaAmora
50b27e3d04 Start hvmc version update 2023-11-21 07:05:50 -04:00
LunaAmora
930b3593ea Remove pretty_assertions dev-dependency 2023-11-13 08:38:21 -04:00
LunaAmora
e12433c19c Migrate tests to cargo-insta 2023-11-13 08:38:21 -04:00
Nicolas Abril
e8e81f331d [sc-119] Remove anyhow dependency 2023-11-10 18:54:35 +01:00
Nicolas Abril
73f9f8c3b8 [sc-119] Remove bimap dependency 2023-11-10 18:54:35 +01:00
Nicolas Abril
27ff188477 Remove derive_more and thiserror dependencies 2023-11-10 18:54:35 +01:00
Nicolas Abril
4894c8b64c [sc-119] Remove miette dependency 2023-11-10 18:54:35 +01:00
Nicolas Abril
b1488439cf [sc-119] Remove byte-unit dependency 2023-11-10 18:54:00 +01:00
imaqtkatt
b617dc0dbd WIP generate scott adts 2023-11-10 14:49:38 -03:00
Nicolas Abril
88b5068d5a [sc-155] Add pattern matching syntax WIP 2023-10-31 16:07:51 -04:00
LunaAmora
8edda5cdb3 Update hvm-core version 2023-10-30 10:14:13 -04:00
Nicolas Abril
12a1a0b0cd Small cleanups 2023-10-17 10:29:52 +02:00
imaqtkatt
f04396f820 Refactor to use latest hvm-core 2023-10-13 13:43:35 -03:00
Nicolas Abril
03a589dcb2 Replace If expression with Match expression 2023-10-13 17:46:43 +02:00
Nicolas Abril
67b9fceaa6 Move variable sanitization into the new file structure and break it into the different steps 2023-10-12 19:15:50 +02:00
Nicolas Abril
95ea8fca50 Remove ast::core.rs in favor of hvmc::LBook 2023-10-12 18:20:22 +02:00
imaqtkatt
67616abf11 Fix wrong error outputs by using miette 2023-10-09 18:33:12 -03:00
Nicolas Abril
bc280b750f Update to latest hvm-core version, add numbers back, breaks readback 2023-10-09 20:07:48 +02:00
Nicolas Abril
0bfe5fa361 Complete type inference pass (not working) 2023-10-05 22:16:34 +02:00
Nicolas Abril
c320fad0eb Make runtime memory size configurable 2023-09-26 17:53:58 +02:00
Nicolas Abril
6904e81e67 Put numbers behind a disabled feature after hvm update 2023-09-25 17:33:55 +02:00
Nicolas Abril
306e1526f0 Use hvm-core's operation type enum 2023-09-22 21:28:41 +02:00
Nicolas Abril
f4a7bd3ec1 Add i32 numbers 2023-09-22 20:47:07 +02:00
Nicolas Abril
292ad27593 Detach def names from the id sent to hvm-core 2023-09-22 19:56:04 +02:00
Nicolas Abril
b024559d6b Update to latest HVM version 2023-09-21 22:38:39 +02:00
Victor Maia
bf45ac884a update hvm 2023-09-20 23:23:49 -03:00
Victor Maia
9d195078df update to fixed hvm 2023-09-20 22:49:54 -03:00
Nicolas Abril
57c28a50bb Update to latest HVM version 2023-09-20 20:18:58 +02:00
Nicolas Abril
af194db86c Go back to using 32bit nodes 2023-09-14 17:35:57 +02:00
Nicolas Abril
3faedc1057 Avoid copying definition names so much; Separate semantic checking into module 2023-09-09 10:49:49 +02:00
Nicolas Abril
0e35f20e65 Remove numops, update to new hvm repo 2023-09-08 16:10:28 +02:00
Nicolas Abril
493b518a52 Use hvm OP; Add test that runs in hvm 2023-09-05 20:23:23 +02:00
Nicolas Abril
1005f4072e Use the hvm repo types and fns; Switch to u64 nodes 2023-09-04 18:39:22 +02:00
Nicolas Abril
3996edac56 Add dup inference 2023-09-04 17:51:26 +02:00
Nicolas Abril
1a1d331c35 Implement a golden testing model for tests 2023-08-31 22:11:19 +02:00
Nicolas Abril
7731d2487c Finish initial version of hvm-lang to hvm-core compilation 2023-08-31 20:35:41 +02:00
Nicolas Abril
c2eaa8502d Initial commit of hvm-lang with basic parser 2023-08-29 22:43:01 +02:00