Coco/R Pascal restrictions
- From: "DEÁK JAHN, Gábor" <djg@xxxxxxxxxxxxxxxx>
- Date: 23 Oct 2005 00:32:41 -0400
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@xxxxxxxxxxxxxxxx
.
- Follow-Ups:
- Re: Coco/R Pascal restrictions
- From: Hans-Peter Diettrich
- Re: Coco/R Pascal restrictions
- From: Detlef Meyer-Eltz
- Re: Coco/R Pascal restrictions
- Prev by Date: Re: terminological problem (EBNF & regular expressions)
- Next by Date: Re: Regions in Program Flow
- Previous by thread: Memory leak in flex generated file
- Next by thread: Re: Coco/R Pascal restrictions
- Index(es):
Relevant Pages
|
|