Commit graph

17 commits

Author SHA1 Message Date
Myriad-Dreamin
6180e343e0
feat: move world implementation (#1183)
* feat: move world implementation

* dev: remove vector ir

* fix: errors

* fix: clippy

* fix: don't build world in web

* fix: unused patches

* fix: fmt

* fix: docs example

* fix: doc examples
2025-01-19 08:25:35 +08:00
Myriad-Dreamin
448ce484d8
fix: clippy error in rust 1.84 and deny warnings in CI (#1178)
* fix: clippy error in 1.84

* fix: deny warnings

* fix: clippy warnings and doc errors

* fix: warnings

* fix: warnings

* fix: warnings

* fix: compile error
2025-01-15 20:26:34 +08:00
Myriad-Dreamin
de8e45a539
refactor: rename local variables (cont.) (#1026) 2024-12-18 19:48:34 +08:00
Myriad-Dreamin
be1d659719
refactor: rename local variables and some types (#1023)
* fix: naming

* refactor: rename local variables and some types
2024-12-18 19:23:31 +08:00
Myriad-Dreamin
ace3df5409
feat: dynamic analyze import source for star imports (#935) 2024-12-03 17:02:54 +08:00
Myriad-Dreamin
b38e9bdf0e
feat: resolve module references in import at syntax level (#933) 2024-12-03 16:15:48 +08:00
Myriad-Dreamin
ed79045588
dev: disable all runtime check to log::debug! (#912) 2024-11-29 19:52:42 +08:00
Myriad-Dreamin
b8f65cf2ec
fix: clippy warnings in rust 1.83 (#907) 2024-11-29 14:50:22 +08:00
Caleb Maclennan
6f4aba4aa8 chore: Fix typos throughout code base (automatic)
This is all the typos that `typos` is confident can just be fixed
automatically, minus the overrides added to the manifest for the false
positives I found.
2024-11-25 09:26:53 +08:00
Myriad-Dreamin
a9800bc802
dev: introduce TypeType and Module type (#843)
* dev: introduce `TypeType` and `Module` type

g

* test: update snapshot

* test: update snapshot
2024-11-18 12:52:27 +08:00
Myriad-Dreamin
7ab125bbc2
fix: ensure expr and type enum are not too big (#811) 2024-11-14 11:47:34 +08:00
Myriad-Dreamin
411f29fd53
feat: recover support to goto definition of fields (#775)
* feat: goto field definition with type checking

* dev: minor changes

* dev: update snapshot
2024-11-08 16:15:31 +08:00
Myriad-Dreamin
67367b03bf
dev: hash imports of expr info (#756) 2024-10-31 23:27:59 +08:00
Myriad-Dreamin
1c1bc19caf
dev: more consistent way to get docs of decls (#752)
* dev: more consistent way to get docs of decls

* test: update snapshot
2024-10-30 22:29:07 +08:00
Myriad-Dreamin
c798d3037e
feat: show performance statistics in summary page (#743) 2024-10-29 11:16:59 +08:00
Myriad-Dreamin
1d49e110e2
dev: cache expression information correctly (#736)
* dev: cache expression information correctly

* rev
2024-10-27 20:20:59 +08:00
Myriad-Dreamin
81ebc8a635
feat: implement expression checker (#714)
* feat: implements expression checker

* dev: resolve information

* dev: delete def_use

* stage

* stage

* stage

* stage concurrent

* stage concurrent

* dev: better concurrency

* dev: final constant evaluation improvement

* dev: change reference site

* dev: handle comments

* dev: remove indirect import structure

* dev: adjust linked_def impl

* dev: finalize goto definition impl

* dev: replace all old import and def_use analyses with expr analysis

* dev: update expr_of snapshots

* dev: split def/expr, refactor definition

* dev: more consistent definition solver

* dev: rename definition crate

* dev: references work again

* dev: resolve root decl

* dev: resolve root decl

* dev: resolve global definitions

* dev: resolve tokens with world

* feat: render semantic tokens with expression information

* dev: loop detection

* dev: recover type checking

* dev: recover more type checking

* dev: refactor analysis context

* fix: process case of spread left

* dev: label inference

* dev: recover more signature checking

* dev: recover more ident reference checking

* dev: pass all tests

* Revert "dev: dirty changes"

This reverts commit 9ae2dacd0c96851e088feea76c61c184a1cf9722.

* test: update snapshot

* fix: bad cached signatures

* fix: slash problem
2024-10-25 23:52:11 +08:00