---------------------------<snip>------------------------------
Does anybody have or know of an EBNF description of JCL that I could feed into Flex or Bison? I'm not really too sure that JCL can be described with EBNF. But I'm not very familiar with EBNF. Compiler theory was long ago! And I got a C-.

I'm kind of curious to see if it would be possible to use such to create some utilities such as a JCL reformatter and/or validator that would run on my Linux PC (if in Perl or C, then on Windows as well).

Then again, I have nothing to do over the Thanksgiving holiday, so maybe I'll just try to create such a thing myself.
----------------------------<unsnip>-------------------------------
If you've got the book "A Compiler Generator", I've got the XPL "system" that went with it. I could send you the files, ZIP'ped. It's primitive, but fast, and runs on z/OS 1.4 just fine. (Original code was for OS/360) Even have the original "binaries" of XCOM, Analyzer and the Skeleton sample. It was offered by IBM as a "Type III" back around 1970. I don't think you'll need EBNF to describe JCL; as languages go, it's fairly primitive. Standard BNF forms should handle it just fine. (I've never worked with EBNF, so I'm not sure about that, though.)

I've been working, albeit slowly, on converting the XPL parts to PL/1; almost there with Analyzer.....

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to