Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
:(
EDIT:
Some people may wonder why I removed the comptime interpreter so here is an explanation:
The comptime interpreter has been added a long time ago by @SuperAuguste . Since its addition, it has never actively been worked on and never went beyond the proof-of-concept stage. I don't think that this has been publicly mention but I recall that SuperAuguste and me had agreed that there is not much motivation to keep it around.
I myself have also experimented with a potential solution to the "comptime in ZLS" problem. It can be found in the techatrix/stage2-sema branch. It is similar to the Zig compiler implementation because it uses the same intermediate representation of Zig code (ZIR). Unfortunately with all the active work on the compiler this branch frequently breaks and I currently do not have the time to continue working on it.
The good news is that the Zig is getting closer to implementing incremental compilation. Which would provide ZLS with faster build-on-save diagnostics. With the addition of ziglang/zig#615, ZLS could also be provided type information from the compiler.