pl0stuff an optimizing pl0 > c transcompiler

Nick B via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon Dec 28 15:40:31 PST 2015


On Monday, 28 December 2015 at 16:41:30 UTC, Stefan Koch wrote:
> On Monday, 28 December 2015 at 10:45:59 UTC, Nick B wrote:
>> what languages do you plan to support for input and output ?
>
> I just planned on PL/0 as input and C as output.
> It is a simple one-pass (okay 2 pass if you count the 
> optimizer) trans-compilation.
>
> There is no middle-end.
>
> And very little verification. Everything that parses will 
> produce an c-output.
> Which does may or may not compile.
>
> Since PL/0 just one type.
> Int
>
> you can get away with anything :)

so could it be used to produce D output instead of C ?

Could it be used to parse PHP as input ?


More information about the Digitalmars-d-announce mailing list