View Single Post
Old 08-07-2013, 07:06 PM   #529
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by silver18 View Post
In the meanwhile: does anybody know a JSON parser to be used in shell scripting?
Thanks!!
Would you like that written in javascript, that can parse json (a sub-set of javascript) and generate an arbitrary parser (also in javascript)?

I have that link, somewhere, if I haven't mis-placed it.

Found it:
http://pegjs.majda.cz/
And the on-line version:
http://pegjs.majda.cz/online

Just enter the declaration of the parser you want (PEG is very much like EBNF) and that web page will crank out the parser you declared, in js.

PS: Tizen apps are coded in Javascript, not Java. So if you ever need something parsed in your Javascript app (WAF or Tizen) then bookmark the site above.

PPS: Also a thought to keep in mind for anyone thinking of winning that $200,000 prize for the next "killer" Tizen game.
https://developer.tizen.org/contests...-app-challenge

Last edited by knc1; 08-07-2013 at 07:59 PM.
knc1 is offline   Reply With Quote