RE: Using Bison and Delphi

Quinn Tyler Jackson <>
19 Nov 2004 00:51:57 -0500

          From comp.compilers

Related articles
Using Bison and Delphi (Mike Hahn) (2004-11-17)
RE: Using Bison and Delphi (Quinn Tyler Jackson) (2004-11-19)
| List of all articles for this month |

From: Quinn Tyler Jackson <>
Newsgroups: comp.compilers
Date: 19 Nov 2004 00:51:57 -0500
Organization: Compilers Central
References: 04-11-060
Keywords: yacc, Pascal
Posted-Date: 19 Nov 2004 00:51:57 EST

Mike Hahn
> I have designed a new programming language and now I wish to implement
> it using Delphi.

> I would like to know if it's a good idea to use Bison to generate the
> parser, and then translate Bison's output, either using some tool or
> by hand, into Object Pascal.

The Grammar Forge (available for free) comes with a Delphi .pas
component called TMetaSDyn that interfaces with a DLL -- so you can
use it directly in Delphi code. The download on the following link
comes with a Delphi example that uses the TMetaSDyn component in the
Examples folder.

The example even calls back Delphi code on reduction events.

Here is an example of how the component can be used in Delphi:
Quinn Tyler Jackson

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.