3 ms·
That's amazing to implement a full interpreter for VBA. I would imagine a lot of the type resolution are redundant. E.g. +, -, *, and / would have the same ty
by ww520 3y ago
That's amazing to implement a full interpreter for VBA.
I would imagine a lot of the type resolution are redundant. E.g. +, -, *, and / would have the same type resolution for numbers. Those can reuse the same type resolver. May be + also work on string. Then call the string type resolver on it in addition to see if it can be resolved.
Anyway, kudos for the amazing work.
- sancarn 3y agoI have an open source compiler-interpreter for VBA here: https://github.com/sancarn/stdVBA/blob/master/src/stdLambda.cls https://github.com/sancarn/stdVBA/blob/master/src/stdLambda.... In case you were interested :P (I say compiler, it compiled to byte code, not asm.)