MicroC

Miscellaneous Forums/Blitz Showcase/MicroC

Having noticed that somebody was using a very old module called MicroC I wrote about 2 years back, I choose to rewrite it over the last couple of days. And this is the result;

http://www.binaryphoenix.com/index.php?action=download&id=92

Its a very user-friendly, open-source, typeless scripting language for BlitzMax, it has a number of different features, from eachin support, to dynamic binding of blitzmax functions. It even has a nice command line compiler that can generate glue-code with ease.

It also comes with two compilers, one with a C-style syntax and the other with a more BASIC style syntax, both of which run on the same virtual machine.

Anyhow, enjoy. When I get the chance I will write a help file explaining how all the features work. However the majority of it is pretty obvious from reading the function comments.

cool, i'll give it a try, i'll see how it racks up against briskvm.

It won't be as fast, I can tell you that to begin with. The method I used to implement typless behaviour is signficantly slower than if I had gone down the typed route. But its fast enough to do its job.

This sounds like just what I need. Does it support includes?

very interesting, I plan to start using it.

Currently, its a simple scripting framework. Things like preprocessors have not been implemented yet. However its easy enough to do, and I will look into doing it when I get the chance.

Please note the above download is not the latest version - I ran into this just today after I saw bugs we had already fixed come up again on a new machine. For the latest download find the most current date on the project page: http://www.binaryphoenix.com/index.php?action=viewproject&pid=11

Is it just me, or does the EachIn example in the Samples folder not work?

You said this runs on a virtual machine. Does the virtual machine just interpret some kind of bytecodes, or is there ever at any point compilation to binary executable?