1
1
mirror of https://github.com/oxalica/nil.git synced 2024-11-23 12:03:30 +03:00
Commit Graph

22 Commits

Author SHA1 Message Date
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