Re: Compilation of Pike with Emscripten ?
Lance Dillon <[email protected]>
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <[email protected]> |
Actually, a C-to-sh compiler may not be necessary, depending on how you define it. There has been a shell with c syntax available for years. Not csh, but chsh: cross platform Ch Shell Programming
It is pretty interesting...
cross platform Ch Shell Programming
Cross Platform Ch Shell Programming Ch Shell (ch) is a C compatible and genuine C shell Ch Shell versus C Shell, Bash and Korn Shell Keyboard shortcuts in Ch shell
View on www.softintegration.com Preview by Yahoo
On Monday, October 6, 2014 2:40 PM, "Mirar @ Pike importmöte för mailinglistan" <[email protected]> wrote:
I think the tricky part with other platforms isn't the language, but
the libraries. I wrote a C-to-interlisp compiler once (we were asked
to make calculators, me and a friend overdid it a bit), so for a
limited language like C it's not very hard.
But you still can't do much with it without a library like GTK or at
least the full libc. Porting that takes a lot more effort...
(That said, some day I'll write a C-to-/bin/sh compiler. Some day...)