Mruby : generating readable c code

Hi,

In the blog http://blog.mruby.sh/201207020720.html

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
correctness.

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?

Thanks

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

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs