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

98 Commits

Author SHA1 Message Date
oxalica
c91cf603e6 Rename mod 2022-08-18 00:39:00 +08:00
oxalica
709b5ea3c3 Cache name resolution result 2022-08-18 00:34:44 +08:00
oxalica
45869fa520 Use Pratt parser for operators 2022-08-17 05:42:39 +08:00
oxalica
0d3debc881 Remove unused code 2022-08-17 03:19:17 +08:00
oxalica
3e07f1c341 Enable line debuginfo for profiling 2022-08-17 03:17:37 +08:00
oxalica
bf1346971a Revert "Flatten Bindings into Arena in Module" (4b160fe412) 2022-08-17 00:35:17 +08:00
oxalica
2a999716b8 Fix source map of merged attrsets 2022-08-13 02:29:47 +08:00
oxalica
a2e7e9114d Rewrite liveness check algorithm
The previous one seems very problematic.
2022-08-12 21:51:13 +08:00
oxalica
a28eae65a8 Respect gitignore and fix root-dir detection of nvim 2022-08-12 20:11:33 +08:00
oxalica
7722749eeb Simplify tests 2022-08-11 20:28:50 +08:00
oxalica
c5ff7b1d04 Calculate source root closure 2022-08-11 19:11:04 +08:00
oxalica
79e89177a3 Impl related information for diagnostics 2022-08-11 17:18:15 +08:00
oxalica
746ebad9fc Tweak Diagnostic usage 2022-08-11 17:16:53 +08:00
oxalica
904ac9d9ec Simplify with fixture tests 2022-08-10 19:51:26 +08:00
oxalica
4c41f9140c Impl and unify tests using fixture 2022-08-10 19:24:45 +08:00
oxalica
e2d1b027dc Separate File{Pos,Range} from InFile 2022-08-10 18:16:54 +08:00
oxalica
f5d4fc9ee8 Enable backtrace and use debug build for testing 2022-08-10 18:06:15 +08:00
oxalica
d80888be7f Populate source roots during initialization 2022-08-10 02:49:31 +08:00
oxalica
2d0b9b0cf5 Use VfsPath in Path and impl path resolution 2022-08-10 02:02:38 +08:00
oxalica
cbfb8e522c Refactor source root handling 2022-08-10 01:02:00 +08:00
oxalica
365ec46cdc Split Path mod and intern it 2022-08-09 19:16:14 +08:00
oxalica
a96f80646d Add completion tests and fix 2022-08-09 17:56:35 +08:00
oxalica
874edff5b3 Setup coverage test for parser and fix 2022-08-09 17:01:01 +08:00
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