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

490 Commits

Author SHA1 Message Date
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
oxalica
ed7c39f197 Inline lowering tests 2022-07-28 01:38:05 +08:00
oxalica
916017b9ec Impl more exprs and "with" scopes 2022-07-27 02:07:25 +08:00
oxalica
9ce13ad940 Replace Box<str> with SmolStr, rename and simplify 2022-07-26 18:03:51 +08:00
oxalica
e7e171f988 Fix UTF-8 handling in the lexer 2022-07-26 17:48:53 +08:00
oxalica
a277421d3d Add dev setup for LSP 2022-07-25 23:11:17 +08:00
oxalica
99eff707b6 Impl basic LSP server supporting goto-definition 2022-07-25 23:03:05 +08:00
oxalica
0d8cf14269 Impl Analysis interface 2022-07-24 13:37:22 +08:00
oxalica
2ff5eddeaa Impl goto_definition 2022-07-24 13:28:49 +08:00
oxalica
6a459c25ed Tweak database input and abstract Change 2022-07-24 11:01:40 +08:00
oxalica
f10a5ef89d Rename module crate::source -> crate::base 2022-07-24 09:48:15 +08:00
oxalica
e864a72304 Impl name scopes 2022-07-24 09:18:58 +08:00
oxalica
7dea1f73db Lower lambdas 2022-07-24 07:19:57 +08:00
oxalica
96d942f004 Dis-ambiguous between Expr::Ref and PatField::Name 2022-07-24 07:16:43 +08:00
oxalica
431b3255ef Impl all literals lowering 2022-07-24 07:02:45 +08:00
oxalica
d0132c886c Switch to use our custom parser 2022-07-24 05:14:11 +08:00
oxalica
d3b30a688a Impl high-level AST for parsed nodes 2022-07-24 04:27:12 +08:00
oxalica
9b1fd4c0d2 Introduce NAME node and fix behavior of "or" 2022-07-24 03:50:59 +08:00
oxalica
3a4e18c5a5 Add parser tests 2022-07-23 05:14:57 +08:00
oxalica
f48a103ee6 Impl nix parser with rowan 2022-07-23 05:14:54 +08:00
oxalica
4de99370f2 Use separated database for testing 2022-07-21 21:22:32 +08:00
oxalica
d9f4108b3a Introduce Name 2022-07-21 21:19:16 +08:00
oxalica
695c54de0c Impl source mapping 2022-07-20 00:59:37 +08:00
oxalica
168a02bbaa Make RootDatabase parallel and tweak 2022-07-20 00:16:53 +08:00
oxalica
fdca59f98a Impl incremental analysis framework 2022-07-20 00:14:22 +08:00
oxalica
42c2333b8b Init 2022-07-18 10:39:12 +08:00