Richard Feldman
|
89c71e9c1d
|
Fix indentation checking on spaces
|
2019-05-22 20:29:39 -04:00 |
|
Richard Feldman
|
ed8c7618df
|
Add more operator and paren tests
|
2019-05-22 19:43:06 -04:00 |
|
Richard Feldman
|
21d1a99a1f
|
Got let-exprs and vars coexisting
|
2019-05-22 19:38:33 -04:00 |
|
Richard Feldman
|
23e2f04468
|
wip trying to get let working
|
2019-05-22 00:17:45 -04:00 |
|
Richard Feldman
|
530a50be14
|
Use indentation tracking and unexpected_any for ident problems
|
2019-05-21 22:18:33 -04:00 |
|
Richard Feldman
|
b3f3f08c96
|
Add Expr::Let
|
2019-05-20 22:02:24 -04:00 |
|
Richard Feldman
|
72a7cf8d1b
|
Make IndentablePosition
|
2019-05-20 21:44:10 -04:00 |
|
Richard Feldman
|
cc4759b239
|
Add SourcePosition to parser
|
2019-05-19 20:10:50 -04:00 |
|
Richard Feldman
|
dd0b62deec
|
Update gui
|
2019-05-19 00:28:59 -04:00 |
|
Richard Feldman
|
28e3978f10
|
Remove box syntax and some whitespace
|
2019-05-18 23:47:34 -04:00 |
|
Richard Feldman
|
757aac6343
|
Window clearing
|
2019-05-17 06:26:28 -04:00 |
|
Richard Feldman
|
eb36087fd4
|
Store WinitState
|
2019-05-16 21:36:00 -04:00 |
|
Richard Feldman
|
887b68a680
|
Add gui/src/main.rs
|
2019-05-16 21:27:41 -04:00 |
|
Richard Feldman
|
8222c11a9e
|
Add if-expressions
|
2019-05-07 21:30:02 -04:00 |
|
Richard Feldman
|
a842ce376d
|
Fix parsed apply missing an attempt
|
2019-05-04 16:57:20 -04:00 |
|
Richard Feldman
|
f75f4a3ae7
|
Restore failing test for parsed apply
|
2019-05-04 16:40:04 -04:00 |
|
Richard Feldman
|
1513a50f72
|
Add test for complex expr with 2 operators
|
2019-05-04 16:39:54 -04:00 |
|
Richard Feldman
|
1831dfe9c0
|
Fix bug with parens followed by operator
|
2019-05-04 15:18:41 -04:00 |
|
Richard Feldman
|
20528cc3f3
|
Use SyntaxProblem for idents that begin with a digit
|
2019-05-04 15:14:04 -04:00 |
|
Richard Feldman
|
cfa05f1078
|
Identifiers must have at least 1 char
|
2019-05-04 13:32:20 -04:00 |
|
Richard Feldman
|
2a67b3fcd3
|
Made IdentProblem a thing
|
2019-05-04 13:10:18 -04:00 |
|
Richard Feldman
|
9bedae3ba6
|
Move eof() out of expr() and into tests
|
2019-05-03 23:37:34 -04:00 |
|
Richard Feldman
|
58fff43764
|
Add some more test cases
|
2019-04-19 23:54:40 -04:00 |
|
Richard Feldman
|
c8e18f0309
|
Rename some stuff from maybe to opt
|
2019-04-19 23:54:05 -04:00 |
|
Richard Feldman
|
62cdb0b69e
|
Skip spaces at end of expr
|
2019-04-19 23:53:47 -04:00 |
|
Richard Feldman
|
b6289b1283
|
Fix paren parsing
|
2019-04-19 22:14:43 -04:00 |
|
Richard Feldman
|
6c84cb43fc
|
Fix parsing vars and funcs
|
2019-04-19 20:53:14 -04:00 |
|
Richard Feldman
|
5c9c77dbe0
|
Actually parse string literals
|
2019-04-19 20:52:47 -04:00 |
|
Richard Feldman
|
21826c6e29
|
Add parens and function application
|
2019-04-17 21:03:50 -04:00 |
|
Richard Feldman
|
5db85ab23e
|
Expand var parsing tests
|
2019-04-17 20:30:13 -04:00 |
|
Richard Feldman
|
bc00365bac
|
Expressions must end in eof
|
2019-04-17 20:30:05 -04:00 |
|
Richard Feldman
|
dce39428f2
|
Add Var
|
2019-04-17 20:12:16 -04:00 |
|
Richard Feldman
|
26db018067
|
Add test for Var
|
2019-04-17 20:12:12 -04:00 |
|
Richard Feldman
|
9ea059a718
|
Cleanup warnings, get tests passing
|
2019-04-17 19:39:53 -04:00 |
|
Richard Feldman
|
864eecf44c
|
Delete obsolete stuff
|
2019-04-17 19:32:10 -04:00 |
|
Richard Feldman
|
0fd2bde5cd
|
cp src/ old/
|
2019-04-17 19:15:30 -04:00 |
|
Richard Feldman
|
037d2bb400
|
Add a specialized error message for empty char
|
2019-03-15 22:16:01 -04:00 |
|
Richard Feldman
|
7ebf56e7fc
|
Add more string and char literal parsing tests
|
2019-03-15 00:46:57 -04:00 |
|
Richard Feldman
|
2006f1e9aa
|
Update some comments
|
2019-03-15 00:40:08 -04:00 |
|
Richard Feldman
|
3f304aca72
|
Parse chars
|
2019-03-15 00:39:03 -04:00 |
|
Richard Feldman
|
01fcd2e9ad
|
Parse string literals with escapes.
|
2019-03-15 00:16:01 -04:00 |
|
Richard Feldman
|
6bda934271
|
Refactor number literal tests
|
2019-03-14 21:42:28 -04:00 |
|
Richard Feldman
|
3926472d4c
|
Parse basic strings
|
2019-03-14 21:38:57 -04:00 |
|
Richard Feldman
|
c00e282d0f
|
Drop unused imports
|
2019-03-14 21:27:10 -04:00 |
|
Richard Feldman
|
e9ed1f3a58
|
Use is_none
|
2019-03-14 21:20:25 -04:00 |
|
Richard Feldman
|
d57716ffe6
|
Shorten test names
|
2019-03-14 21:18:38 -04:00 |
|
Richard Feldman
|
f03fcbd0c2
|
Allow space-separated numbers
|
2019-03-14 21:17:35 -04:00 |
|
Richard Feldman
|
6c2aaf3234
|
Parse ratios
|
2019-03-14 20:58:27 -04:00 |
|
Richard Feldman
|
956f305485
|
Add basic parser
|
2019-03-13 22:44:32 -04:00 |
|
Richard Feldman
|
05d75e3fcc
|
Revert "Try porting elm/parser"
This reverts commit fc6c09caaf .
|
2019-03-13 19:53:15 -04:00 |
|