-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
json example ? #lazyweb #1
Comments
The Invisible XML paper doesn't really allow you to create a full parser for vocabs easily as it's missing a couple of features like better support for tokens and whitespace. I think I'm just going to make a decision on some extra syntax and add it to allow those things. The XQuery function version of grammars can do that though. The syntax is kind of verbose, but you can use gr:char-range() or gr:codepoint-range() combined with the other grammar operators like gr:choice() and gr:one-or-more(). For instance look at the rule for "V" in samples/test.xq. |
I'll add the examples I did for demo jam when I get a moment. It would also be easy enough to add a JSON example I think. |
I've added a couple more samples now. |
ah thanks for that ... its very to clear to me now, this is gonna be big ;) |
have you had a chance to see what json def looks like in invizxml ?
I ask only because the css example is not fully fledged and its a little 'hunt and peck' to get the more complicated tokens defined.
thx in advance
The text was updated successfully, but these errors were encountered: