Register to post in forums, or Log in to your existing account
 

Post new topic  Reply to topic     Home » Forums » Website or Forum problems
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4662
Location: Pensacola, FL, USA

PostPosted: Thu Dec 21, 2006 9:24 am   

Color Suggestion
 
Not quite a problem, I know... but:

How hard would it be to have the boards parse and color zscript that is within the code tags?
_________________
Discord: Shalimarwildcat
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Thu Dec 21, 2006 12:53 pm   Re: Color Suggestion
 
shalimar wrote:
Not quite a problem, I know... but:

How hard would it be to have the boards parse and color zscript that is within the code tags?

It is much more difficult to colourize zScript than for example C++. When colouring a language like C++ you just colourize the tokens without bother about the syntactic structure.

If the colourization should be done like in zMUD the colouring also depends on the syntactic structure of the language(also required to properly do pretty printing). E.g alias calls should be coloured blue, but only if the alias is defined somewhere. Operators are coloured in math expressions but not where they are concatenated into strings.

I wrote a zScript colourizer a few years ago. Unfortunately I have a kind of phobia to release source code so I never made it downloadable. They say one way to defeat a phobia is to go against it, so I might reconsider.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » Website or Forum problems All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
© 2009 Zugg Software. Hosted on Wolfpaw.net