GithubHelp home page GithubHelp logo

Comments (4)

retailcoder avatar retailcoder commented on June 10, 2024

Rubberduck is not currently able to compile VBA code, although its guts are probably something like 80% of the way already, however we do not intend to do this. Rather, we might (eventually... think v4.x) look into feeding the VBA code as-is to twinBASIC (tB), and have tB (100% VB6/VBA compatibility!) compile the native code. twinBASIC executables are extremely small and performant, and require zero dependencies.

from rubberduck.

pflugs30 avatar pflugs30 commented on June 10, 2024

I'm interested in something like this idea, too. I've tried building something of a Continuous Build / Continuous Integration pipeline for VBA projects, and I've wanted to build the code from an automated process. I've learned it's not a simple task... :-)

from rubberduck.

daniellellouche avatar daniellellouche commented on June 10, 2024

from rubberduck.

retailcoder avatar retailcoder commented on June 10, 2024

RD3 is going to capture a lot more symbols than 2.x ever did, and a type system is being crafted; the idea is simply to adhere to the language server protocol (LSP), and we'll have to see exactly how much more detailed we get, but between capturing every single symbol / resolving a type for every single one of them, and actually interpreting user code, the gap is seriously narrowing.

However, compilation is out of scope for 3.0; we'll cross the bridge when we get to the river, but it wouldn't be impossible to leverage twinBASIC for this, although it would probably be 32-bit executables and libraries (tB does compile x64, but not for free!) - in theory the Rubberduck Editor could talk to the tB language server in exactly the same way it talks to the Rubberduck language server, too, so there's absolutely going to be something to explore in that area, perhaps around v3.1!

from rubberduck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.