newLISP Fan Club

Forum => newLISP in the real world => Topic started by: wendal on March 27, 2012, 07:37:38 PM

Title: Where is source file of IDE? Is it open-source ?
Post by: wendal on March 27, 2012, 07:37:38 PM
Where is source file of IDE? Is it open-source ?
Title: Re: Where is source file of IDE? Is it open-source ?
Post by: Lutz on March 27, 2012, 08:42:39 PM
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.
Title: Re: Where is source file of IDE? Is it open-source ?
Post by: semperos on March 28, 2012, 04:54:08 AM
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:



    java -jar guiserver.jar <port> newlisp-edit.lsp


    Obviously replacing <port> with a port number (47011 is a guiserver default).
  • Title: Re: Where is source file of IDE? Is it open-source ?
    Post by: Lutz on March 28, 2012, 06:40:10 AM
    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
    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:
    newlisp-edit
    Title: Re: Where is source file of IDE? Is it open-source ?
    Post by: semperos on March 29, 2012, 11:15:54 PM
    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" ?
    Title: Re: Where is source file of IDE? Is it open-source ?
    Post by: Lutz on March 30, 2012, 07:08:58 AM
    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.