Commit graph

117 commits

Author SHA1 Message Date
Richard Feldman
41ddfc149b Rename Let to Assign 2019-06-13 00:24:54 -04:00
Richard Feldman
d6bfc42142 Add some more variant tests 2019-06-13 00:23:10 -04:00
Richard Feldman
92f9a770a8 Reproduce failing function call case 2019-06-13 00:03:04 -04:00
Richard Feldman
b48eef79b2 Reproduce nonempty variant pattern match bug 2019-06-12 23:28:25 -04:00
Richard Feldman
6ccdade335 Reproduce some failing case patterns 2019-06-12 23:19:16 -04:00
Richard Feldman
62cd13e845 Reproduce failing case-expression parse 2019-06-12 22:07:30 -04:00
Richard Feldman
3f8dc42527 Add test to repro case parsing bug 2019-06-12 21:55:28 -04:00
Richard Feldman
9ff94584b5 Split out parens_with_spaces test 2019-06-12 21:25:16 -04:00
Richard Feldman
296bf6fa9d Fix some function application bugs 2019-06-12 21:25:16 -04:00
Richard Feldman
5a8cdce724 Fix parsing multiline fn application in let 2019-06-12 21:25:16 -04:00
Richard Feldman
29ae330ed6 Rename test modules 2019-06-12 21:25:16 -04:00
Richard Feldman
6315ca14e5 Fix string interpolation 2019-06-12 21:25:16 -04:00
Richard Feldman
457fc83faf Add failing test case for let with application 2019-06-12 21:25:16 -04:00
Richard Feldman
826b0d5ab0 Fix variants getting mixed up with bools 2019-06-12 21:25:16 -04:00
Richard Feldman
c2cec85202 Second attempt at string interpolation 2019-06-12 21:25:16 -04:00
Richard Feldman
16320a0ad5 Add failing string interpolation test 2019-06-12 21:25:16 -04:00
Richard Feldman
81b005c33d Reproduce nested let bug 2019-06-12 21:25:15 -04:00
Richard Feldman
34229d3a29 Cut unnecessary stuff 2019-06-12 21:25:15 -04:00
Richard Feldman
6c0e34f5fc Use SmallVec for patterns 2019-06-12 21:25:15 -04:00
Richard Feldman
b034e8a486 Revert "Use immutable Vector in Expr"
This reverts commit 89eb88deace1eac2bebdf640ef00bdabf17fef6a.
2019-06-12 21:25:15 -04:00
Richard Feldman
1087a15d32 Use immutable Vector in Expr 2019-06-12 21:25:15 -04:00
Richard Feldman
064665c3b5 Add multiline_func test 2019-06-12 21:25:15 -04:00
Richard Feldman
21cc3c9333 Fix some variant parsing bugs 2019-06-12 21:25:15 -04:00
Richard Feldman
ae53e611c7 Remove parse_ prefix from parse tests 2019-06-12 21:25:15 -04:00
Richard Feldman
a9f5e258c6 Add failing test for indented if 2019-06-12 21:25:15 -04:00
Richard Feldman
5787fed8bd Rename test_parse module 2019-05-26 23:10:48 -04:00
Richard Feldman
d2fa6f003a Add more multi-arg function tests 2019-05-26 10:57:51 -04:00
Richard Feldman
edf2c2f9d0 Add test for calling function with multiple args 2019-05-26 01:26:14 -04:00
Richard Feldman
ca8fae6ca1 Fix function application and operator precedence 2019-05-26 01:24:57 -04:00
Richard Feldman
1819b9955f Functions can take mulitple args. 2019-05-26 01:09:36 -04:00
Richard Feldman
55020f6d9f Reduce Boxing for Apply 2019-05-22 22:04:30 -04:00
Richard Feldman
9b13df8fd7 Add a more complex let test 2019-05-22 22:02:44 -04:00
Richard Feldman
91aac9a86e Introduce Pattern 2019-05-22 21:54:46 -04:00
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
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
28e3978f10 Remove box syntax and some whitespace 2019-05-18 23:47:34 -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
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