oxalica
|
51e67142ad
|
Fix benchmark and enforce test success in CI
|
2023-10-16 21:47:53 +08:00 |
|
oxalica
|
bd7e2e2de7
|
Fix clippy warnings
|
2023-09-08 20:54:38 +08:00 |
|
oxalica
|
565472e8ae
|
Mass fix typos with typos
|
2023-08-06 22:31:06 +08:00 |
|
oxalica
|
00eae58f25
|
Fix lexing of block comments
|
2023-08-04 17:29:44 +08:00 |
|
oxalica
|
05b7d9e936
|
Update rustfmt and format let-else
|
2023-07-09 07:47:27 +08:00 |
|
oxalica
|
1bd6791944
|
Manually execute DFA lexers for performance
This reduces `lex` time by ~50%, and `parse_file` time by ~25%.
See: https://github.com/rust-lang/regex/issues/1029
|
2023-07-09 03:49:35 +08:00 |
|
oxalica
|
e4f5e55eb9
|
Add a benchmark for parsing the whole nixpkgs
|
2023-07-09 02:41:27 +08:00 |
|
oxalica
|
3a30b89588
|
Bump regex-automata to 0.3
|
2023-07-08 22:01:22 +08:00 |
|
oxalica
|
ecd6e0912e
|
Add benchmarks for the parser
|
2023-07-08 00:41:08 +08:00 |
|
oxalica
|
375d3d6a7f
|
Impl experimental SSR in CLI
|
2023-05-31 18:42:42 +08:00 |
|
oxalica
|
c69e0fb5fc
|
Defeated by regex
Fixes #75
|
2023-04-20 02:07:41 +08:00 |
|
oxalica
|
fe38ceaae6
|
Move string escaping to syntax::semantic and fix
|
2023-03-13 13:39:44 +08:00 |
|
oxalica
|
2552c08e39
|
Fix parsing of ' in indented strings
|
2023-03-11 23:13:46 +08:00 |
|
oxalica
|
bbca41c5ee
|
Apply clippy::uninlined_format_args
|
2023-03-10 16:10:09 +08:00 |
|
oxalica
|
4ec9367726
|
Apply clippy::manual-let-else
|
2023-03-10 16:10:09 +08:00 |
|
oxalica
|
4a9f128200
|
Apply clippy::{doc_markdown,missing-panics-doc}
|
2023-03-10 16:10:02 +08:00 |
|
oxalica
|
fc91c3f6d6
|
Rename confusing SyntaxKind::is_*
|
2023-03-07 03:30:52 +08:00 |
|
oxalica
|
4dd931f460
|
Enforce clippy::semicolon_if_nothing_returned
|
2023-02-14 23:54:14 +08:00 |
|
oxalica
|
ce2e0b5d60
|
Hoist common cargo settings and use resolver 2
|
2023-02-11 18:17:58 +08:00 |
|
oxalica
|
d9e0468ded
|
Update dependencies
|
2023-01-19 14:40:02 +08:00 |
|
oxalica
|
07543e5de8
|
Update rust toolchain to 1.66
|
2023-01-19 14:40:02 +08:00 |
|
oxalica
|
46eeb57f9b
|
Add { and } getters for Pat
|
2022-12-05 02:12:53 +08:00 |
|
oxalica
|
eb7c84c429
|
Remove rowan dependency from crates except syntax
|
2022-11-26 17:58:00 +08:00 |
|
oxalica
|
bea40f71fc
|
Impl string unescaping by parts
|
2022-11-17 03:11:21 +08:00 |
|
oxalica
|
c4bcb3015b
|
Impl indent string stripping
|
2022-11-17 02:59:14 +08:00 |
|
oxalica
|
276615a48d
|
Add tests for syntax::semantic
|
2022-11-16 23:11:27 +08:00 |
|
oxalica
|
170f89761d
|
Complete and add tests for AST getters
|
2022-11-16 22:40:36 +08:00 |
|
oxalica
|
4087d3acde
|
Optimize searching let and rec in Attrset
|
2022-11-16 21:39:53 +08:00 |
|
oxalica
|
1ac520b784
|
Refactor Attrset desugaring and move out some logic
|
2022-11-16 21:22:27 +08:00 |
|
oxalica
|
3749c6bb3a
|
Keep literal strings during lowering
|
2022-11-10 03:31:23 +08:00 |
|
oxalica
|
e3ce3bfca0
|
Move identifier check and quoting into syntax
|
2022-11-10 01:25:01 +08:00 |
|
oxalica
|
d714bedf1e
|
Construct empty NAME nodes for recovery
|
2022-11-07 11:24:30 +08:00 |
|
oxalica
|
19871b3842
|
Move string-related desugaring into syntax crate
|
2022-11-03 03:41:03 +08:00 |
|
oxalica
|
ac84014360
|
Clarify build requirements and add CI
|
2022-09-27 22:23:22 +08:00 |
|
oxalica
|
fe625a2692
|
Decouple error messages for human from tests
|
2022-09-25 21:40:28 +08:00 |
|
oxalica
|
ad1b27a6d8
|
Parse Expr in Binding-position as recovery
|
2022-09-25 21:40:28 +08:00 |
|
oxalica
|
8f9882d1ad
|
Always wrap error syntax in ERROR nodes
This prevents error tokens accidentally affect the container node, eg.
the dangling `let` inside an Attrset.
Fixes #20
|
2022-09-25 21:39:52 +08:00 |
|
oxalica
|
9bc685c1c8
|
Add instructions to run fuzzer
|
2022-09-20 19:56:37 +08:00 |
|
oxalica
|
f36ec4af63
|
Prettify syntax error messages
|
2022-09-20 19:53:34 +08:00 |
|
oxalica
|
5cab069314
|
Monomorphize UnexpectedToken error
|
2022-09-20 19:53:24 +08:00 |
|
oxalica
|
1463d498b5
|
Enhance error recovery for incomplete syntax
|
2022-09-20 18:16:07 +08:00 |
|
oxalica
|
d31baa16cb
|
Fix highlighting of or
|
2022-09-20 16:25:45 +08:00 |
|
oxalica
|
5bdf49686c
|
Refactor workspace layout
|
2022-09-06 01:54:33 +08:00 |
|