lwc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lightweight C++] regarding lwc portable output


From: Soewono Effendi
Subject: [Lightweight C++] regarding lwc portable output
Date: Fri, 14 May 2004 17:54:56 +0200

Hello all!

I'm new to lwc, and I do find it very interesting.

Just some thoughts that I wanted to share on how to make lwc output more  
portable.

-- what about introducing new keyword "import" such as "#import <filename.h>", 
which will automatically mark the "imported file" as "verbatim" and reemit an 
"#include <filename.h>".
This keyword also "remembers"/"knows" all "#define" in the "imported" file, so 
that the usage of "$" can be avoided.

-- what about introducing a verbatim - features, like lex and yacc have.
Meaning that the source code marked "verbatim" should be just re-emited again. 
Maybe something like:

% verbatim source code1
% verbatim source code2
% verbatim source code3

or

%*
verbatim source code1
verbatim source code2
verbatim source code3
*%



Please CC: me, since I'm not in the list.


best regards,
Soewono

-- 
>> S. Effendi                         soewono.effendi @ sysgo . com
SYSGO AG                              http://www.sysgo.com
Am Pfaffenstein 14                    Tel. +49 6136 99 48 0
55270 Klein-Winternheim - Germany     Fax. +49 6136 99 48 10





reply via email to

[Prev in Thread] Current Thread [Next in Thread]