Pablo Hirafuji
0c20713f94
Add doc comment new line parsing
2020-11-06 13:57:41 -03:00
Brendan Hansknecht
4b901814f7
Fix memory leak with bumpalo String
2020-11-01 18:04:40 -08:00
Brendan Hansknecht
936521db1f
Make clippy happy
2020-11-01 09:41:46 -08:00
Brendan Hansknecht
11752117a5
Add other fuzz target
2020-10-31 18:56:08 -07:00
Brendan Hansknecht
2b4c873c73
Add README about running the fuzzer
2020-10-31 10:50:34 -07:00
Brendan Hansknecht
d00189530a
Add fuzzing to the parser.
...
As part of this, todos and panics where moved outside of this module
to elsewhere when they would cause fuzzing to fail.
2020-10-30 22:04:54 -07:00
Folkert
a43afc968d
vec to slice in parse tests
2020-10-29 00:14:48 +01:00
Folkert
047746c716
use only references (no Vec) in canonical AST
2020-10-29 00:12:44 +01:00
Anton-4
12821bf321
replaced deprecated std::u16::MAX with u16::MAX
2020-10-21 14:35:36 +02:00
Richard Feldman
f11479d255
Clippy makes a good point.
2020-10-19 00:01:33 -04:00
Richard Feldman
dfa61b4c18
Parse platform headers
2020-10-18 23:55:49 -04:00
Richard Feldman
5f5c4354da
Fix unary negation with field access
...
Fixes #509
2020-09-12 10:25:45 -04:00
Richard Feldman
532b5c4051
Reproduce #509 (unary negation parse bug)
2020-09-12 10:18:12 -04:00
Richard Feldman
3c39a331d7
Remove obsolete parse::ast::TypedBody
2020-09-07 09:19:25 -04:00
Richard Feldman
453fc0e27c
REVERT THIS! Temporarily break block strings.
...
Also disable some tests because trimming inputs
revealed some bugs I don't want to fix in this PR!
2020-08-31 23:22:10 -04:00
Richard Feldman
7682e09b0a
Fix some fmt stuff
2020-08-31 23:13:50 -04:00
Richard Feldman
74c0bdfd5a
Fix empty string parsing bug
2020-08-31 23:13:50 -04:00
Richard Feldman
5b27e10095
Reproduce empty string parsing bug
2020-08-31 23:13:50 -04:00
Richard Feldman
5080a7e24b
Parse unicode escape sequences
2020-08-31 23:13:50 -04:00
Richard Feldman
b995ccef75
Parse string interpolations
2020-08-31 23:13:50 -04:00
Richard Feldman
e661ca7f2e
Fix string literal parsing
2020-08-31 23:13:50 -04:00
Richard Feldman
f35e43768a
Get things compiling
2020-08-31 23:13:50 -04:00
Richard Feldman
d9a96c9c66
Simplify some pattern matching
2020-08-31 23:13:50 -04:00
Richard Feldman
8d1fad334f
Drop obsolete utf8_char() parsing fn
2020-07-28 20:51:48 -04:00
Richard Feldman
153308dbf1
clippy
2020-07-27 01:10:04 -04:00
Richard Feldman
273528db77
Fix remaining UTF-8 parsing issues
2020-07-27 01:10:04 -04:00
Richard Feldman
9f9ce327d4
Lazily validate that input bytes are valid UTF-8
2020-07-27 01:10:04 -04:00
Richard Feldman
a4b0bdc679
Fix parsing bug in accessor functions
...
(They weren't advancing the state by 1, because the state
advancement was relying on part_buf - which was empty
in the case of accessor functions due to having only parsed
the dot so far.)
2020-07-23 21:37:03 -04:00
Folkert
b45b39af5e
optional fields improvements
2020-07-21 15:25:21 +02:00
Folkert
29c3eebace
parse default optional expressions in pattern matches
2020-07-20 00:52:16 +02:00
Richard Feldman
eb3ee8ffa3
Fix a parse test
2020-07-18 13:51:04 -04:00
Richard Feldman
85f51ef39d
Introduce optional record fields
2020-07-18 12:31:17 -04:00
Richard Feldman
152e06186b
Reserved keywords can't be patterns
2020-07-17 19:49:27 -04:00
Richard Feldman
ef010d4dec
Fix parsing bug for malformed when-branches
2020-07-17 19:49:27 -04:00
Richard Feldman
6855c85002
Reproduce parsing bug with bad when-branches
2020-07-17 19:33:27 -04:00
Folkert
d7b2dc7a3b
fix test failures caused by def reordering
2020-07-11 02:01:23 +02:00
Folkert
672b67d527
initial version of annotation formatting
2020-07-09 17:41:21 +02:00
Folkert
9d67b11c0d
pretty error messages for integers
2020-07-07 22:10:23 +02:00
Chad Stearns
830394eadf
Comply with clippy
2020-06-21 17:24:14 -04:00
Richard Feldman
d5116d01b4
Ignore carriage returns
2020-06-16 23:04:00 -04:00
Richard Feldman
99dcda8603
Use inlinable_string 0.1
2020-05-31 20:14:19 -04:00
Richard Feldman
1d6d9ec994
Fix doc parsing bug
2020-05-23 22:43:09 -04:00
Richard Feldman
715b13263c
Reproduce doc parsing bug
2020-05-23 22:43:02 -04:00
Richard Feldman
7471cd5301
Add a test for parsing docs
2020-05-23 22:03:27 -04:00
Richard Feldman
3dac73d8d0
Parse doc comments
2020-05-23 22:03:21 -04:00
Richard Feldman
4d8cbc4811
Drop obsolete contains_newline method
2020-05-23 21:41:11 -04:00
Richard Feldman
ce9e7a91f6
Clean up some Cargo.toml files
2020-05-03 21:37:59 -04:00
Richard Feldman
ff953021d5
Fix parser bug with newline after '=' in def
...
Fixes #51
2020-05-03 08:50:55 -04:00
Richard Feldman
c856314e13
Reproduce parser bug with newline after '=' in def
...
See #51
2020-05-03 08:50:32 -04:00
Richard Feldman
2eea57a51a
Add some more detail to a todo
2020-05-02 22:19:29 -04:00