bandysc
bandysc on Hacker News
Antlr is build with Java so in order to build the grammar, it needs to either use system java or download one. I don't know any better alternative to Antlr.
Of course I could manually generate .cs files and commit them to the repo, but Antlr4BuildTasks automates everything which is very convenient.
I don't know any better alternative than ANTLR for grammar generation, this is unfortunately written in Java, so there is not a good way to avoid it. I mean, I could manually generate .cs files and commit them to the repo.
Antlr4BuildTasks at least automates this step (both downloading java and building antlr4).
Long story short, I don't see a better alternative for grammar generation now.
Syntax Highlighting actually is there, it was added after the gif was recorded (you can see that on the web version), autocomplete, hmm, maybe later? :)
VB6 language is limited as well, it was more a toy/proof of concept, but given the positive feedback I am tempted to implement more functionality. Especially since the save format is compatible with VB6. It is still gonna be a toy, but actually working toy?
Actually, in Avalonia accelerator char is an underscore _, but I just pushed an update to support & as well :)
Save actually works! On Desktop tho, what is more it is format compatible with VB6! Of course since the support in general is limited, compatibility is limited as well, but I actually plan to improve it a bit.
Build also works, but only on desktop ;)
Syntax Errors reporting was missing indeed, but I just added it now and it would show a message box (while you write the code)
Hey, author here, I didn't implement all the properties and events, i.e. the Click event on labels was missing. Updated the website with all the basic events.
Hey, author here, only a subset of VB6 language is implemented, I also didn't implement all properties and events, i.e. the Click event on labels. Updated the website with all basic events.
Considering how much response this project got, I might improve the VB6 interpreter :)
Hey, author here, I built everything from scratch. It supports only a subset of VB6 so it wasn't difficult or long. I wrote an interpreter for VB6 code
I didn't add a handler for the click event for labels, fixed now :))
Author of the demo and library here, thank you for kind words, this was my goal to achieve almost pixel perfect recreation of the original GUI (which is sometimes not very easy as some components look slightly different in different programs, I meant small differences in buttons sizes, paddings, etc.).