Hacking VBA to support native scripting runtime with no COM dependencies

https://news.ycombinator.com/rss Hits: 3
Summary

Advanced Scripting Framework (ASF) Modern scripting power inside classic VBA. Fast to adopt (No COM dependencies) โ€” impossible to ignore due its incredible power. Turn VBA into a full-featured script host. ASF brings modern scripting ergonomics (first-class functions, closures, arrays & objects, method chaining, builtin helpers like map / filter / reduce , and even VBExpressions) to classic VBA projects โ€” without leaving the Office ecosystem. ASF is an embeddable scripting engine written in plain VBA that brings modern language features โ€” first-class functions, anonymous closures, array & object literals, and safe interop with your existing VBA code โ€” to legacy Office apps. This project provides a production-proven compiler and VM plus a complete test-suite validating semantics and runtime behavior. Why ASF? Seamless bridge between VBA codebases and modern scripting paradigms. between VBA codebases and modern scripting paradigms. No external runtime โ€” runs on top of VBA using a compact AST interpreter. โ€” runs on top of VBA using a compact AST interpreter. Powerful features not found in any other VBA tool: shared-write closures, expression-level anonymous functions, nested arrays & objects, array helpers, VBExpressions integration, method chaining, and more. not found in any other VBA tool: shared-write closures, expression-level anonymous functions, nested arrays & objects, array helpers, VBExpressions integration, method chaining, and more. Native regex engine a pure VBA class module that supports lookarounds, multiline, atomic groups, back reference replace method with placeholders, non-capturing groups and more!. a pure VBA class module that supports lookarounds, multiline, atomic groups, back reference replace method with placeholders, non-capturing groups and more!. Tested โ€” the comprehensive Rubberduck test-suite passes across arithmetic, flow control, functions, closures, array/object manipulation, builtin methods, regular expressions, variables injection. โ€” ...

First seen: 2026-01-03 16:18

Last seen: 2026-01-03 20:18