greg
|
0dff177e8f
|
Add more literals kill errors
|
2019-02-10 05:33:55 -08:00 |
|
greg
|
cf91f74912
|
Pass through type info to repl
|
2019-02-10 05:31:58 -08:00 |
|
greg
|
06e9452718
|
More type infrastructure
From here on out, I can start playing with concrete code that attempts
to actually typecheck limited syntactic constructs, and see what I end
up with.
|
2019-02-10 05:24:11 -08:00 |
|
greg
|
7d3ae36058
|
AST-walking infrastructure
|
2019-02-10 04:42:30 -08:00 |
|
greg
|
e8f1f51639
|
Move (most of) the type definitions back to typechecking module
Still need to figure out the macro export thing
|
2019-02-10 04:30:37 -08:00 |
|
greg
|
170cf349d7
|
Starting typechecking work again
|
2019-02-09 00:25:12 -08:00 |
|
greg
|
f3f1dcc0a4
|
Add some notes
|
2019-01-27 22:38:20 -08:00 |
|
greg
|
c0111e30bc
|
SymbolTable: Add Record type
|
2019-01-25 00:57:01 -08:00 |
|
greg
|
c225e469ee
|
Change Record variant representation
|
2019-01-24 20:47:20 -08:00 |
|
greg
|
1ce06bc0ef
|
More symbol-table refactoring
|
2019-01-20 22:32:58 -08:00 |
|
greg
|
10c3a60515
|
Some symbol-table refactoring
|
2019-01-20 00:23:08 -08:00 |
|
greg
|
ff73ce7b36
|
Get rid of LLVM wrapper
Not using this code right now
|
2019-01-10 20:57:13 -08:00 |
|
greg
|
ede8a9076a
|
Simplify some struct definitions
|
2019-01-10 20:57:13 -08:00 |
|
greg
|
a63dcf91b0
|
Replace // with quot
|
2019-01-10 20:57:13 -08:00 |
|
greg
|
479a098e0f
|
Make note to fix parsing bug
|
2019-01-09 17:37:51 -08:00 |
|
greg
|
1085b528fe
|
Don't care about case-sensitivity
|
2019-01-08 02:38:10 -08:00 |
|
greg
|
9b3b5c5541
|
Token offsets
|
2019-01-08 02:11:19 -08:00 |
|
greg
|
ab8e24a276
|
ParseError always has token now
|
2019-01-08 01:04:46 -08:00 |
|
greg
|
09e2d8579d
|
Remove all ParseErrors that don't return the failed token
|
2019-01-08 01:00:40 -08:00 |
|
greg
|
ee7861cbd0
|
Fix how impl blocks work
This gets rid of a token-less parseerror
|
2019-01-08 00:51:56 -08:00 |
|
greg
|
b88def8a2e
|
Make error msg better
|
2019-01-07 16:52:46 -08:00 |
|
greg
|
30676722a3
|
Transition to edition 2018
|
2019-01-07 13:00:37 -08:00 |
|
greg
|
801c90aaa7
|
Reorder parameters in pass functions
|
2019-01-07 02:43:31 -08:00 |
|
greg
|
02667b018c
|
Kill most LLVM references
I'm probably going to refactor this so much, there's no point in keeping
this around
|
2019-01-07 02:38:15 -08:00 |
|
greg
|
1032c7c7a2
|
Add note
|
2019-01-07 01:59:12 -08:00 |
|
greg
|
fa295aab28
|
Show location of error in parse error
|
2019-01-07 01:52:54 -08:00 |
|
greg
|
a0f4abb9a3
|
Add SourceReference
|
2019-01-06 01:58:16 -08:00 |
|
greg
|
78b454fb32
|
Delete this line
|
2019-01-05 20:41:49 -08:00 |
|
greg
|
5491169d55
|
Refactor parsing structure
TokenHandler should contain all the methods for actually manipulating
tokens, Parser should only contain the recursive descent methods
|
2019-01-05 20:23:07 -08:00 |
|
greg
|
2b338fd3c9
|
Move .next() onto token_handler
|
2019-01-05 18:29:24 -08:00 |
|
greg
|
821f321261
|
More Node-wrapping of Expression
|
2019-01-05 18:11:51 -08:00 |
|
greg
|
846eeae04c
|
More use of Token instead of TokenKind
|
2019-01-05 17:50:54 -08:00 |
|
greg
|
22f2750853
|
More use of Token in error messages
|
2019-01-05 17:40:05 -08:00 |
|
greg
|
f2f8ac7ee8
|
Make parserrors have token
|
2019-01-05 17:32:49 -08:00 |
|
greg
|
d0c5dce92b
|
Use get_kind()
|
2019-01-05 17:28:35 -08:00 |
|
greg
|
8eda74c9a5
|
Starting to keep track of locations of errors in file
|
2019-01-05 17:18:10 -08:00 |
|
greg
|
2efac109ef
|
Node for TupleLiteral
|
2019-01-05 16:06:55 -08:00 |
|
greg
|
215e2bbb0d
|
PrefixOp have Node
|
2019-01-05 16:02:30 -08:00 |
|
greg
|
2590def3be
|
More Node-wrapping
|
2019-01-05 15:54:03 -08:00 |
|
greg
|
879a7de83d
|
Wrap Expression in Node
|
2019-01-05 15:47:44 -08:00 |
|
greg
|
4c2e0b8a21
|
Get rid of old code from old ideas
|
2019-01-05 15:35:51 -08:00 |
|
greg
|
282c42da3c
|
Adding Node intermediate type to AST
|
2019-01-05 01:44:32 -08:00 |
|
greg
|
87e68988c8
|
Update some dependencies
|
2019-01-01 02:22:12 -08:00 |
|
greg
|
7ac97ca6e8
|
Kill ast_visitor
|
2018-11-26 01:57:44 -08:00 |
|
greg
|
26a8ff307f
|
Add generic Node type
|
2018-11-20 03:21:10 -08:00 |
|
greg
|
6be208b51d
|
Minor fix for parsing error messages
|
2018-11-20 03:03:08 -08:00 |
|
greg
|
e00948cad9
|
Add ast_visitor mod
|
2018-11-17 02:09:16 -08:00 |
|
greg
|
0af6fed505
|
Clear up some code a bit
|
2018-11-17 01:10:23 -08:00 |
|
greg
|
1f527f7949
|
Rename TokenType -> TokenKind
|
2018-11-16 23:17:34 -08:00 |
|
greg
|
8680c4faf6
|
Just some notes for myself about how to redesign the AST type
|
2018-11-16 15:53:27 -08:00 |
|