Post by dukePost by aaaaaaaaaaaaaaaaaaaaaaaaaaPost by dukeHello
Group ...
Would any of you fine M2 aficionados know of the whereabouts of a
M2
syntax file for the JOE editor? Much obliged!
--
Duke
There is a pascal.jsf file. Edit that. Should be rather easy.
This evening I will take a look at it. Now I have to go out to get
mailboxes filled.
aaaaaaaah! :D
You could even extend the Pascal file.... That's what they did for
Delphi. I
copied pascal.jsf to my home directory
renamed it mod2.jsf
edited it a bit
turned into (a) root
got to /etc/joe/syntax
renamed pascal.jsf to pascal.jsf.org
copied /home/jan/mod2.jsf to pascal.jsf
let go of root status
copied a modula2 file to pr.pas
ran 'joe pr.pas'
Now I have a certain degree of syntax highlighting. It's nice, but
I've seen nicer things.
If you look at the jsf file, there is a certain resemblance to EBNF.
So, if looking for a nice project, create an EBNF to JSF translator in
Modula-2. That would be real nice.