MicroC
Community Forums/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? | 
| 
 | ||
| Does anyone still have a copy of this ? http://www.binaryphoenix.com seems to be dead | 
| 
 | ||
| http://sites.google.com/site/indie2go/Home/microc.mod.zip Its mod path is binphx.microc | 
| 
 | ||
| Somewhat belated answer:  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?   The VM interprets a set of bytecodes which can be saved out to a binary file. In my experience the performance is acceptable but I have not used it for anything that could be considered CPU intensive to begin with. I didn't realize that the site for this module was dead. I have a few extensions and bug fixes in my version and some ideas for extending it further, as well as a tool to generate command set files for it. Perhaps I should start maintaining this package? I still use it in almost all of my Blitz projects. | 
| 
 | ||
| Thanks for that. Previously Ive used this in 2 of my projects, with which looks like the very first release. (dated 2005) I'll look at this version, I only really use it for setting variable and the like for screens - I love how simplistic it is. Blueapples - it would be interesting to see how you have extended it. |