Board index » delphi » Lex&Yacc grammar for BP?

Lex&Yacc grammar for BP?

Is there a free available Lex&Yacc grammar for BP? Either written
with Lex&Yacc for Pascal, or any C(++) version.

I need to write a special source code analyser, so this would be a great
help!

Ola

 

Re:Lex&Yacc grammar for BP?


In article <37468AE5.911E2...@ifi.uio.no>,
  Ola Presterud <o...@ifi.uio.no> wrote:

Quote
> Is there a free available Lex&Yacc grammar for BP?

Yes.

http://www.musikwissenschaft.uni-mainz.de/~ag/tply/tply41.zip

I've used it a bit to write some text filters,
and it seems to work well.

Good luck.

...

--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---

Re:Lex&Yacc grammar for BP?


Quote
netn...@altavista.net wrote:

> > Is there a free available Lex&Yacc grammar for BP?

> Yes.
> http://www.musikwissenschaft.uni-mainz.de/~ag/tply/tply41.zip

Thanks, but I am looking for a grammar for parsing Borland Pascal
sources
written in Lex&Yacc.

Ola

Other Threads