twinBASIC Update: May 2, 2021

Highlights include C-style block comments, support for additional Rubberduck annotations, and With blocks for UDTs.

twinBASIC Update: May 2, 2021

On April 23, 2021, I helped Wayne Phillips introduce the world to twinBASIC at the Access DevCon Vienna conference.  I boldly predicted that twinBASIC (along with the Monaco editor) would replace VBA and its outdated development environment by 2025.  With that goal in mind, this weekly update is my attempt to keep the project fresh in the minds of the VBA development community.

Every Sunday, I will be providing updates on the status of the project, linking to new articles discussing twinBASIC, and generally trying to increase engagement with the project.  If you come across items that should be included here, tweet me @NoLongerSet or email me at mike at nolongerset dot com.


If you would like to influence the future of the twinBASIC project, you can put your two cents in at this Github issue discussion: twinBASIC Roadmap / Priorities -- have your say!

Highlights

Block comments

Version 0.9.2177 added support for C-style block comments:

Rubberduck annotations

Added support for the following Rubberduck-VBA annotations:

With blocks for user-defined types

Implemented a known limitation of the preview version of twinBASIC:

With blocks are now supported for user-defined types.

Around the Web

A fun proof of concept

Olaf Schmidt posted a small (~100 lines) proof of concept application using twinBASIC and his vbRichClient-Framework:

You can grab the source code over at the twinBASIC Github project.

Changelog

Here are the updates from the past week.  You can also find this information by installing the twinBASIC VS Code extension and clicking on the Changelog tab of the extension page:

[v0.9.2220, 30th April 2021]

[v0.9.2177, 30th April 2021]

[v0.9.2136, 29th April 2021]

  • fixed: typelibrary coclass instantiation now checks for the TYPEFLAG_FCANCREATE flag at compile-time
  • fixed: property let/set assignments in typelibraries that have implicit lcid arguments not always binding correctly [ https://github.com/WaynePhillipsEA/twinbasic/issues/96 ]

[v0.9.2125, 29th April 2021]

  • added: vscode extension review request prompt (once only)
  • fixed: vscode extension error handling around launching the compiler EXE [ https://github.com/WaynePhillipsEA/twinbasic/issues/90 ]
  • improved: debug console 'time taken' now only counts the execution time, rather than the code generation + execution time, for more accurate timings

[v0.9.2100, 28th April 2021]

[v0.9.2021, 27th April 2021]

[v0.9.1944, 23rd April 2021]

All original code samples by Mike Wolfe are licensed under CC BY 4.0