Article View: gnu.misc.discuss
Article #71915I need a manual for glex
From: Ronan Melennec STNA 7C p8240 BD2...
Date: Fri, 22 May 1992 14:15
Date: Fri, 22 May 1992 14:15
35 lines
2174 bytes
2174 bytes
Hello, I just grabbed Charles Forsyth's version of lex, in the form of a tar file (glex.tar) that contains a notice indicating that it (the package) was donated to the FSF. Unfortunately, the specification of input files is missing _ I know it is different from either ATT Lex or Berkeley Flex. And the source files are very old (1986). So, my questions are : - is anybody willing to share a recent, working, fully documented distribution of Forsyth's Lex for U**x systems ? - alternatively, does anyone know how to get in touch with Charles Forsyth (e.g, his e-mail address) ? My goal is to modify an existing scanner generator of the Lex family (using regular expressions) to make it generate scanners that are reentrant (no static/global *variables*) and/or can use multiple DFA tables (that can be switched from outside the scanning routine). The former feature would allow the scanner to work without trouble in a multithreaded program ; the latter would be useful to easily handle syntax-sensitive scanning. I've looked at Berkeley/Gnu Flex and found it would be a lot of work to modify it to achieve this goal _ substantially more than with Forsyth's. Any comments welcome (hopefully, someone has already done this :-)), Regards, -- Ronan Melennec | Service Technique de la Navigation Aerienne +33 1 60 79 82 40 | Departement 7 melennec@stna7.stna.dgac.fr | 95, rue Henri Rochefort, 91025 EVRY CEDEX, FRANCE
Technical Details
Message-ID:
<1992May22.141542.7250@cenaath.cena.dgac.fr>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!corton!cenaath.cena.dgac.fr!latecoere!melennecShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1025b4,b53eb884b85c5450,start X-Google-Attributes: gid1025b4,public X-Google-ArrivalTime: 1992-05-22 01:56:30 PST Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!corton!cenaath.cena.dgac.fr!latecoere!melennec From: melennec@latecoere.stna7.stna.dgac.fr (Ronan Melennec STNA 7C p8240 BD22) Newsgroups: gnu.misc.discuss Subject: I need a manual for glex Keywords: reentrant scanner, Forsyth's version of Lex(1) Message-ID: <1992May22.141542.7250@cenaath.cena.dgac.fr> Date: 22 May 92 14:15:42 GMT Sender: melennec@latecoere (Ronan Melennec STNA 7C p8240 BD22) Organization: STNA 95 rue Henri Rochefort 91025 Evry Cedex 33(1)60.79.80.00 Lines: 35