Hello all.
This may be something stupid - who knows. When I open newLISP IDE I see 'ERR: no working directory found' at the bottom, and no program will show any output - though I do believe they run. I know you pass the working directory to newLISP itself - but I cant seem to figure this IDE thing out.
EDIT: Programs WILL run through the command line with no issue - only the IDE itself seems problematic.
Thanks in advance.
Vista 64bit with recently updated Java.
newLISP-GS IDE has 'ERR: no working directory found' (VISTA)
Small error found in newlisp-edit.lsp affects windows users
I am new to LISP in general, but I think I found a very simple thing that was botching IDE up, not running newlisp at the bottom of the window like it should. Kept telling me no working directory found. So I tried installing it on my iMac - and it worked without a hitch. So I opened newlisp-edit.lsp and saw:
When I changed the outputarea slashes by $HOME to the problem went away. I can now run programs in the IDE and the working directory stuff went away.
I am not sure if this is a Vista issue, or a windows issue in general, but it may affect others besides me.
Anyway I am looking forward to learning newLISP as it seems the best option for modern application programming (meaning windowing, graphics, and such since most of the free LISP compilers out there really do console only apps) with a LISP dialect under the thousand dollar range :)
Thanks.
Code: Select all
(define (start-newlisp-shell)
(if (= ostype "Win32")
(gs:run-shell 'OutputArea
(string newlispDir "/newlisp.exe " currentExtension " -C -w \"" $HOME "\""))
(gs:run-shell 'OutputArea
(string "/usr/bin/newlisp " currentExtension " -C -w " $HOME))
)
)
Code: Select all
(string newlispDir "/newlisp.exe " currentExtension " -C -w /"" $HOME "/""))
I am not sure if this is a Vista issue, or a windows issue in general, but it may affect others besides me.
Anyway I am looking forward to learning newLISP as it seems the best option for modern application programming (meaning windowing, graphics, and such since most of the free LISP compilers out there really do console only apps) with a LISP dialect under the thousand dollar range :)
Thanks.
Re: Small error found in newlisp-edit.lsp affects windows users
That is very odd. The characters in red are the strings:biffsnot wrote:Code: Select all
(string newlispDir "/newlisp.exe " currentExtension " -C -w /"" $HOME "/""))
(string newlispDir "/newlisp.exe " currentExtension " -C -w /"" $HOME "/"")
So $HOME is not being evaluated, but that '/' is, producing a string such as this:
newlispDir/newlisp.exe currentExtension -C -W / $HOME / <40E1C7>
Welcome to the party!biffsnot wrote:Anyway I am looking forward to learning newLISP as it seems the best option for modern application programming (meaning windowing, graphics, and such since most of the free LISP compilers out there really do console only apps) with a LISP dialect under the thousand dollar range :)
Re: Small error found in newlisp-edit.lsp affects windows users
Yeah thats what I sort of figured. LISP syntax is still a bit foreign to me but I had noticed the quotes positions as I do have experience with other languages. The only change I made was those slashes and it works like a charm though so until I dig a bit deeper into the language I guess I will just be happy it works and runs like a champ lol :)m35 wrote:That is very odd. The characters in red are the strings:biffsnot wrote:Code: Select all
(string newlispDir "/newlisp.exe " currentExtension " -C -w /"" $HOME "/""))
(string newlispDir "/newlisp.exe " currentExtension " -C -w /"" $HOME "/"")
So $HOME is not being evaluated, but that '/' is, producing a string such as this:
newlispDir/newlisp.exe currentExtension -C -W / $HOME / <40E1C7>
biffsnot wrote:Anyway I am looking forward to learning newLISP as it seems the best option for modern application programming (meaning windowing, graphics, and such since most of the free LISP compilers out there really do console only apps) with a LISP dialect under the thousand dollar range :)
Thank you - I really seem to feel the depth and power looking at some of this demo code. I checked out a quick Brainf**k (an esoteric language) interpreter someone whipped up and tons of conditionals and case-style statements were just streamlined into so damn few actual statements. It was a bit amazing. Nice to see a powerful older language being presented in a way that would bring people to it for use in modern applications.Welcome to the party!
Re: newLISP-GS IDE has 'ERR: no working directory found' (VISTA)
Thank you very much! I just realized, that I can open newlisp-edit.lsp and add there regexp search, parameters save, higher search fields and other functions I miss so!