r/vba • • 20d ago

Show & Tell RDCore v0.1.0-alpha is here

Blog: http://rubberduckvba.blog/2026/11/11/introducing-rdcore-rd-vba-language-platform-v0-1-0-alpha/

Rubberduck becomes VBA and introduces RD-VBA.

This is it, this is what the Rubberduck 3.0 pipe dream was, except it's an entire language platform, not just a VBE add-in: the platform itself ships a runtime, a host, a SDK, and a language server.

The host executable is also a CLI tool and REPL LSP client/editor that works essentially like BASIC did, but with ghost-text line edits, syntax highlighting and conditional breakpoints and error stack traces, block foldings, diagnostics and code actions, completion lists that understand PascalCase, signature help, an `Erl` function that actually works, application settings in .json files, air-gapped external and native calls, and much more: it's a demo of (almost) everything the platform can do, wrapped up in a fun, theme-enabled BASIC shell that runs everywhere .net does.

18 Upvotes

11 comments sorted by

5

u/still-dazed-confused 20d ago

Forgive an extremely naive question as I'm not technical :). Does this price VBA code which lives inside the ms office file and is distributed inside it or does it produce separate executable programs that run alongside ms office?

2

u/rdcore-admin 20d ago

It's the second one: you get to build your own reusable compiled libraries and executables, automating Excel and COM from the sidelines, a bit like Microsoft tried to do with VSTO, but with actual VBA/VB6, so the code changes are minimal, not a VB.NET rewrite in a completely different paradigm.

1

u/oMaster86 20d ago

I think I get it: automation is great for aggregating feeds. But, I wrote many text processing functions callable in Excel. Will they still be callable from Excel? Do I need to segregate my code base?

3

u/rdcore-admin 19d ago

They won't be, because there is no host that binds the Application symbol to anything, even with a reference to the Excel object model - the idea being to free VBA from its Microsoft shackles, so something like Excel UDF isn't (yet) a supported use-case. But VBA code that runs in Excel to, say, automate Access or Word, would run as-is. As would VBA code that automates Excel using an Application instance it creates itself.

As for segregating the code base, the answer is that it's a natural consequence of source code no longer living inside a document: source code lives somewhere like C:\Dev\Repos\<Project>\src, everything is under git source control, and then you get to organize your projects into actual folders, include a README.md and documentation, even Excel workbooks that the project automates.

It's a paradigm shift: now reusing code stops meaning "drop these 20 modules into your project and now you have one more place to maintain it in", and starts being more like "build your library once, reference it everywhere you need to, and then update it in once place, and none of the referencing projects need code changes anymore.

1

u/still-dazed-confused 20d ago

Excellent, thanks for the clarification

5

u/ScriptKiddyMonkey 1 20d ago

So, this is basically RD3 or what 3 would have been.

I'm excited to test this out. Thank you guys so much for everything over the past few years.

3

u/rdcore-admin 20d ago

Yes! Diagnostics/inspections and quickfix/code-action parity is coming next week, and then RDForms is under way too; Extract Method is almost done; Edit & Continue lets you apply edits that MS-VBA restarts your debug session over; this isn't a VBE skin with a dark theme 😉

3

u/TheOnlyCrazyLegs85 4 20d ago

I tried it for a bit last night as soon as I saw the post.

The neat thing with the rdc install is that I can place the .NET binaries inside of the unzipped directory inside RDCore.CLI and it'll install the binaries as well.

Question for you. Will you also integrate the unit testing feature from previous RD versions? That would be incredible. It would really put RDCore above other platforms targeting the demographic of VBA/VB6 outside of the hosting application.

I've always wanted to use Neovim to write my VBA code. I've started with a simple project with twin basic, which of course had to be done with their editor. However, now with RDCore, I can make standalone apps that can still work with the various MS office products as well as other COM interfacing apps, all while still using the same language I've been using for the past 10 years. And!! With my editor of choice! Noice!!

2

u/rdcore-admin 20d ago

Absolutely, that was the plan all along! The platform means to support extensions - RDCore.Diagnostics being the only one shipping with the platform itself, and I have a lot of work to do on that front still (hence alpha!), but yes, and it'll be free and open-source too! I'm planning to open the marketplace at some point during the beta phase, so not yet, but it's definitely planned!

2

u/MultiUserDungeonDev 17d ago

Wish you luck and much success in your endeavors, and appreciate you and the Rubberduck project.

1

u/Autistic_Jimmy2251 19d ago

I need a standalone VBA to control this environment that already supports VBA but that I have not been able to fully automate the way I need to:

https://www.rocketsoftware.com/sites/default/files/resource_files/reflection-desktop-pro.pdf