On Sun, Oct 11, 2009 at 9:14 PM, Steven Roussey <[email protected]> wrote:
>
> Oh, and by the way, what do you think about requiring .if and .case?
>
> IF would require a value to lookup -- {.if json-node the rest of this
> is the predicate} and require an {.end}. The opposite for {.case} --
> no json-node and no pushing of a section on the stack so no {.end}
> other for its parent (just like {.or}).

No, any lookup is deferred to the app.  Predicates have no built in
notion of taking an argument that causes a lookup.  That's the point
of this scheme.  I think once you get the registry pattern then you'll
see why {.case} isn't necessary.

Andy

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JSON 
Template" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/json-template?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to