[comp.lang.misc] Grammer for dBASE III

statham@cactus.org (Perry L. Statham) (06/13/91)

Does anybody know of a freely available YACC grammer for 
dBASE/FoxBase/Clipper?

Thanks in advance -
-- 

Perry Lee Statham         \ | /              perry@statham.cactus.org
                          - * -                   H> (512) 335-3881
Can You Grok It?          / | \                   W> (512) 467-1396

cjeffery@optima.UUCP (Clinton Jeffery) (06/13/91)

From article <7487@cactus.org>, by statham@cactus.org (Perry L. Statham):
> Does anybody know of a freely available YACC grammer for 
> dBASE/FoxBase/Clipper?

I've heard that some commercial yacc-alikes include a dBase grammar...
(yeah, I know, that wasn't what you were asking).

As a trivial aside, I'm not convinced that the real dBase language (in
all its glory) is close enough to context free to be yacc'ed.  Of course,
practical and usable subsets could be easily implemented.  And I might
well be wrong, since I've used the language a lot but never studied it.

fischer@iesd.auc.dk (Lars P. Fischer) (06/19/91)

>>>>> statham@cactus.org (Perry L. Statham):

Perry> Does anybody know of a freely available YACC grammer for 
Perry> dBASE/FoxBase/Clipper?

>>>>> cjeffery@optima.UUCP (Clinton Jeffery) said:

Clinton> I've heard that some commercial yacc-alikes include a dBase grammar...

Uh-oh, watch out. Aston-Tate seriously attempts to convince the world
that they own the dBase *language*. They claim that you cannot
implement this language without their permission (they have sued the
FoxBase folks) and I would not be surprised at all to learn that
these guys are mad enough to believe that their copyright or patent or
whatever extends to the grammar of the language.

Better stay away from anything that look even remotely related to
Aston-Tate or dBase.

/Lars
--
Lars Fischer,  fischer@iesd.auc.dk   | It takes an uncommon mind to think of
CS Dept., Univ. of Aalborg, DENMARK. | these things.  -- Calvin