Luncher91 / VBScript-vscode

A vscode extension for VBScript language support
MIT License
20 stars 5 forks source link

Create an ANTLR grammar #2

Open Luncher91 opened 6 years ago

Luncher91 commented 6 years ago

With the experience of the first versions of the plugin I like to create a ANTLR grammar to get an abstract syntax tree for further improvements of symbols and quicker file scanning so we can provide things like workspace wide symbols and syntax checks.

A abstract syntax tree will make it easy to implement much more language server features and the support for every plugin user.

This issue can be used to collect any suggestions and information on creating an ANTLR grammar for VBScript.

Luncher91 commented 6 years ago

I found a GOLD Parser grammar and got it working with the current version with a few tweaks and bugfixes. But I wil concentrate more on issue #3 because the current symbol recognition already does a satisfying job and the greater value will be given by the debugger functionality.