-
Notifications
You must be signed in to change notification settings - Fork 90
Closed
Description
I'm adding this as a medium term aim. The linter seems to cause more trouble than it's worth, I can't do any work without having it disabled and more often than not I'm uninterested in it's messages.
I've begun to strip/rewrite JuliaParser so that it's a bit less opaque and have started on implementing the lexer/parser that retains whitespace. It'll take a while but when it's done the parser in conjunction with the language server protocol 3.0 should be able to:
- provide a CST that can regenerate the source file.
- return specific (actionable) information on parse errors (i.e.
error("expected 'end')-> insert end) - be able to return some formatting hints (i.e. indent rules, spaces after commas, etc)
- keep track of the name space (a la
namespace.jl) as it parses to warn of conflicting names, use of globals, etc
Eventually this should be able provide all the non-evaluated functionality that Lint.jl does.
davidanthoff
Metadata
Metadata
Assignees
Labels
No labels