Hi,
I need to embed a pb interpreter in my application, in other words I pass around pb code across different machines and they kind of overlap on the existing output
so either i need an interpreter which lets me share outputids/contexts with the existing program (so startdrawing(outputid) should be the same in both), or I need an include .pb which can interpret the entire pure basic visible code set and libraries and can be included in my executable.
any ideas? More like the older netscape days when one could draw graphics on the canvas using an interpreter. ofcourse i could always define a tag like "var type name" to define variables (strings and numbers and arrays) and define a local map which maps them back to global scoped variables.
using pbcompiler in interpreter mode
Re: using pbcompiler in interpreter mode
or if someone has a list of all the PB inbuilt Procedures and their parameters on one page....pass it over, it would be great
Re: using pbcompiler in interpreter mode
I'm not sure this is possible with PB, unless you're willing to hand-code your own interpreter. PB compiles straight to ASM and uses a huge number of OS-dependent API's to get things done.
With that said, I'm not even sure from your post what you're aiming to do exactly, but it seems like a no-go to me.
With that said, I'm not even sure from your post what you're aiming to do exactly, but it seems like a no-go to me.
Innesoft - The Software Marketplace - Innesoft Blog
» Applications, Educational Software, Casual Games
» Applications, Educational Software, Casual Games
Re: using pbcompiler in interpreter mode
..no issues hand writing the interpreter...