Commit Graph

115 Commits

Author SHA1 Message Date
f66ca02b2d update Rust dependencies 2022-08-05 16:58:57 +08:00
96b3a3bf5c work around random segmentation fault (#275)
Reviewed-on: M-Labs/nac3#302
Co-authored-by: z78078 <cc@m-labs.hk>
Co-committed-by: z78078 <cc@m-labs.hk>
2022-07-04 18:06:36 +08:00
b242463548 update dependencies 2022-07-02 19:04:19 +08:00
892597cda4 update dependencies 2022-06-06 17:54:23 +08:00
ac560ba985 nac3artiq: switch ld.lld to nac3ld for non-host target 2022-06-06 14:40:13 +08:00
a96371145d add nac3ld 2022-06-06 14:40:13 +08:00
4c39dd240f update all dependencies 2022-05-31 23:09:51 +08:00
b04631e935 update dependencies, switch to nixpkgs 22.05 2022-05-24 11:10:29 +08:00
0ec2ed4d91 update dependencies 2022-05-17 12:05:12 +08:00
3f327113b2 update dependencies, use upstream inkwell 2022-04-27 15:41:46 +08:00
85f21060e4 update to LLVM 14 2022-04-18 18:47:20 +08:00
93e9a6a38a update dependencies 2022-04-12 09:13:04 +08:00
57369896d7 update dependencies 2022-03-31 10:40:18 +08:00
55db05fdbb update dependencies 2022-03-24 22:30:15 +08:00
14a5c7981e Revert "Revert "update dependencies""
This reverts commit 93af337ed3.
2022-03-18 08:06:13 +08:00
93af337ed3 Revert "update dependencies"
This reverts commit 9ccdc0180d.
2022-03-17 21:53:58 +08:00
9ccdc0180d update dependencies 2022-03-17 21:18:07 +08:00
8fd868a673 update dependencies 2022-03-10 17:28:56 +08:00
317eb80005 update dependencies 2022-03-03 17:10:22 +08:00
6ae770d5eb update dependencies 2022-02-23 10:59:13 +08:00
343f6fd067 update dependencies 2022-02-13 10:51:03 +08:00
1288624218 lock insta version (#179) 2022-01-31 15:18:49 +08:00
0124bcd26c update dependencies (missing part of previous commit) 2022-01-31 14:15:05 +08:00
f478c6afcc update dependencies 2022-01-19 21:17:07 +08:00
d7b14dd705 update dependencies 2022-01-14 16:55:10 +08:00
4a65d82db5 introduce IRRT, implement power
based on code by Yijia
M-Labs/nac3#160
2022-01-09 00:57:50 +08:00
52ccf31bb1 update dependencies 2022-01-04 22:00:29 +08:00
a0bf6da6c2 update dependencies 2021-12-28 12:08:55 +08:00
5aa6749241 remove num-traits 2021-12-26 00:32:08 +08:00
80d3ab1b0f remove bigints 2021-12-26 00:23:54 +08:00
ec986dfdf3 update dependencies 2021-12-25 23:03:53 +08:00
d2a5cd6d57 update to LLVM 13 2021-12-25 22:49:47 +08:00
9e3f75255e update inkwell. Closes #67 2021-12-25 22:17:06 +08:00
7d66195eae nac3artiq: embed linker script, put intermediate objects in temp dir 2021-11-06 13:04:00 +08:00
bf7e2c295a integrate nac3parser 2021-11-03 17:11:00 +08:00
624dfe8cd1 upgrade to LLVM 12 2021-11-02 14:00:20 +08:00
137efebb33 runkernel: add simple host kernel runner 2021-10-31 23:52:43 +08:00
f5ce1afe0b fix tests and switch to insta
Use a library called 'insta' to better organize those longer correct test outputs in toplevel tests. 'insta' creates `.snap` files as snapshots of the test output, and will automatically do the diff if the output is different. This makes maintaining test cases with larger outputs a lot easier.

Reviewed-on: M-Labs/nac3#42
Co-authored-by: ychenfo <yc@m-labs.hk>
Co-committed-by: ychenfo <yc@m-labs.hk>
2021-10-03 16:39:12 +08:00
316db42940 nac3embedded -> nac3artiq, README cleanup 2021-09-27 10:30:54 +08:00
6a69211c55 Merge remote-tracking branch 'origin/master' into optimization 2021-09-23 19:58:24 +08:00
edd60e3f9a nac3embedded: compile again 2021-09-23 19:30:03 +08:00
084efe92af nac3core: use string interning 2021-09-22 18:04:06 +08:00
93270d7227 use forked version of rustpython
to implement Clone for AST nodes
2021-08-25 15:28:32 +08:00
56f082ca7c handle type var associated with class/function partially, change llvm version of nac3embedded to 11
format
2021-08-23 17:00:32 +08:00
39545c0005 nac3standalone usable 2021-08-19 15:30:52 +08:00
f8a697e3d4 switch to LLVM 11 2021-08-19 11:14:35 +08:00
3dcd846302 added rayon dependency 2021-08-05 14:56:09 +08:00
8452579c67 use parking_lot RwLock
The std::sync::RwLock is platform dependent, and is unfair on Linux
(may starve writer)
2021-08-03 14:11:41 +08:00
d4d12a9d1d added crossbeam dependency 2021-08-03 12:38:55 +08:00
09c9218852 use custom unification table implementation
as the ena implementation did not expose the underlying vector store, we
cannot map over it to get a table without Rc<RefCell<T>> so that we can
send it around...
2021-07-22 11:37:29 +08:00
62736bd4bf cleanup: we don't actually need arena 2021-07-16 13:58:02 +08:00
d94f25583b added tests 2021-07-15 16:00:23 +08:00
e554737b68 tmp 2021-07-14 08:12:47 +08:00
ed04cef431 added symbol resolver... 2021-06-28 14:48:04 +08:00
7c9919256c begin refactoring 2021-06-28 10:49:41 +08:00
dd29ae251a nac3embedded: compilation demo 2020-12-19 16:23:12 +08:00
aa8b4e2305 nac3embedded: parse 2020-12-19 00:52:06 +08:00
947a528656 libnac3 -> nac3core 2020-12-18 10:18:21 +08:00
8558d41cd8 pyo3 demo 2020-12-18 10:09:35 +08:00
06d2fbd25c split off standalone compiler 2020-12-17 22:20:30 +08:00
c54e5994d7 update dependencies 2020-12-17 21:50:47 +08:00
f0d331c35a update all dependencies, switch to LLVM 10 2020-11-10 20:34:26 +08:00
858cc65daa update inkwell 2020-11-09 21:36:41 +08:00
37f7140bb8 support numerical constants 2020-03-29 15:13:08 +08:00
21fc3cf3e8 quick and dirty demo of python parsing and llvm output 2020-03-23 16:12:52 +08:00