Article View: comp.lang.functional
Article #914Re: Including files from ml-lex and -yacc
From: John Farrell
Date: Mon, 16 Nov 1992 06:33
Date: Mon, 16 Nov 1992 06:33
11 lines
1016 bytes
1016 bytes
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
Technical Details
Message-ID:
<farrell.721895635@coral>Path:
arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!marlin.jcu.edu.au!coral.cs.jcu.edu.au!farrellReferences:
<1992Nov10.142821.8095@daimi.aau.dk>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.functional Path: arc1-ca.pugleaf.net!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