It depends on the level of support you want to implement.
The most basic font-locking, just keywords, can be archieved quite
easily. You may also easily set the syntax of characters defining
comments and various classes of parentheses.
Now, depending on the language, you may want to implement a parser to be
able to provide more sophisticated support, such as sexp movement,
syntax based font-locking, structured editing commands, etc.
So it's probably not too ambitious because:
1- you can approach it progressively,
2- there are a lot of examples (all the programming language modes),
3- there's all the documentation you want.
--
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.
My lord, I *taught* SNOBOL4 at an American university more than 40 years
ago, and got Griswold's book then. It's astonishing to see that someone is
still using it. What compiler and platform?
djc
It wouldn't be too abitious.
Have a look at the function font-lock-add-keywords to begin with,
and then you can look at all the existing modes as examples of what you
can do.
Hello! My question on Emacs was for use on Linux with Phil Budne's csnobol4
port. It is an interpreter. You can find it at snobol4.com or snobol4.org, I
can't remember which. I also have the original Bell Labs SNOBOL4 and
SPITBOL-360 running on IBM's MVS, found both on the web!
Thanks and sorry. You answered this before but it got posted again
accidentally but of course my thank you note didn't.
Thanks for your advice :-)