[clug] An EBCDIC lex ?

steve jenkin sjenkin at canb.auug.org.au
Fri Aug 13 22:37:44 MDT 2010


Paul Matthews wrote on 14/08/10 1:08 PM:
>  G'Day All,
> 
> At work we a mainframe, not one of these new fancy mainframes with Linux
> running on it, but the old fashioned TSO, JCL and COBOL type of mainframes.
> 
> Recently we gained access to a C compiler (and there was much rejoicing).
> 
> Now was going to use lex/flex to help with a little domain specific
> language. So my cunning plan was to use flex on Linux (i686) to produce
> the C code. Then cut and paste it to the mainframe. However flex
> produces lots of tables and other assumptions, that only work on an
> ASCII platform.
> 
> Has anyone seen a flex like tool that can be told to produce EBCDIC?
> 

Is "dd conv=ebcdic" not good enough?

-- 
Steve Jenkin, Info Tech, Systems and Design Specialist.
0412 786 915 (+61 412 786 915)
PO Box 48, Kippax ACT 2615, AUSTRALIA

sjenkin at canb.auug.org.au http://members.tip.net.au/~sjenkin


More information about the linux mailing list