Discussion:
Syntax file for JOE editor
(too old to reply)
duke
2010-12-16 00:24:09 UTC
Permalink
Hello
Group ...

Would any of you fine M2 aficionados know of the whereabouts of a
M2
syntax file for the JOE editor? Much obliged!
--
Duke
aaaaaaaaaaaaaaaaaaaaaaaaaa
2010-12-16 09:24:04 UTC
Permalink
Post by duke
Hello
Group ...
Would any of you fine M2 aficionados know of the whereabouts of a
M2
syntax file for the JOE editor? Much obliged!
--
Duke
kate has it built in

jed and joe not. and creating a syntax highlighter is not trivial.
aaaaaaaaaaaaaaaaaaaaaaaaaa
2010-12-16 10:23:19 UTC
Permalink
Post by duke
Hello
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.
duke
2010-12-16 12:27:03 UTC
Permalink
Post by aaaaaaaaaaaaaaaaaaaaaaaaaa
Post by duke
Hello
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
Fruttenboel
2010-12-16 21:05:16 UTC
Permalink
Post by duke
Post by aaaaaaaaaaaaaaaaaaaaaaaaaa
Post by duke
Hello
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.

Loading...