Jürgen Kahrs wrote:
> Hmm, try lcc or tinyC
>
> http://fabrice.bellard.free.fr/tcc/
> http://www.cs.princeton.edu/software/lcc/
>
> tcc produces x86 code, lcc comes with several back ends.
> If I had to compile from C to pascal (or p-code),
> then I would start with lcc.
No !! You are losing the logic of the thread: 'awk simulate AFSM' ?
http://fabrice.bellard.free.fr/tcc/
is repeatedly error 404.
I want to translate text, NOT object-code.
I want ALGOL/Wirthian-family text; NOT 'C'-source.
The 'form' closest to humans is the most valuable:
ideas/understanding > source-code > obj-code;
like the reverse value-heirarchy is:
your-computer/CPU < your-disk < the disk's data < your knowledge.
That's the whole idea of having an AFSM-compiler where you
work with ideas at the most human-natural level: a syntax diagram.
== Chris Glur.