> But I think there are too many degrees of freedom in what you propose.
> You aren't using the predicate part in your example. Another option
> is to have the predicate have access to the entire dictionary, rather
> than just the current node. Then the predicate could see "moderator".
> It is sort of a waste of space to put the same truth value in every
> node. I'll have to think about it.
I should email you some code to see what I implemented...
Anyhow, I see sections this way:
{.section <<scope>>|formatter <<predicate_scope>>|predicate?}
With <<predicate_scope>> = <<scope>> if it doesn't exist,
predicate='truth' if it doesn't exist, and formatter is raw/str or
whatever if it doesn't exist. I'll see about cleaning up what I have
done to email later today. I'll be working on the PHP side of it as
well... ug.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---