Commit Graph

511 Commits

Author SHA1 Message Date
pca006132 e554737b68 tmp 2021-07-14 08:12:47 +08:00
pca006132 84c980fed3 type scheme instantiation 2021-06-30 17:18:56 +08:00
pca006132 2985b88351 refactor for HM style inference... 2021-06-30 16:28:18 +08:00
pca006132 52a82e8a39 updated readme 2021-06-28 17:17:08 +08:00
pca006132 eb12f6f082 updated inference_context error msg 2021-06-28 16:36:24 +08:00
pca006132 f43e225845 updated inference_context rules 2021-06-28 16:32:46 +08:00
pca006132 e72d96f165 added location information for diagnostics 2021-06-28 15:05:05 +08:00
pca006132 ed04cef431 added symbol resolver... 2021-06-28 14:48:04 +08:00
pca006132 7c9919256c begin refactoring 2021-06-28 10:49:41 +08:00
pca006132 42511334f7 fixed some inference rules... 2021-06-25 16:49:58 +08:00
pca006132 5292f32835 removed method for type variables 2021-06-25 16:08:32 +08:00
pca006132 ed28c09c51 updated readme 2021-06-25 12:57:43 +08:00
pca006132 6996bb5ac1 added readme 2021-06-25 12:28:33 +08:00
pca006132 4902f9f645 added expression_inference tests 2021-01-04 14:55:11 +08:00
pca006132 24d512c30f added expression_inference 2021-01-04 14:54:57 +08:00
pca006132 5b5e9ce04f added magic methods 2021-01-04 14:53:52 +08:00
pca006132 6824b9c4d3 added inference_core tests 2021-01-04 14:53:33 +08:00
pca006132 7c9e80cc1b added inference core 2021-01-04 14:52:50 +08:00
pca006132 bde52f7ad3 added primitives 2021-01-04 14:52:00 +08:00
pca006132 04e9f9c077 added inference context 2021-01-04 14:51:43 +08:00
pca006132 7523b43a08 added top level context 2021-01-04 14:51:25 +08:00
pca006132 7eb40e25dd added typedef 2021-01-04 14:49:48 +08:00
pca006132 96317686af enabled clippy 2021-01-04 14:49:14 +08:00
Sebastien Bourdeauducq dd29ae251a nac3embedded: compilation demo 2020-12-19 16:23:12 +08:00
Sebastien Bourdeauducq 75bd9b9a15 nac3embedded: ast storage 2020-12-19 15:29:39 +08:00
Sebastien Bourdeauducq aa8b4e2305 nac3embedded: parse 2020-12-19 00:52:06 +08:00
Sebastien Bourdeauducq b79d8ad640 nac3embedded: basic source extraction 2020-12-18 23:45:09 +08:00
Sebastien Bourdeauducq 703059adab nac3standalone: renames 2020-12-18 22:35:59 +08:00
Sebastien Bourdeauducq 947a528656 libnac3 -> nac3core 2020-12-18 10:18:21 +08:00
Sebastien Bourdeauducq 8558d41cd8 pyo3 demo 2020-12-18 10:09:35 +08:00
Sebastien Bourdeauducq 06d2fbd25c split off standalone compiler 2020-12-17 22:20:30 +08:00
Sebastien Bourdeauducq c54e5994d7 update dependencies 2020-12-17 21:50:47 +08:00
Sebastien Bourdeauducq d7ded27def add shell.nix 2020-11-10 20:39:25 +08:00
Sebastien Bourdeauducq d538988e5a use clang for demo 2020-11-10 20:39:17 +08:00
Sebastien Bourdeauducq f0d331c35a update all dependencies, switch to LLVM 10 2020-11-10 20:34:26 +08:00
Sebastien Bourdeauducq 858cc65daa update inkwell 2020-11-09 21:36:41 +08:00
Sebastien Bourdeauducq c964481a2f rm interpreter mandelbrot 2020-03-30 22:49:30 +08:00
Sebastien Bourdeauducq a351f6279a mandelbrot demo 2020-03-30 22:47:45 +08:00
Sebastien Bourdeauducq 1eac097706 add simple output function 2020-03-30 22:30:32 +08:00
Sebastien Bourdeauducq 2fae28eb70 implement unary operators 2020-03-30 22:10:06 +08:00
Sebastien Bourdeauducq 052ea8d98a support break 2020-03-30 19:12:31 +08:00
Sebastien Bourdeauducq ef01a86c2f support while loop 2020-03-30 18:23:32 +08:00
Sebastien Bourdeauducq 43bc7392ff support boolean constants 2020-03-30 18:23:20 +08:00
Sebastien Bourdeauducq aecf24c857 support if/then/else 2020-03-30 17:33:01 +08:00
Sebastien Bourdeauducq 38cdab01cb run LLVM passes 2020-03-30 16:58:44 +08:00
Sebastien Bourdeauducq 8e9bd3df04 print IR 2020-03-30 16:19:49 +08:00
Sebastien Bourdeauducq f9dbf68875 use alloca for variables 2020-03-30 16:19:35 +08:00
Sebastien Bourdeauducq c5efa615a2 implement division 2020-03-30 12:34:38 +08:00
Sebastien Bourdeauducq 056b9631a0 implement numerical casts 2020-03-30 12:01:12 +08:00
Sebastien Bourdeauducq ea699fb46f support numerical comparisons 2020-03-29 16:56:07 +08:00