home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.functional
- Path: sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!marlin.jcu.edu.au!coral.cs.jcu.edu.au!farrell
- From: farrell@coral.cs.jcu.edu.au (John Farrell)
- Subject: Re: Including files from ml-lex and -yacc
- Message-ID: <farrell.721895635@coral>
- Keywords: ml-lex ml-yacc sml
- Sender: news@marlin.jcu.edu.au (USENET News System)
- Organization: James Cook University
- References: <1992Nov10.142821.8095@daimi.aau.dk>
- Date: 16 Nov 92 06:33:55 GMT
- Lines: 11
-
- In <1992Nov10.142821.8095@daimi.aau.dk> urban@daimi.aau.dk (Urban Engberg) writes:
- >In the language of a parser I am writing I want to use the parser
- >directive %Include <filename> meaning that the file <filename> is to
- >be included in the parsed file just as if its contents were actually
- >put there.
-
- I thought the standard way to do this was to use the same compiler
- directives as C does, then use the C preprocessor :-). It's a hack, I know,
- but it provides a well-known set of functions at very low cost.
-
- John
-