View Single Post
Old 08-08-2013, 05:33 AM   #531
silver18
THE NOOB
silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.
 
silver18's Avatar
 
Posts: 708
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
Quote:
Originally Posted by twobob View Post
you could put it inline like

LD_LIBRARY_PATH=/mnt/us/extensions/komic/bin/resource/Utilities thing

that will work

EDIT:

The other way you cited will work for the duration of the script.
The way I outline there will work for the duration of the single call.

depends on what you are trying to achieve
Quote:
Originally Posted by knc1 View Post
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
Quote:
Originally Posted by NiLuJe View Post
@silver18: If you don't want to bother with library search paths, here's a fresh nearly-static binary built against the latest git trees.

You guys are awesome!!!
I'll try first the NiLuje built as it's more practical.
On the other hand, I tried also Twobob solution and it worked flawlessly!

As regards PEG, I'll try it this evening, it looks interesting!
Tizen is really attracting me, I'll give it a try asap!

silver18 is offline   Reply With Quote