MicroC module - runtime error line

BlitzMax Forums/BlitzMax Programming/MicroC module - runtime error line

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

"And of course I see "GetParameterObject:Object(index:Int)", so you thought of the same thing. Awesome!"
- Yes not sure why I didn't include that in the first one.

"You can integrate this into the release if you like. It looks like the new version doesn't have TVMCommandSet anymore, but that's no big deal since the class hardly did anything, just called the VM's RegisterFunction method."
- What I really want to do is what I normally do when I design scripting languages, which is use reflection to register all functions within a class to the VM. Unfortunatly as far as I can see BMax can't get reflected details on static functions. Bit of a shame really :S.

Personally I think the best thing about this release, is the inclusion of type balancing, which caused some pretty odd errors in the first version (for instance int+string = int, when it should really be a string result).

I'm also considering to make this languaged typed rather than type-less, theres really only so many speed improvements you can make in a type-less language. I can usually make far faster VM's for typed languages.

I also wonder if I should post a topic about this module, or leave it in this one.

Anyhow should stop rambling now, I'll have a look at csgen. And if you have any suggestions on what else to put into the language I'll be happy to hear them :D.

Also do you think I should release the other language I made with this? I made two compilers for the VM, one with a basic syntax the other with this C syntax.