I was fascinated by the discussion this week on code colouring - enough to want to try out various schemes for myself... So I've whipped up a quick newLISP-GS app for exploring them via HTML styles. Basically I've quickly merged two projects to produce this one:
http://unbalanced-parentheses.nfshost.c ... w-code.lsp
It's very much a hack, and prone to crashing, but you may find it fun...
I'd be interested to see it running on your machine...?!
(PS: If you're not using a UTF8 system, you may have to replace the utf8len functions with length...)
Rainbow code
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
Nice work cormullion... ;-)
The code does run here, partly ;-)
...first time i saw the unicode catch, Though I cant update the color
fields...everytime I type a new color it resets to the old value...
if you type this in the input field ->
9870987098709870987098709870987097890870978.....etc..
it moves to -1 in the output field, not a bug probably a format issue...
Ill have a closer look in the code... ;-)
The code does run here, partly ;-)
...first time i saw the unicode catch, Though I cant update the color
fields...everytime I type a new color it resets to the old value...
if you type this in the input field ->
9870987098709870987098709870987097890870978.....etc..
it moves to -1 in the output field, not a bug probably a format issue...
Ill have a closer look in the code... ;-)
-- (define? (Cornflakes))
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
-
- Posts: 394
- Joined: Wed Apr 26, 2006 3:37 am
- Location: Oregon, USA
- Contact:
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact: