On Friday 01 December 2006 02:08, [EMAIL PROTECTED] wrote:
> Quoting Marc Santhoff <[EMAIL PROTECTED]>:
> > The goal in doing so would be using a specialized macro processor
>
> I'm surprise for your question, because I started been interested in
> language/compiler design because I wanted a preprocessor for Turbo
> Pascal,
> like Turbo C++ ;-)
>
> Let me understand, you already have the preprocessor to transform your
> "Pascal with Tags" into a "Pascal without tags" source code file ?
>
> Something like:
>
> -------------
>
> program PreprocessorExample;
>
> #define Pi 5
>
> begin
>    Write('Pi value is ', Pi);
> end.
>
> -------------
>
> Into something like :
>
> -------------
>
> program PreprocessorExample;
>
> begin
>    Write('Pi value is ', 5);
> end.

If he doesn't have it, I have.

The syntax can be seen on http://flawless.dk/xmcc.php

It has several features much beyond anything C(++)'s preprocessor could ever 
offer.

(In fact, it is a proper meta code compiler, instead of a simple preprocessor)

-- 
Regards,
Christian Iversen

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to