Hello Mark.

You information is great, I hope this case could be promoted in any
way... may be in the emscripten webpage or any other place so other
people could go for commercial applications with some sucess cases.

I don't know if you are just fun about COBOL, but I check it without
any prior knowledge and I found this information:

****************************************************
OpenCOBOL -- http://opencobol.org/

OpenCOBOL is an open-source COBOL compiler. OpenCOBOL implements a
substantial part of the COBOL 85 and COBOL 2002 standards, as well as
many extensions of the existent COBOL compilers.

OpenCOBOL translates COBOL into C and compiles the translated code
using the native C compiler. You can build your COBOL programs on
various platforms, including Unix/Linux, Mac OS X, and Microsoft
Windows. cobc binaries exist for HP/UX, zOS, SPARC, RS6000, AS/400 and
more.

****************************************************

So its possible to translate COBOL source code to C, and then use
emscripten to executed it on javascript. I don't know if there is some
COBOL Frontend project for llvm, but I belive its also possible.


Regards,

John Congote

2014-03-25 13:51 GMT-05:00 Mark Hahn <[email protected]>:
> I'm contracting for a company that has an unusual word processor they have
> been selling for 23 years.  The editor must paginate pixel by pixel to an
> exact industry standard (yes that is a bit weird).
>
> They have hired two different contracting firms to implement their app on
> all browsers and both firms failed and gave up.  They got the idea it was
> impossible.  I told them I could do anything (of course) and they hired me.
> I took their 23-year-old windows C app (30,000 lines) and ported it using
> emscripten.  I emulated some windows features like the mem mgr but most
> importantly I converted their GDI calls to canvas calls and output the text
> on a canvas.
>
> They think I'm a genius now thanks to emscripten.  So I am just posting this
> to thank everyone on the team and people on this forum.
>
> I'm curious, does anyone know of another project that ported old non-game
> code?  I see games everywhere, and some people are developing new web apps
> by writing them in C++ but I've not seen this kind of legacy business logic.
>
> Of course the weirdest part is that they will still be developing on this C
> codebase for another 23 years so emscripten needs to be supported on new web
> technology for a long time.
>
> Now, if LLVM/emscripten supported Cobol ...
>
>
>
>
>
> --
> 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.

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