Search found 12 matches

by semperos
Fri Mar 30, 2012 6:15 am
Forum: newLISP in the real world
Topic: Where is source file of IDE? Is it open-source ?
Replies: 5
Views: 2932

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

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/sh...
by semperos
Wed Mar 28, 2012 11:54 am
Forum: newLISP in the real world
Topic: Where is source file of IDE? Is it open-source ?
Replies: 5
Views: 2932

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

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 i...
by semperos
Sat Mar 17, 2012 3:34 pm
Forum: newLISP in the real world
Topic: Unix module, Protected symbols
Replies: 2
Views: 1758

Re: Unix module, Protected symbols

Great! Thanks for the fix and the info.
by semperos
Fri Mar 16, 2012 10:44 pm
Forum: newLISP in the real world
Topic: Unix module, Protected symbols
Replies: 2
Views: 1758

Unix module, Protected symbols

Using newLISP 10.4.0, Mac OSX Lion. At command-line, I start a newLISP REPL with `newlisp`. I get a prompt. I then load the unix module that comes with newLISP like this: (load "/usr/share/newlisp/modules/unix.lsp") This file does, indeed, exist at that location. When I evalute this, I get the follo...
by semperos
Fri Mar 16, 2012 3:48 pm
Forum: newLISP in the real world
Topic: Different Behavior, Script vs. Compiled/Linked
Replies: 19
Views: 11088

Re: Different Behavior, Script vs. Compiled/Linked

Yep, understood on how link.lsp works. newLISP is plenty fast; my only goal was to create self-contained and portable utilities to share between identical machines (at my work).
by semperos
Fri Mar 16, 2012 12:53 pm
Forum: newLISP in the real world
Topic: Different Behavior, Script vs. Compiled/Linked
Replies: 19
Views: 11088

Re: Different Behavior, Script vs. Compiled/Linked

I'm glad I'm not going mad, either :-) The only reason I tried it was that I was trying out a few new Lisps (Clojure is my primary language) and was interested in platform executable compilation, as Clojure only compiles to Java artifacts that require a bit more setup to be used as scripts. Thanks f...
by semperos
Fri Mar 16, 2012 5:03 am
Forum: newLISP in the real world
Topic: Different Behavior, Script vs. Compiled/Linked
Replies: 19
Views: 11088

Re: Different Behavior, Script vs. Compiled/Linked

Ok, perhaps I lied, this is just too curious. Lutz - are you moving the compiled file from where you build it? Are you putting it somewhere else on your path and using it elsewhere in your file system? Upon further inspection, I'm seeing the same behavior cormullion is. I stopped using my `program` ...
by semperos
Fri Mar 16, 2012 4:49 am
Forum: newLISP in the real world
Topic: Different Behavior, Script vs. Compiled/Linked
Replies: 19
Views: 11088

Re: Different Behavior, Script vs. Compiled/Linked

Then I officially ask you to stop helping me on this front :-) I'm really impressed by the efforts you've taken to reproduce my problem, and I sincerely appreciate the help. I will continue to tinker with the compilation. On a slightly unrelated note - is there a syntax for the default globbing supp...
by semperos
Fri Mar 16, 2012 1:19 am
Forum: newLISP in the real world
Topic: Different Behavior, Script vs. Compiled/Linked
Replies: 19
Views: 11088

Re: Different Behavior, Script vs. Compiled/Linked

My problem still persists. Lutz - Do you do anything different than what's described in the manual for compilation? Do you have any info on the other behaviors I mentioned above? (that running the compiled version over Lisp code files gave complaints about undefined functions in the code I was read-...
by semperos
Thu Mar 15, 2012 3:22 pm
Forum: newLISP in the real world
Topic: Different Behavior, Script vs. Compiled/Linked
Replies: 19
Views: 11088

Re: Different Behavior, Script vs. Compiled/Linked

Thanks for addressing this, Lutz. I cannot repeat that error, no matter if using the 32-bit or 64-bit of newLISP. Can you give exact instructions, how the the link was made and the resulting linked script is used? I am also on OSX Lion. Here are the directories I'm working with: ~/dev/newlisp/utils/...
by semperos
Thu Mar 15, 2012 5:23 am
Forum: newLISP in the real world
Topic: Different Behavior, Script vs. Compiled/Linked
Replies: 19
Views: 11088

Re: Different Behavior, Script vs. Compiled/Linked

Forgot to include my computer specs:
  • newlisp --version => "newLISP v.10.4.0 on OSX IPv4/6 UTF-8"
  • Mac OSX Lion
by semperos
Thu Mar 15, 2012 5:21 am
Forum: newLISP in the real world
Topic: Different Behavior, Script vs. Compiled/Linked
Replies: 19
Views: 11088

Different Behavior, Script vs. Compiled/Linked

First, a big thanks to Lutz and the community for creating newLISP. I'm new to newLISP. I've written a simple grep-like script using newLISP. The code is here: https://gist.github.com/2041991 Used like mgrep "foo||bar" *.txt As a script, this code works as expected; it reads files in line-by-line, p...