This repo will be archived soon, a new version will come out, why archiving ? Simple, the regex is horrible I've done this while learning vscode api at the same time, I prefer restarting over with way better features:
- Semantic highlight
- Autocompletion
- Debugging
This is the README of the vivian's vscode extension, responsible for the syntax highlighting for now, it stills in beta For now it supports:
- Keywords
- Operators
- Comments (only one line comments)
- Variables
- Procedures
- Classes, Enums and Structs
- Wrong tokens, for now the extension has been focused on the highlight part but not the tokens, for example the
+
is considered as an assignment operator it will be fixed soon
- Improve regex, some of the regex are just ugly and should be improved
- Add conversion tokenization, so it'll handle differently some functions like
float64(x)
uint8(x)
etc - Add Multi-Line comments support
- Add semantic highlight support for better syntax and UX
Clone the project
Open it with vscode and hit F5
which will open a new window with the extension loaded