; 260 King Street East, Toronto, Ontario M5A 4L5, Canada
>
> Voice: (416) 933-5046 | Fax: (416) 933-5001
>
>
>
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--
Steve Ebe
just caused ANTLR to complain that
> comparisonOperator was an unexpected token. I also tried inserting a
> third predicate in the bottom group that would test whether $rhs was
> null and just put out the $lhs in that case but that didn't work either.
>
> Can somebody please put me out of m
t needs to
evaluate to a boolean value. I believe these are called rewrite
predicates(?). And yes, just like regular predicates you can list
multiples and the first match will "win".
> Is that correct?
>
> D
>
>
> On May 15, 2009, at 7:26 AM, Steve
ules (for example)? Or do I have to
> construct my own trees?
>
>
> Thanks,
> D
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--
Steve Ebersole
Hibernat
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--
Steve Ebersole
Hibernate.org
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~-~--~~~---~--~---
Key collationSpecification?
orderingSpecification? )+
;
(I can remove the collationSpecification and orderingSpecification
subrules if need be later, just wanted to try as is and see what
happened).
On Fri, 2009-05-01 at 17:08 -0700, Terence Parr wrote:
> On May 1, 2009, at 5:03 PM, Steve Ebersole
something like VECTOR_EXPR = VECTOR_EXPR) ;)
On Fri, 2009-05-01 at 17:08 -0700, Terence Parr wrote:
> On May 1, 2009, at 5:03 PM, Steve Ebersole wrote:
>
> > Lets say sortKey comes back as
> > ^( VECTOR_EXPR
> >^( COLUMN
> >ALIAS_REF[&quo
le property might map to multiple columns; in
that case buildPropertyColumns() returns the VECTOR_EXPR
On Fri, 2009-05-01 at 13:50 -0700, Jim Idle wrote:
> Steve Ebersole wrote:
> > Is there a syntax to "explode" a subrule result (sorry don't know a
> > better term
Steve, what's the tree you need rather than the output?
> Thanks,
> T
> On May 1, 2009, at 1:14 PM, Steve Ebersole wrote:
>
> > Is there a syntax to "explode" a subrule result (sorry don't know a
> > better term).
> >
> > I have a
need to have happen is "sort_key1 asc, sort_key2 asc".
I started down the path of trying an @after in the sortSpecification and
calling out to some java code to mutate the tree manually. But I'd
prefer to keep this in the grammar if at all possible.
--
Steve Ebersole
Hibernate.o
not in there! I will try to fix all that up today as
> it renders the sources jars useless. The pom.xml files can be downloaded
> separately from hudson in the same place as the sources jar, but that
> isn't quite satisfactory.
>
> Jim
>
> List: http://www.antlr.org/mailm
Ok, now that my email is supposedly yet again fixed I'll try sending
this again :)
On Wed, 2009-04-29 at 18:43 -0500, Steve Ebersole wrote:
> I am trying to develop a grammar which uses StringTemplate for its
> rendering. But I find something rather annoying and wanted to see if
And...
On Wed, 2009-04-29 at 18:49 -0500, Steve Ebersole wrote:
> Also, for "simple token" matches I end up with stuff like:
>
> numeric_literal
> : INTEGER_LITERAL -> template(id={$INTEGER_LITERAL.text}) ""
> | DECIMAL_LITERAL
OATING_POINT_LITERAL ->
template(id={$FLOATING_POINT_LITERAL.text})
""
;
Is the a better pattern which can be applied here?
On Wed, 2009-04-29 at 18:43 -0500, Steve Ebersole wrote:
> I am trying to develop a grammar which uses StringTemplate for its
> rendering. But I find something r
ndant to me. Is there something I am missing?
--
Steve Ebersole
Hibernate.org
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~-~--~~~---~--~~
You received this mes
15 matches
Mail list logo