forked from M-Labs/nac3
1
0
Fork 0
Commit Graph

1220 Commits

Author SHA1 Message Date
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
Sebastien Bourdeauducq 37f7140bb8 support numerical constants 2020-03-29 15:13:08 +08:00
Sebastien Bourdeauducq a43c7b8d4f support assignments 2020-03-29 14:10:06 +08:00
Sebastien Bourdeauducq 05ac6fa2c1 read input from file 2020-03-29 13:27:00 +08:00
Sebastien Bourdeauducq 10fd4d3c27 report unbound identifier errors 2020-03-29 12:20:40 +08:00
Sebastien Bourdeauducq befd01b240 implement simple expressions and return statement 2020-03-29 12:12:08 +08:00
Sebastien Bourdeauducq 69ed23ee00 improve error messages 2020-03-28 15:12:12 +08:00
Sebastien Bourdeauducq f9a56c7d8f compile statements (WIP) 2020-03-27 23:47:40 +08:00
Sebastien Bourdeauducq 8b7b012b27 improve error reporting 2020-03-27 16:54:49 +08:00
Sebastien Bourdeauducq 894bbca38e add some types 2020-03-27 16:54:41 +08:00
Sebastien Bourdeauducq 710d87596a process function arguments 2020-03-26 19:53:14 +08:00
Sebastien Bourdeauducq 21fc3cf3e8 quick and dirty demo of python parsing and llvm output 2020-03-23 16:12:52 +08:00