muse code generator v 0.1 ready!
Great news! Using python I was able to create a flexible code generator. With this new tool users will be able to get up and coding in no time. For the latest version 0.1 the following features have been added:
- Creating a project – this creates all necessary directories for muse to function correctly
- Creating Agents – now you can generate Agent classes with stub methods for you to directly implement. This includes all necessary #include definitions.
- Creating States – now you can generate State classes with stub methods for you to directly implement. This includes all necessary #include definitions.
- Creating Events – now you can generate Event classes with stub methods for you to directly implement. This includes all necessary #include definitions.
For the next release I am working on ability to generate a Makefile for the user’s project. Also, when a project is created I am working on aumtomatically generating the main class with the calls to the Simulation class already set. My hope is to get far enough to have a project that can compile.
Tags: code generator, muse, muse features
Mar 26, 2009
Just to let readers know, as of this writing, I have completed Version 0.2
Latest muse code generator can generate a makefile and creates a main file with most of the calls to the basic API calls for you!