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

Started by wendal, March 27, 2012, 07:37:38 PM

Previous topic - Next topic

wendal

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

Lutz

#1
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.

semperos

#2
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:
  • [/list]



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


    Obviously replacing <port> with a port number (47011 is a guiserver default).

    Lutz

    #3
    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

    semperos

    #4
    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" ?

    Lutz

    #5
    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.