home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / function / 1373 < prev    next >
Encoding:
Text File  |  1992-11-15  |  993 b   |  24 lines

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