KySMet Compiler (in javascript)

This is a very crude compiler for a dialect of C to generate KySMet assembly langauge code. The compiler source code in C is here. It is compiled using:

emcc kysc.c -o kysc.html -s EXPORTED_FUNCTIONS='["_main"]' -s EXTRA_EXPORTED_RUNTIME_METHODS='["ccall", "cwrap"]'

However, the HTML wrapper here is heavily customized; it is not the one generated by that compile.

Input text:


Output text:

This compiler was built using emscripten.


EE480 Advanced Computer Architecture.