[antlr-interest] Problem generating simplec.g for ObjC: "Can't find template length.st"
K. Lo Shih
lo at toolslab.com
Fri Sep 29 11:21:14 PDT 2006
Thanks Kay,
I got it working with stringtemplate-3.0 (http://
www.stringtemplate.org/). I was stepping through ActionEvaluator to
look for who was asking for the "length" template. Thanks for saving
me from that.
Kind regards,
Lo.
-----
K. Lo Shih
lo;toolslab:com
On Sep 29, 2006, at 12:28, Kay Roepke wrote:
> On 29. Sep 2006, at 18:52 Uhr, K. Lo Shih wrote:
>
>> I have to admit, I don't have much of a clue how ANTLR works since
>> this is my first try running this, but it seems that there is no
>> "length.st" string template. It seems that all grammars with the
>> "ObjC" target produces this same error.
>
> Hi!
>
> It seems that your StringTemplate version is not up-to-date. ANTLR
> needs to support the length function to generate Objective C output.
> Please try to use the latest StringTemplate version and see if it's
> working with that (it should as I'm developing with the depot
> versions of both ANTLR and ST).
>
> If you need assistance, feel free to ask! I'm always happy about
> getting feedback for the ObjC target :)
>
> cheers,
>
> -k
>
>
>
More information about the antlr-interest
mailing list