Search found 10 matches

by techdir0
Mon Feb 18, 2013 9:22 am
Forum: newLISP and the O.S.
Topic: Puppy Linux
Replies: 3
Views: 4885

Re: Puppy Linux

Thanks both - very helpful.

I discovered - quite by accident - that I could use the modules I needed, even without compiling in FFI: just as Lutz points out.

I'll experiment further when time allows, and report back here.
by techdir0
Wed Feb 13, 2013 12:23 pm
Forum: newLISP and the O.S.
Topic: Puppy Linux
Replies: 3
Views: 4885

Puppy Linux

I wonder if anyone has succeeded in running NewLisp under Puppy Linux, preferably 5.2.8? If so, is there an SFS available? UPDATE: Well, I got the source, and was able to compile it, but had to remove FFI from the compile and link lines in the makefile, to avoid errors. Seems to be working reasonabl...
by techdir0
Fri Aug 05, 2011 3:30 pm
Forum: newLISP in the real world
Topic: Odd problem
Replies: 8
Views: 4957

Re: Odd problem

Thanks both - I thought I was going mad!

I understand how the debugger handled things - and am/was ready to own up to the original error on my part.

I more often use 'local', so I guess I have left bits of the wrong syntax in the 'let' expression.

Thanks for the help.
by techdir0
Fri Aug 05, 2011 10:09 am
Forum: newLISP in the real world
Topic: Odd problem
Replies: 8
Views: 4957

Re: Odd problem

I chopped out some more - just hope this does not upset the board (or you guys reading it). In a file ODD.PL (define-macro (iparse _sent) (setq parses nul) (setq stack nul) (setq jumpflag nil) (setq sentence _sent) (setq state 's) (setq star (first sentence)) (atn state sentence) (and parses true ) ...
by techdir0
Fri Aug 05, 2011 9:42 am
Forum: newLISP in the real world
Topic: Odd problem
Replies: 8
Views: 4957

Re: Odd problem

Well, I would dearly like to, as this has me thoroughly confused.

But I cannot get the program down below 160 lines - which is probably too much to send up to the board?
by techdir0
Thu Aug 04, 2011 11:41 pm
Forum: newLISP in the real world
Topic: Odd problem
Replies: 8
Views: 4957

Odd problem

Hi I'm not sure how or where to ask this, so here goes. I'm running 10.3.0 0n Windows XP. I've converted a program (600 lines) from Common Lisp, and now I have a very odd problem. The program is a network interpreter, and runs recursively: it works correctly BUT only if I debug through the entire pr...
by techdir0
Thu Dec 24, 2009 10:01 am
Forum: newLISP in the real world
Topic: Newbie problem with newLisp-gs
Replies: 7
Views: 3651

Re: Newbie problem with newLisp-gs

That seems to work - thank you for finding it.

I think I will go along with the majority opinion, and stick to the terminal view. I expect I shall end up using TextPad as my
editor, since I'm used to it, and I can modify the syntax files to suit newLisp.
by techdir0
Wed Dec 23, 2009 10:44 am
Forum: newLISP in the real world
Topic: Newbie problem with newLisp-gs
Replies: 7
Views: 3651

Re: Newbie problem with newLisp-gs

Well, that would be useful, but it doesn't seem to work that way for me. This is what happens to me (begin (setq z (read-line))(println "parse z= " (parse z))) hey this is great parse z= ("(" "begin" "(" "setq" "z" "(" "read-line" ")" ")" "(" "println" "parse z= " "(" "parse" "z" ")" ")" ")") ("(" "...
by techdir0
Fri Dec 18, 2009 9:09 am
Forum: newLISP in the real world
Topic: Newbie problem with newLisp-gs
Replies: 7
Views: 3651

Re: Newbie problem with newLisp-gs

Thanks - I think I understand now what is going on.

Since my interest in newLisp is for natural language interaction, I guess I will work in a terminal until or unless I have a simple graphical interface for the user.
by techdir0
Thu Dec 17, 2009 9:36 am
Forum: newLISP in the real world
Topic: Newbie problem with newLisp-gs
Replies: 7
Views: 3651

Newbie problem with newLisp-gs

New to Lisp, and newLisp

Why does

Code: Select all

(setq res (parse (read-line))) 
produce expected result in command line version,
but return
( "(" "setq" "res" "(" "parse" "(" "read-line" ")" ")" ")" )

if entered in newLisp-gs?? that is, in the IDE.

I'm using v10.1.7 on WinXP