greg
|
d1c3b4a81b
|
Starting on halfexprs / binops
|
2018-08-19 18:44:54 -07:00 |
|
greg
|
f9181b5786
|
use expr_or_block where appropriate
|
2018-08-19 15:58:31 -07:00 |
|
greg
|
0e914cf057
|
Error message for parsing guards
|
2018-08-19 15:12:34 -07:00 |
|
greg
|
482674b19a
|
Start on expr_or_block
WIP doesn't work yet
|
2018-08-15 09:34:00 -07:00 |
|
greg
|
864e932e9f
|
Getting rid of more unused items
|
2018-08-14 23:09:11 -07:00 |
|
greg
|
4ca57e4aea
|
Change name of debug options struct
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
82502ad0ad
|
Move some parsing code around
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
7d68b2a05a
|
Get rid of code related to old match stuff
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
c2db212c78
|
Some more guard arm stuff + dealing with split binexp
... in if-blocks. Need to do some re-architecture I think
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
837a180b09
|
Starting work on guard arms
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
5ecd298e6a
|
Record Pattern
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
8aa33d0872
|
Starting on guards
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
21a8868bcf
|
Fixed test
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
5a91957fa1
|
Some incomplete parse work
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
176d43e56f
|
Remove old comment
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
90ecde89c9
|
Mutable types
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
65c2cd521b
|
Mutable types
This bit of syntax is meant for extendable enum types
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
f7dbbddad1
|
Let and let mut syntax
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
43ff08b04c
|
Add some debugging info around parse error
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
00692aa89e
|
Support for underscores
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
55a8cabd7c
|
Some basic pattern stuff
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
3c022fc4ef
|
Clarified BNF
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
0a02c21e70
|
Some more Patterns work
-at first brush, a pattern is like a single Variant with a list of free
vars
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
927f427a86
|
Starting work on patterns
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
005aba7a10
|
Test alt form
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
f582ab4eaa
|
Test for new style parsing
|
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
|
ba4cd9da39
|
Kill match keyword + data structures
And add new unified keywords
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
654eeef428
|
Clarified grammar BNF some
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
a96fbc9592
|
Fix match expression parsing
|
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
|
f3e3843528
|
Decomplexify delimited!
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
6b90e19eb1
|
Simplify expect! macro
Ends up printing a debug print, but whatever, will fix later
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
210ae47c8b
|
Get rid of lambda
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
70794d8ff1
|
For expression parsing
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
532c8c45b4
|
Parse while expressions
Decided to add while expressions to the language to make for-parsing
easier. Plus some other random notes
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
24b532df06
|
This doesn't need to be a closure
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
6f8dc9bedd
|
rename IntLiteral -> NatLiteral
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
4d5ab95946
|
Fix bug with / parsing
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
7686707602
|
Type alias Vec<String> -> Block
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
65f42981ff
|
Trait -> Interface
|
2018-07-26 00:52:46 -07:00 |
|
greg
|
6f43c3b81d
|
move schala into separate crate
|
2018-07-26 00:52:45 -07:00 |
|
greg
|
7730457878
|
Revert "Starting to split project into multiple crates"
This reverts commit e3b0f4a51e .
Bah, this was a bad idea, wrong way to do it
|
2018-07-26 00:52:45 -07:00 |
|
greg
|
46dbac7f69
|
Starting to split project into multiple crates
|
2018-07-26 00:52:45 -07:00 |
|