Mruby : generating readable c code


In the blog Daniel Bovensiepen Li

there is a section Readable C code where the author says that:

$ mruby/bin/mrbc -Cinit_tester test_program.rb

This produces the C file test_program.c… "

However a quick help for mrbc shows the -c switch shows syntax

On my machine when I use the above commands , the response is :

mrbc: output file should be specified to compile multiple files

What is wrong here , and how do we generate the Readable c code as
discussed in the blog?


Is there any forum on mruby where this can be posted ?

ルビーではなく、日本で実施されています :slight_smile: