Re: Porting lex scanner on EBCDIC machine.

gvcormac@plg.uwaterloo.ca (Gordon V. Cormack)
Mon, 3 Apr 1995 12:56:04 GMT

          From comp.compilers

Related articles
Porting lex scanner on EBCDIC machine. c1veeru@WATSON.IBM.COM (Virendra K. Mehta) (1995-04-01)
Re: Porting lex scanner on EBCDIC machine. gvcormac@plg.uwaterloo.ca (1995-04-03)
Re: Porting lex scanner on EBCDIC machine. mduffy@netcom.com (1995-04-03)
Re: Porting lex scanner on EBCDIC machine. rameshag@herbrand.cs.albany.edu (1995-04-03)
Re: Porting lex scanner on EBCDIC machine. kkaempf@didymus.rmi.de (1995-04-04)
Re: Porting lex scanner on EBCDIC machine. vern@daffy.ee.lbl.gov (1995-04-05)
Re: Porting lex scanner on EBCDIC machine. sasghm@unx.sas.com (1995-04-15)
Re: Porting lex scanner on EBCDIC machine. sasghm@unx.sas.com (1995-04-18)
| List of all articles for this month |

Newsgroups: comp.compilers
From: gvcormac@plg.uwaterloo.ca (Gordon V. Cormack)
Keywords: lex
Organization: University of Waterloo
References: 95-04-035
Date: Mon, 3 Apr 1995 12:56:04 GMT

Virendra K. Mehta <c1veeru@WATSON.IBM.COM> wrote:
>[How to make a lex scanner that speaks EBCDIC]
>I'm sure this must be done all the time. Can someone give me any tips on how
>to accomplish this ?


About eight years ago I wrote some portable software and found no satisfactory
way of cross-lexing between ASCII and EBCDIC machines. If you have lex on
the EBCDIC machine, just regenerate the scanner. But if you want use lex
on an ASCII machine to generate code to be run on an EBCDIC machine, have fun!
In my case I decided it was easier to hand code the scanner.
--
Gordon V. Cormack CS Dept, University of Waterloo, Canada N2L 3G1
gvcormac@plg.uwaterloo.ca http://plg.uwaterloo.ca/~gvcormac
--


Post a followup to this message

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