Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Fernando Nunes — — source: Usenet: comp.databases.informix
Michael Segel wrote:
> Again,
>
> Simple question....
>
> Anyone know where I can get a Backus-Naur Form representation of Informix's
> current version of 4GL?
>
> I believe that 4GL is a simple context sensitive language, thus it should
> lend itself to being parsed and translated to potentially other
> languages/paradigms.
>
> So can any of the IBMers who watch this board point me in the right
> direction?
>
> It would also be nice to find one of the SPL and of course Oracle's tools as
> well....
>
> TIA!
>
> -G
>
Well... The IBM Informix 4GL manuals has the BNF representation of the
language.
But if you want to parse it, you should take a look ath the aubit 4GL
OSS compiler. I haven't, but I assume thay had to make a parser to
process the source code. So maybe you can grab a bit of code there (or
even contribute to the project).
A google search will point you in the right direction.
Regards.
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.