James Harton
|
a957660c82
|
Compiler can now output IR because that's super useful.
|
2019-03-26 18:57:02 +13:00 |
|
James Harton
|
811776d9e7
|
Code gardening.
|
2019-03-23 09:36:45 +13:00 |
|
James Harton
|
b52e236c67
|
Separate method definitions from method specifications in the parser.
|
2019-03-21 21:05:09 +13:00 |
|
James Harton
|
91a52574c8
|
Add some simple desugaring to the compiler.
|
2019-03-21 16:15:24 +13:00 |
|
James Harton
|
a45d9627dc
|
Fix function and method calling once and for all.
|
2019-03-21 10:18:51 +13:00 |
|
James Harton
|
ee3df9a527
|
Ensure that if expressions parse and build correctly.
|
2019-03-18 20:20:39 +13:00 |
|
James Harton
|
30fdff315b
|
Build IR
|
2019-03-17 18:54:35 +13:00 |
|
James Harton
|
bd2177940c
|
Add a bunch more IR stuff and anonymous functions.
|
2019-03-14 21:25:12 +13:00 |
|
James Harton
|
f6359f4245
|
Use a simple stack machine to build the IR.
|
2019-03-13 20:32:13 +13:00 |
|
James Harton
|
aa6395e55b
|
Make the parser much more explicit about it's grammer and deal with the consequences later.
|
2019-03-08 22:40:34 +13:00 |
|
James Harton
|
ba04a202c6
|
method calls are left associative.
|
2019-03-07 18:36:29 +13:00 |
|
James Harton
|
78f7593520
|
Reimplement method calls as binary operations.
|
2019-03-07 11:09:39 +13:00 |
|
James Harton
|
dece06f8c6
|
Build IR for more expressions.
|
2019-03-06 19:27:57 +13:00 |
|
James Harton
|
977e0de9a1
|
Assign isn't a binary operation anymore.
|
2019-03-06 16:29:29 +13:00 |
|
James Harton
|
e022838be6
|
Add Ir for unary and binary expressions.
|
2019-03-06 16:27:22 +13:00 |
|
James Harton
|
030aeef878
|
Add braced expressions for tighter binding.
|
2019-03-06 15:36:04 +13:00 |
|
James Harton
|
10fcc65045
|
Start over by trying to build an IR instead of the final output.
|
2019-03-06 13:38:18 +13:00 |
|
James Harton
|
59b28f7ce9
|
Rename typename to just ty .
|
2019-03-03 13:38:44 +13:00 |
|
James Harton
|
33e364bf38
|
Remove the concept of a typespec because it's just an expression.
|
2019-03-03 13:28:09 +13:00 |
|
James Harton
|
5909368138
|
WIP
|
2019-02-25 20:52:18 +13:00 |
|
James Harton
|
f2b84a6e54
|
WIP
|
2019-02-25 13:36:51 +13:00 |
|
James Harton
|
115c1d51e9
|
WIP
|
2019-02-22 19:48:05 +13:00 |
|
James Harton
|
7277510a72
|
Scope stuff.
|
2019-02-14 19:08:40 +13:00 |
|
James Harton
|
447c54ce35
|
Ideas for scopes.
|
2019-02-14 17:50:55 +13:00 |
|
James Harton
|
d7a0b03d64
|
Add location to term.
|
2019-02-12 12:20:58 +13:00 |
|
James Harton
|
f72a532970
|
MOAR AST.
|
2019-02-12 11:37:44 +13:00 |
|
James Harton
|
84d2f34c1c
|
Start working on building the AST from the pest output.
|
2019-02-08 21:58:29 +13:00 |
|
James Harton
|
c04c1618b6
|
Go back to using PEST because it's just easier.
|
2019-02-08 21:12:56 +13:00 |
|