Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2004-12

Parser Generators

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Agustin Barto

I'm looking for a good free (as in speech) parser generator for FreePascal. Right now I'm working with Coco/R (from http://www.tetzel.com/CocoR/) and I'm not very pleased with this tool. The generated code works perfect with fpc-1.9.4 but the (parser) compiler only works on Windows and I want my project to be as cross-platform as possible (Even the development tools).

Reply by email

Michael Van Canneyt
to Agustin Barto
Agustin Barto wrote 6 lines
I'm looking for a good free (as in speech) parser generator for FreePascal. Right now I'm working with Coco/R (from http://www.tetzel.com/CocoR/) and I'm not very pleased with this tool. The generated code works perfect with fpc-1.9.4 but the (parser) compiler only works on Windows and I want my project to be as cross-platform as possible (Even the development tools).

Try tplexyacc.
It's distributed with FPC. sources are in utils/tply

Michael.

Reply by email

Jeff Pohlmeyer
Show quoted text 9 lines
> I'm looking for a good free (as in speech) parser generator for > FreePascal. Right now I'm working with Coco/R (from > http://www.tetzel.com/CocoR/) and I'm not very pleased with this tool. > The generated code works perfect with fpc-1.9.4 but the (parser) > compiler only works on Windows and I want my project to be as > cross-platform as possible (Even the development tools). Try tplexyacc. It's distributed with FPC. sources are in utils/tply

I agree with Michael, tply is probably your best bet.

But if you really need coco, the Turbo Pascal version will compile on Linux/FPC with a minimum of tweaking: http://www.scifac.ru.ac.za/coco/turbo153.zip

__________________________________
Do you Yahoo!?
All your favorites on one personal page � Try My Yahoo! http://my.yahoo.com

Reply by email

Agustin Barto
to Jeff Pohlmeyer

Turbo Pascal version of Coco/R compiles ok. I don't remember needing any tweaking at all (besides from unzipping the distributions with all the filenames on lowecase).

I was wondering if the lex/yacc version that comes with fpc is the same as the one from

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

Jeff Pohlmeyer wrote 7 lines
I agree with Michael, tply is probably your best bet. But if you really need coco, the Turbo Pascal version will compile on Linux/FPC with a minimum of tweaking: http://www.scifac.ru.ac.za/coco/turbo153.zip

Reply by email