greg
|
32acf89814
|
New Constructor
|
2018-08-05 16:04:52 -07:00 |
|
greg
|
c637a922a9
|
Start implementing constructors/matches
as per Implementing Functional Programming Languages by Peyton-Jones
|
2018-08-05 14:23:08 -07:00 |
|
greg
|
bc6d4d19b5
|
reduced ast match
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
a2b1b0f953
|
Pattern-matching in reduced AST
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
75bf4b5697
|
Fill out variants to be reduced
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
90ecde89c9
|
Mutable types
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
927f427a86
|
Starting work on patterns
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
7882e92ab5
|
Fix old style if
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
f2dce38647
|
Broken, but compiling, move to new if paradigm
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
ebcea685f3
|
Fix looking up functions
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
3b9084810e
|
Add constructor reduced ast node; fix test
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
7809cda240
|
Pass symbol_table to ast reduce
To distinguish between values and data constructors
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
f98d8e2bb0
|
Move AST into its own module
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
d0a0cc8209
|
Rename ast_reducing -> reduced_ast
|
2018-07-26 00:52:46 -07:00 |
|