Re: Intermediate forms (again?): worthwhile?

chris dollin <ehog.hedge@googlemail.com>
Sat, 22 Jan 2011 11:59:29 +0000

          From comp.compilers

Related articles
[6 earlier articles]
Re: Intermediate forms (again?): worthwhile? steshaw@gmail.com (Steven Shaw) (2011-01-19)
Re: Intermediate forms (again?): worthwhile? nospam@myisp.net (Tony) (2011-01-19)
Re: Intermediate forms (again?): worthwhile? nospam@myisp.net (Tony) (2011-01-19)
Re: Intermediate forms (again?): worthwhile? nospam@myisp.net (Tony) (2011-01-19)
Re: Intermediate forms (again?): worthwhile? cr88192@hotmail.com (BGB) (2011-01-19)
Re: Intermediate forms (again?): worthwhile? cr88192@hotmail.com (BGB) (2011-01-22)
Re: Intermediate forms (again?): worthwhile? ehog.hedge@googlemail.com (chris dollin) (2011-01-22)
Re: Intermediate forms (again?): worthwhile? nospam@myisp.net (Tony) (2011-01-22)
Re: Intermediate forms (again?): worthwhile? bc@freeuk.com (Bartc) (2011-01-23)
Re: Intermediate forms (again?): worthwhile? steshaw@gmail.com (Steven Shaw) (2011-01-24)
Re: Intermediate forms (again?): worthwhile? steshaw@gmail.com (Steven Shaw) (2011-01-24)
Re: Intermediate forms (again?): worthwhile? barry.j.kelly@gmail.com (Barry Kelly) (2011-01-24)
Re: Intermediate forms (again?): worthwhile? nospam@myisp.net (Tony) (2011-01-24)
[4 later articles]
| List of all articles for this month |

From: chris dollin <ehog.hedge@googlemail.com>
Newsgroups: comp.compilers
Date: Sat, 22 Jan 2011 11:59:29 +0000
Organization: Compilers Central
References: 11-01-082 11-01-088 11-01-092
Keywords: code
Posted-Date: 22 Jan 2011 20:59:52 EST

"Tony" <nospam@myisp.net> said:


> I am surprised (kinda) to see how many people consider C a suitable
> compile-to language when it really is only good for C-derivatives. C++
> is one of those, so cfront was adequate, for awhile. For languages
> that depart from C-likeness, it is not suitable at all.


The language Pepper I designed as a Pop11-derivative can be thought of
as "Lisp with an open stack" and I had a reasonable Pepper-to-C
implementation. "Not suitable at all" seems a bit of a stretch.


It helps that Pepper has no non-local gotos or an exception mechanism.
The design for full lexical scoping was not implemented but the
primitive it would have used -- partial application, ie a kind of
currying -- was; not implementing was mere laziness on my part.


So likely it all depends on what value one places on different
implementation characteristics.


Chris
--
Chris "allusive" Dollin


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.