Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bandysc
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
bandysc
2y ago
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
2.
▲
by
bandysc
2y ago
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. Antlr4BuildT
3.
▲
by
bandysc
2y ago
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
4.
▲
by
bandysc
2y ago
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
5.
▲
by
bandysc
2y ago
Syntax Errors reporting was missing indeed, but I just added it now and it would show a message box (while you write the code)
6.
▲
by
bandysc
2y ago
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.
7.
▲
by
bandysc
2y ago
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 go
8.
▲
by
bandysc
2y ago
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
9.
▲
by
bandysc
2y ago
It runs on Mac and Linux! https://github.com/BAndysc/AvaloniaVisualBasic6 It even supports dotnet's NativeAOT, meaning you can get a native x64/arm64 binary!
10.
▲
by
bandysc
2y ago
I didn't add a handler for the click event for labels, fixed now :))
11.
▲
by
bandysc
2y ago
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 program