These forums are CLOSED. Please visit the new forums HERE
Script color coding |
|
|
Wyatt Burton
Registered User
Join date: 11 Jan 2007
Posts: 49
|
10-14-2008 14:40
Anyone know of some code that can tokenize LSL?
|
|
Pedro McMillan
SLOODLE Developer
Join date: 28 Jul 2007
Posts: 231
|
10-14-2008 15:59
Do you mean syntax highlighting?
If you just want an app to run offline that will syntax highlight, then you could try LSLEditor (for Windows I think). There's also a myriad of specification files for generic editors on various platforms. |
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
10-14-2008 16:24
You need lsl to tokenize a string or code OR do you need some other programming language to tokenize a script for example?
If you are simply talking about manipulating/parsing strings with lsl then look under the "string" category in the wiki to see the different functions. _____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum |
|
Arcane Clawtooth
5 By 5
Join date: 7 Jan 2008
Posts: 201
|
10-14-2008 21:40
Anyone know of some code that can tokenize LSL? Which editor are you talking about? You can find a lot of syntax highlighters at http://wiki.secondlife.com/wiki/LSL_Alternate_Editors |
|
Wyatt Burton
Registered User
Join date: 11 Jan 2007
Posts: 49
|
10-16-2008 18:07
Which editor are you talking about? You can find a lot of syntax highlighters at http://wiki.secondlife.com/wiki/LSL_Alternate_Editors I would like to color code LSL code so I can place put it on a web page. Is there an app that takes as input LSL and exports it as either HTML or XML or even as a list of tokens? |
|
Viktoria Dovgal
…
Join date: 29 Jul 2007
Posts: 3,593
|
10-16-2008 19:25
If you have PHP available, you might try GeSHi, http://qbnz.com/highlighter/
And http://wiki.secondlife.com/wiki/User:Thraxis_Epsilon/lsl_syntax |
|
Wyatt Burton
Registered User
Join date: 11 Jan 2007
Posts: 49
|
10-17-2008 14:36
If you have PHP available, you might try GeSHi, http://qbnz.com/highlighter/ And http://wiki.secondlife.com/wiki/User:Thraxis_Epsilon/lsl_syntax Thats exactly what I was looking for. Thank you. |