newLISP Fan Club

Forum => newLISP newS => Topic started by: Tim Johnson on February 23, 2008, 04:09:07 PM

Title: Newlisp Coded in Java?
Post by: Tim Johnson on February 23, 2008, 04:09:07 PM
I know of some long-time java programmers who are switching to jython.

FYI: jython is python written in java and gives access to java resources

keeping the more compact python syntax.



As a long-time python programmer who is learning newlisp in my

spare time, I think I'm going to find newlisp more efficient LOCwise

than python - just as rebol is more efficient LOCwise than python.



LOC = lines of code



Therefore, it behooves me to ask:

What about a newlisp written in java?

And the newlisp binary on linux is about 15% the

size of the python 2.5 binary with, I assume similar

comparisions in the LOC.



Inquiring minds want to know.... :-)

Tim
Title:
Post by: lithper on February 23, 2008, 08:22:49 PM
coding micro-lisps in Java is a surprisingly popular hobby.

Check www.freshmeat.net and sourceforge.net -- you'll be amazed ;))
Title:
Post by: cormullion on February 24, 2008, 01:26:15 AM
I suppose the guiserver is sort of what you mean - newLISP driving a Java library? Presumably other Java resources could be integrated in the same way, without having to write newLISP 'in' Java.



And I have the slogan all ready:



"You know you're using newLISP-Java when you see this in the console"


Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
at java.util.Vector.elementAt(Vector.java:432)
at CanvasWidget$MyCanvas.render(CanvasWidget.java:638)
at CanvasWidget$MyCanvas.paint(CanvasWidget.java:603)
at javax.swing.JComponent._paintImmediately(JComponent.java:4890)
at javax.swing.JComponent.paintImmediately(JComponent.java:4676)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:477)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


which happens to me when I make a mistake using the guiserver... :)
Title:
Post by: newBert on February 24, 2008, 02:24:13 AM
For a Lisp written in Java, you can see Fanda's post :


Quote from: "Fanda"My expectations were quite high, but there are some good things to look at ;-)



I believe that for example Clojure innovates more:

http://clojure.sourceforge.net/



Fanda


in this topic (//http).