Page 1 of 1

Where is source file of IDE? Is it open-source ?

Posted: Wed Mar 28, 2012 2:37 am
by wendal
Where is source file of IDE? Is it open-source ?

Re: Where is source file of IDE? Is it open-source ?

Posted: Wed Mar 28, 2012 3:42 am
by Lutz
The IDE consisting of newlisp-edit.lsp, guiserver.lsp and the java based guiserver.jar is open source, licensed under the GPL. The source can be found in the source distribution newlisp-10.4.0.tgz in the guiserver and guiserver/java directories.

Re: Where is source file of IDE? Is it open-source ?

Posted: Wed Mar 28, 2012 11:54 am
by semperos
For any other newbies out there (like myself), took me a few minutes to figure out where/how to start the IDE.
  • Download the source tarball and extract
  • Go to the guiserver/ folder
  • Run the following:

Code: Select all

java -jar guiserver.jar <port> newlisp-edit.lsp
Obviously replacing <port> with a port number (47011 is a guiserver default).

Re: Where is source file of IDE? Is it open-source ?

Posted: Wed Mar 28, 2012 1:40 pm
by Lutz
When newLISP is installed normally, either using the binary installers or doing a 'make install' after building, it is even easier.

either on any OS

Code: Select all

newlisp newlisp-edit.lsp
or instead of newlisp-edit.lsp, which is the IDE, use any other of the demo or your own graphics programs.

On UNIX like OSs newlisp-edit.lsp is also installed as an executable script as /usr/bin/newlisp-edit and you can do:

Code: Select all

newlisp-edit

Re: Where is source file of IDE? Is it open-source ?

Posted: Fri Mar 30, 2012 6:15 am
by semperos
Good to know. I installed newLISP using the standard Mac OSX installer, and I have the newlisp-edit executable, but I don't seem to have newlisp-edit.lsp anywhere on my file system. Did a `cd / && find . -name newlisp-edit.lsp` just to make sure.

I assume it would normally be tucked away in "/usr/share/newlisp" ?

Re: Where is source file of IDE? Is it open-source ?

Posted: Fri Mar 30, 2012 2:08 pm
by Lutz
Only on the Windows installation, the file is named newlisp-edit.lsp. On Unix the same file gets renamed and installed without the .lsp extension as /usr/bin/newlisp-edit.