Hello,

Really sorry for the newbie question, but I could not find this information 
on the site.

I want to port a software called z88dk using emscripten. 
This software is C a compiler for old 8-bit platforms, and as such it takes 
as parameter a C file source, and it generates binary files as output.
My use case is that I want to run this C compiler directly on the browser, 
providing user input as source code, and allowing the user to download the 
generated binary after compilation. Of course, I would also like to capture 
any errors that the compiler would throw.

Would emscripten allow me to:

  1. Provide an input file to the program, in runtime (not bundled), while 
at the same time reading from bundled files when needed? (example: the 
source input is not bundled, but the standard C libraries are bundled)
  2. Return, to a Javascript function, the contents of the generated binary 
files?
  3. Capture any errors or warnings generated by the program, to a 
Javascript function?

Any pointers and how-tos are appreciated.

Thanks,
Rafael

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to