The newLISP Fan Club has a Wiki!

Started by Ryon, May 26, 2007, 08:26:02 PM

Previous topic - Next topic

Lutz

#15
I can host it here:



http://www.newlisp.org/index.cgi?Code_Contributions">http://www.newlisp.org/index.cgi?Code_Contributions



its currently linked to the wiki, but I could copy it over,



if it works on the latest development version of newLISP and works on jEdit. I have used jEdit earlier and really liked it.

m35

#16
Quote from: "Lutz"I can host it here:



http://www.newlisp.org/index.cgi?Code_Contributions">http://www.newlisp.org/index.cgi?Code_Contributions



its currently linked to the wiki, but I could copy it over, if it works on the latest development version of newLISP and works on jEdit.


Thanks Lutz. I'll clean it up and test it with the latest and send it to you when I have time.


Quote from: "Lutz"I have used jEdit earlier and really liked it.


Careful Lutz, such comments might be referenced in fanatical promotion for jEdit by people who's lives have been drastically improved as a result of using it. ;)

cormullion

#17
The syntax generation file doesn't work with 9.9/10. I'm seeing the error:


!= 7
$ 7
$0 0
$1 0
$10 0
$11 0
$12 0
$13 0
$14 0
$15 0
$2 0
$3 0
$4 0
$5 0
$6 0
$7 0
$8 0
$9 0
$args 11
$idx 2

ERR: user error : Unhandled symbol type 2 for $idx
called from user defined function JEDIT-MODE-GEN:symbols-mapped-to-xml
called from user defined function JEDIT-MODE-GEN:print-sym-xml


(I added a println command to see what the problem was...) I don't really understand what dump is doing (well, apart from printing out magic numbers) - but why $idx - that isn't new...? I can't see anything obviously out of date with the rest of the code.

m35

#18
Just offhand I think it's due to the new functionality of $idx working in (map) function. When I initially wrote it, I avoided using (dolist) for specifically this reason. In any case, Lutz already uploaded a slightly updated version of the script on newlisp.org. I'm also going to take a closer look at the script just to make sure everything is working properly.

Lutz

#19
QuoteJust offhand I think it's due to the new functionality of $idx working in (map) function.


Yes, that is the reason. I guess you have seen my private message earlier this morning. I have it working adding this:


(2  ;; number (symbols that are number)
  (append "<KEYWORD3>" (encode-xml (string x)) "</KEYWORD3>")
)


and its already here:



http://www.newlisp.org/syntax.cgi?code/jEdit-lsp.txt">http://www.newlisp.org/syntax.cgi?code/jEdit-lsp.txt