Commit Graph

62 Commits

Author SHA1 Message Date
be218fc0d4 a mess.. 2021-01-19 13:55:13 +08:00
7d06c903e3 added get_expression_unknowns 2021-01-15 15:19:41 +08:00
5fce6cf069 updated lifetime 2021-01-15 14:37:55 +08:00
d466b7bc2b simplified lifetime 2021-01-11 11:12:37 +08:00
b6e4e68587 started adding error types
* converted to string to avoid breaking interface, would be fixed later
* tests would not check error messages now, as messages are not
  finalized
2021-01-11 10:40:32 +08:00
779288d685 added todo 2021-01-08 17:16:25 +08:00
3ecf57a588 fixed bugs 2021-01-08 16:54:34 +08:00
ebe1027ffa added resolve signature 2021-01-08 16:24:25 +08:00
7c6349520c started getting signatures 2021-01-08 14:52:48 +08:00
04f121403a moved type check code to submodule 2021-01-08 12:58:33 +08:00
b51168a5ab added statement tests 2021-01-05 13:35:44 +08:00
007843c1ef added aug assign for primitives 2021-01-05 13:21:39 +08:00
ff41cdb000 implemented statement check 2021-01-05 12:17:45 +08:00
e1efb47ad2 statement inference: assignment 2021-01-04 17:07:14 +08:00
4902f9f645 added expression_inference tests 2021-01-04 14:55:11 +08:00
24d512c30f added expression_inference 2021-01-04 14:54:57 +08:00
5b5e9ce04f added magic methods 2021-01-04 14:53:52 +08:00
6824b9c4d3 added inference_core tests 2021-01-04 14:53:33 +08:00
7c9e80cc1b added inference core 2021-01-04 14:52:50 +08:00
bde52f7ad3 added primitives 2021-01-04 14:52:00 +08:00
04e9f9c077 added inference context 2021-01-04 14:51:43 +08:00
7523b43a08 added top level context 2021-01-04 14:51:25 +08:00
7eb40e25dd added typedef 2021-01-04 14:49:48 +08:00
96317686af enabled clippy 2021-01-04 14:49:14 +08:00
dd29ae251a nac3embedded: compilation demo 2020-12-19 16:23:12 +08:00
75bd9b9a15 nac3embedded: ast storage 2020-12-19 15:29:39 +08:00
aa8b4e2305 nac3embedded: parse 2020-12-19 00:52:06 +08:00
b79d8ad640 nac3embedded: basic source extraction 2020-12-18 23:45:09 +08:00
703059adab nac3standalone: renames 2020-12-18 22:35:59 +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
d7ded27def add shell.nix 2020-11-10 20:39:25 +08:00
d538988e5a use clang for demo 2020-11-10 20:39:17 +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
c964481a2f rm interpreter mandelbrot 2020-03-30 22:49:30 +08:00
a351f6279a mandelbrot demo 2020-03-30 22:47:45 +08:00
1eac097706 add simple output function 2020-03-30 22:30:32 +08:00
2fae28eb70 implement unary operators 2020-03-30 22:10:06 +08:00
052ea8d98a support break 2020-03-30 19:12:31 +08:00
ef01a86c2f support while loop 2020-03-30 18:23:32 +08:00
43bc7392ff support boolean constants 2020-03-30 18:23:20 +08:00
aecf24c857 support if/then/else 2020-03-30 17:33:01 +08:00
38cdab01cb run LLVM passes 2020-03-30 16:58:44 +08:00
8e9bd3df04 print IR 2020-03-30 16:19:49 +08:00
f9dbf68875 use alloca for variables 2020-03-30 16:19:35 +08:00
c5efa615a2 implement division 2020-03-30 12:34:38 +08:00
056b9631a0 implement numerical casts 2020-03-30 12:01:12 +08:00