Coco/R Pascal restrictions

"DEÁK JAHN, Gábor" <djg@tramontana.co.hu>
23 Oct 2005 00:32:41 -0400

          From comp.compilers

Related articles
Coco/R Pascal restrictions djg@tramontana.co.hu (DEÃK JAHN, Gábor) (2005-10-23)
Re: Coco/R Pascal restrictions Meyer-Eltz@t-online.de (Detlef Meyer-Eltz) (2005-10-26)
Re: Coco/R Pascal restrictions DrDiettrich@compuserve.de (Hans-Peter Diettrich) (2005-10-26)
Re: Coco/R Pascal restrictions djg@tramontana.co.hu (DEÃK JAHN, Gábor) (2005-10-26)
Re: Coco/R Pascal restrictions stephan@stack.nl (Stephan Eggermont) (2005-10-27)
Re: Coco/R Pascal restrictions djg@tramontana.co.hu (DEÃK JAHN, Gábor) (2005-10-29)
Re: Coco/R Pascal restrictions DrDiettrich@compuserve.de (Hans-Peter Diettrich) (2005-10-29)
[2 later articles]
| List of all articles for this month |
From: "DEÁK JAHN, Gábor" <djg@tramontana.co.hu>
Newsgroups: comp.compilers
Date: 23 Oct 2005 00:32:41 -0400
Organization: Compilers Central
Keywords: tools,question
Posted-Date: 23 Oct 2005 00:32:41 EDT

Hello,


I ran into a problem with the oldish but, as far as I know, still
current 1.53 version of Coco/R for Turbo Pascal (although I compile
the generated program with Free Pascal instead). Back then, CocoR was
compiled with Turbo Pascal for DOS, complying with the 64 kB data
segment requirement, meaning that only a relatively small amount of
terminals, nodes and such were allowed. I ran out of the amount of
literal terminals allowed (127) with my grammar. I tried to recompile
Coco/R with Free Pascal, with much larger data structures to host
larger grammars but Coco/R's own grammar is not accepted by itself.


Does anybody have a recompiled version of CocoR handy? I know I could
just modify my translator to be written with another version of CocoR,
probably C or C++ (it's a fairly straightforward translator, much like
Ratfor used to be, to translate a structured version of a scripting
language into the more rigid original format, so it wouldn't be too
difficult) but I expect the result to be used in a Pascal/Delphi
environment later and it would be better to stick with Free Pascal.


Regards,


      Gábor DEÁK JAHN


-------------------------------------------------------------------
DEÁK JAHN, Gábor -- Budapest, Hungary
WWW: www.tramontana.co.hu
E-mail: djg@tramontana.co.hu


Post a followup to this message

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