Recent submissions

Comment · 2 years 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 Antlr4BuildTasks automates everything which is very convenient.
Comment · 2 years 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.

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.

Comment · 2 years 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 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?

Comment · 2 years 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 limited, compatibility is limited as well, but I actually plan to improve it a bit.

Build also works, but only on desktop ;)

Comment · 2 years 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)
Comment · 2 years 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.
Comment · 2 years 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 got, I might improve the VB6 interpreter :)

Comment · 2 years 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
Comment · 2 years 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!
Comment · 2 years ago
I didn't add a handler for the click event for labels, fixed now :))
Comment · 2 years 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 programs, I meant small differences in buttons sizes, paddings, etc.).

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton