Article View: comp.lang.pascal.delphi.misc
Article #451Re: Text file pre-processor
From: A. Moore
Date: Tue, 11 May 1999 00:00
Date: Tue, 11 May 1999 00:00
26 lines
1551 bytes
1551 bytes
Oleg Serebryany wrote: > > Hello All, > > I am looking for a way to pre-process a text file (any text file). Does > anyone know of a tool, component, or just Delphi or Pascal source code > that takes a text file, and using some syntax within the file to: > - Expand macros > - Allow conditional inclusion or exclusion of text lines based on > DEFINEs or something along those lines. > - Include other files <snip> Probably there is something that could do this specific job. If you don't find it soon, try looking for TP-Lex and TP-Yacc from the Simtel collection: http://www.simtel.net/simtel.net/msdos/turbopas-pre.html tply30a1.zip and tply30a2.zip. You can with a little study of the manual and examples, you can easily create your own. Regards, Al Moore
Technical Details
Message-ID:
<373886D3.62D4@lmco.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<37387F3E.FB2BC8F1@icgresearch.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111659,2dd8dc035a76e52e X-Google-Attributes: gid111659,public X-Google-Thread: 10baee,2dd8dc035a76e52e X-Google-Attributes: gid10baee,public X-Google-Thread: f8256,2dd8dc035a76e52e X-Google-Attributes: gidf8256,public From: "A. Moore" <alan.moore@lmco.com> Subject: Re: Text file pre-processor Date: 1999/05/11 Message-ID: <373886D3.62D4@lmco.com> X-Deja-AN: 476713185 Content-Transfer-Encoding: 7bit References: <37387F3E.FB2BC8F1@icgresearch.com> Content-Type: text/plain; charset=us-ascii Organization: Lockheed Martin Mime-Version: 1.0 Reply-To: alan.moore@lmco.com Newsgroups: comp.lang.pascal.delphi.misc,comp.lang.pascal.borland,borland.public.delphi.thirdparty-tools