|
67963fc21f
|
clippy again
|
2021-01-04 12:28:06 +08:00 |
|
|
2b2e220723
|
applied clippy
|
2021-01-04 12:07:10 +08:00 |
|
|
fa2fc1db54
|
fixed and enabled inference_core tests
|
2021-01-04 11:50:40 +08:00 |
|
|
8ade8c7b1f
|
fixed expression.rs and renamed to expression_inference
|
2020-12-31 16:36:01 +08:00 |
|
|
dea987dfde
|
renamed operator.rs to magic_methods.rs
|
2020-12-31 16:10:03 +08:00 |
|
|
231bcd95fc
|
fixed inference and renamed to inference_core
|
2020-12-31 16:06:09 +08:00 |
|
|
44ccae6959
|
fixed primitives implementation
|
2020-12-31 15:58:29 +08:00 |
|
|
0d20b36974
|
start refactoring
|
2020-12-31 15:31:59 +08:00 |
|
|
0269dcee84
|
added todo
|
2020-12-31 11:39:26 +08:00 |
|
|
8fd164bda2
|
added expression tests
|
2020-12-31 11:31:42 +08:00 |
|
|
e625bd4ad2
|
added expression inference
|
2020-12-31 11:31:32 +08:00 |
|
|
f1b8e73703
|
added operator name mapping
|
2020-12-31 11:28:41 +08:00 |
|
|
38a3240e6e
|
added inference tests
|
2020-12-31 11:28:23 +08:00 |
|
|
9cba777b3b
|
added inference
|
2020-12-31 11:28:13 +08:00 |
|
|
bd67b3f387
|
added primitives
|
2020-12-31 11:27:18 +08:00 |
|
|
59453d3785
|
added typedef
|
2020-12-31 11:26:51 +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 |
|
|
ea699fb46f
|
support numerical comparisons
|
2020-03-29 16:56:07 +08:00 |
|
|
37f7140bb8
|
support numerical constants
|
2020-03-29 15:13:08 +08:00 |
|
|
a43c7b8d4f
|
support assignments
|
2020-03-29 14:10:06 +08:00 |
|
|
05ac6fa2c1
|
read input from file
|
2020-03-29 13:27:00 +08:00 |
|
|
10fd4d3c27
|
report unbound identifier errors
|
2020-03-29 12:20:40 +08:00 |
|
|
befd01b240
|
implement simple expressions and return statement
|
2020-03-29 12:12:08 +08:00 |
|
|
69ed23ee00
|
improve error messages
|
2020-03-28 15:12:12 +08:00 |
|
|
f9a56c7d8f
|
compile statements (WIP)
|
2020-03-27 23:47:40 +08:00 |
|