C generator still not implemented, what to do?!
Brought to you by:
where_
It appears that the C code generator is still WIP, but I
decided to try it anyway. After generating the C version
of the FSMIsEven example, the main modification that
was required to the generated code was to remove any
try/catch/throw code. There was also some residual
class information in the function declarations that had to
be removed. Also, bool is not ANSI C so I changed it to
int. Etc, etc, etc.
The attached zip file contains a working version of the
FSMIsEven example based on the code generated for C.
I'm not happy with the level of interdependence
between the generated C code, the api code, and the
user main code. I'm sure there are better ways to do it!
(But it's a start anyway)
The FSMIsEven example in C
Logged In: YES
user_id=595910
Steve, great! Really creative thinking!
I'm currently at an outsource in Italy, and untill I'm back in
Israel 03/2004, I simply can't find time to continue the
FSMGenerator development.
Unfortunately, people do not rush into developing modules for
FSMGenerator, such as generators for new languages. Also, I
don't get any current code patches.
I'd really appriciate such help, and the code contributers will,
of course, be awarded by the place in the FSMGenerator's
CONTRIBUTORS list!