Lambda the Ultimate

inactiveTopic Tiny C Compiler - with dynamic code gen
started 5/24/2003; 6:17:22 PM - last post 5/26/2003; 8:47:33 AM
Patrick Logan - Tiny C Compiler - with dynamic code gen  blueArrow
5/24/2003; 6:17:22 PM (reads: 571, responses: 3)
The Tiny C Compiler looks interesting in and of itself, but also for generating code at runtime (e.g. for interactive language systems).

Chris Double - Re: Tiny C Compiler - with dynamic code gen  blueArrow
5/25/2003; 6:53:59 PM (reads: 544, responses: 0)
The Goo programming language has experimental support for tcc as a back end for dynamic compilation. This was a while ago though (September 2002):

http://www.ai.mit.edu/~jrb/goo/mail-archive/msg00179.html

andrew cooke - Re: Tiny C Compiler - with dynamic code gen  blueArrow
5/26/2003; 7:16:01 AM (reads: 519, responses: 1)
There's also C--, but it seems to be in a state of permanent development. Has anyone used this? Its aim is to provide more support for languages (things like garbage collection and tail recursion - I can't see mention of special support for threads or coroutines though).

Gcc also has its advantages for supporting other languages (apart from the fact that if it's slower it's probably doing more optimization!). It allows nested procedure definitions, for example, which apparently helps some implementors (iirc it's useful for logic languages and if anyone really wants to know why I can go look it up! - I guess it allows some kind of almost-closures, a bit like Java's inner classes).

But there doesn't seem to be the "perfect" system for language support out there. I guess that's why we're waiting for Parrot...

andrew cooke - Re: Tiny C Compiler - with dynamic code gen  blueArrow
5/26/2003; 8:47:33 AM (reads: 522, responses: 0)
On vaguely similar lines, does anyone know what happened to Zephyr?