Re: lex and definitions

Kees van Reeuwijk <C.vanReeuwijk@twi.tudelft.nl>
21 Feb 2000 23:59:26 -0500

          From comp.compilers

Related articles
lex and definitions hbotee@cise.ufl.edu (2000-02-15)
Re: lex and definitions C.vanReeuwijk@twi.tudelft.nl (Kees van Reeuwijk) (2000-02-21)
Re: lex and definitions mzraly@world.std.com (2000-02-22)
| List of all articles for this month |

From: Kees van Reeuwijk <C.vanReeuwijk@twi.tudelft.nl>
Newsgroups: comp.compilers
Date: 21 Feb 2000 23:59:26 -0500
Organization: Delft University of Technology
References: 00-02-073
Keywords: lex

On 15 Feb 2000 16:22:39 -0500, hbotee@cise.ufl.edu wrote:


>It Seems That There Should Be A Way To #Include
>The Definitions In A File...
>
>Any Help?
>[Use m4 to preprocess your lex source. -John]


M4 will work, but it is not exactly the most intuitive tool out there.


A tool that I have written, Template Manager (or Tm for short), is also
able to do file inclusions, and is quite intuitive to use. All you have
to do is:


.include partone.l
.include parttwo.l


and so on.


File inclusion is only a tiny part of Tm's capabilities; you might also
find uses for its other features.


See <http://www.pds.twi.tudelft.nl/~reeuwijk/software/Tm> for further
information.


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.