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

75 Commits

Author SHA1 Message Date
oxalica
ac11294134 Fix parser fuzz failure 2022-08-09 16:04:38 +08:00
oxalica
9f9dc6a9ae Setup fuzzer for parser 2022-08-09 15:55:23 +08:00
oxalica
f2006b83d1 Fix panic 2022-08-09 07:32:09 +08:00
oxalica
11a690bb73 Enhance completion 2022-08-09 07:25:57 +08:00
oxalica
9ef631bb0c Classify completion kinds 2022-08-09 06:44:09 +08:00
oxalica
e222ab8363 Impl liveness check 2022-08-09 06:15:48 +08:00
oxalica
8cab7d5f8b Store ExprId in InheritFrom bindings 2022-08-09 03:44:25 +08:00
oxalica
4b160fe412 Flatten Bindings into Arena in Module 2022-08-09 03:29:36 +08:00
oxalica
61819663d8 Remove unnecessary InFile wrapper 2022-08-07 17:38:52 +08:00
oxalica
17f917dd3f Emit warnings for empty LetIn 2022-08-07 17:25:59 +08:00
oxalica
a9ca4def41 Separate Expr::RecAttrset from Expr::Attrset 2022-08-07 17:15:07 +08:00
oxalica
468911a061 Introduce NameDefKind and warn merging of RecAttrset 2022-08-07 03:37:10 +08:00
oxalica
8b06bded12 Fix missing cases 2022-08-07 03:26:41 +08:00
oxalica
c7eb03aa8c Add README about warnings 2022-08-07 00:13:54 +08:00
oxalica
5b5c40d9f9 Fix parser panic 2022-08-06 15:28:33 +08:00
oxalica
c1cc3709ae Impl warnings for empty inherits and legacy syntax 2022-08-06 15:28:00 +08:00
oxalica
7c555755fc Impl diagnostics publishing 2022-08-06 00:37:28 +08:00
oxalica
6613e56095 Restructure LSP glue code 2022-08-06 00:37:28 +08:00
oxalica
eed51c5240 Refactor attrset merging to fix error locations 2022-08-06 00:37:28 +08:00
oxalica
e30c6aa654 Refactor error structs 2022-08-06 00:37:28 +08:00
sauricat
17fc5fdfec Update README 2022-08-05 21:21:03 +08:00
oxalica
35d2bac1fb Impl path interpolation and loosen path grammar 2022-08-04 19:58:21 +08:00
oxalica
08f9b7d338 Merge path kinds into one token in parser 2022-08-04 19:58:21 +08:00
oxalica
83e2d113dd Fix flake and avoid name clash 2022-08-04 19:58:17 +08:00
oxalica
bca921c5c0 Package as flake 2022-08-04 16:09:20 +08:00
oxalica
3f6751ab4c Update README 2022-08-03 18:57:52 +08:00
oxalica
0b471673d1 Impl references lookup of "with" and move tests 2022-08-03 15:57:50 +08:00
oxalica
b5ef959eda Use "with" expr itself for scope calculation 2022-08-03 15:56:21 +08:00
oxalica
5811c2112d Avoid unwrap in test framework fns 2022-08-03 01:44:28 +08:00
oxalica
8b615966f2 List features in README 2022-08-02 12:03:47 +08:00
oxalica
81acff1797 Impl textDocument/reference 2022-08-02 11:53:44 +08:00
oxalica
aad853f31e Impl name reference lookup 2022-08-02 11:51:38 +08:00
oxalica
675c3ab022 Enforce merging of "use" stmts 2022-08-02 03:27:55 +08:00
oxalica
bc9dc1546f Add README 2022-08-01 09:31:10 +08:00
oxalica
aecdb67218 Licenses 2022-08-01 09:12:08 +08:00
oxalica
023a99fd34 Impl simple completion 2022-08-01 08:30:39 +08:00
oxalica
bd8be85e34 Fix panic when lowering search paths 2022-08-01 08:29:00 +08:00
oxalica
a8f8e72856 Log properly 2022-08-01 05:08:23 +08:00
oxalica
f496f10160 Return all "with" envs in name resolution 2022-08-01 04:26:13 +08:00
oxalica
7e36f8a81b Handle builtin names 2022-08-01 04:26:13 +08:00
oxalica
76a27d724a Enhance fixture parsing in tests 2022-08-01 04:26:13 +08:00
oxalica
b28628ec0d Fix panic when lowering malformed Attrset 2022-07-31 06:15:20 +08:00
oxalica
66d49cc145 Fix space handling when parsing "{} @ a: e" 2022-07-31 05:58:07 +08:00
oxalica
4c21427c4d Handle UTF-16 offset conversion for LSP 2022-07-31 05:41:24 +08:00
oxalica
54deef38c2 Support goto-definition for inherited attrs 2022-07-31 04:05:47 +08:00
oxalica
2e5189071d Generate diagnostics during lowering 2022-07-31 03:59:22 +08:00
oxalica
63e01c3411 Impl scope calculation for bindings 2022-07-31 02:55:08 +08:00
oxalica
73d71845f6 Update rowan and tweak tests 2022-07-31 02:49:48 +08:00
oxalica
0b643ddc0d Impl Attrset lowering with desugaring 2022-07-31 02:01:23 +08:00
oxalica
d31c62a5ad Add more lowering tests 2022-07-28 01:38:13 +08:00