Search found 2038 matches

by cormullion
Mon Jul 29, 2013 7:45 am
Forum: newLISP in the real world
Topic: Inserting into a nested list (with assoc)
Replies: 4
Views: 3412

Re: Inserting into a nested list (with assoc)

Perhaps set-ref can help:

Code: Select all

(set-ref (assoc (list 80 1010) me) me (append $it (list "more stuff")))

Code: Select all

(
 (80 (1010 ((84 114 117 115 116 80 105 112 101 73 115 65 119 101 115 111 109 101)) 
   "more stuff")) 
 (25 (1010 ((84 114 117 115 116 80 105 112 101 73 115 65 119 101 115 111 109 101)))
 ))
by cormullion
Sat Jun 22, 2013 10:42 am
Forum: newLISP in the real world
Topic: newLISP on Rockets
Replies: 20
Views: 12137

Re: newLISP on Rockets

Jeremy used to be here - but now of course he has his own forum! :) He acknowledges the influence of Dragonfly in the source code, and there are some snippets of Rockets code that I remember seeing before in Dragonfly. Perhaps it was the overall approach of Dragonfly that inspired and enabled the de...
by cormullion
Fri Jun 21, 2013 9:58 pm
Forum: newLISP in the real world
Topic: newLISP on Rockets
Replies: 20
Views: 12137

Re: newLISP on Rockets

I wanted a framework that simplified database work and jQuery access, something that Dragonfly didn't do, and wasn't likely to do as development seems to have stopped.
I think Jeremy must have assumed that Dragonfly had been abandoned and took it off in a new direction.
by cormullion
Thu Jun 20, 2013 1:23 pm
Forum: newLISP newS
Topic: LispNYC holding Lisp project contest
Replies: 2
Views: 8679

Re: LispNYC holding Lisp project contest

Are you going to rock and roll?!
by cormullion
Sat Jun 01, 2013 8:17 am
Forum: newLISP in the real world
Topic: Update on newlisp-mode for Emacs
Replies: 1
Views: 2136

Re: Update on newlisp-mode for Emacs

And what is this 'emacs' of which you speak some kind of vim-like editor?

No, seriously, good job!
by cormullion
Tue May 14, 2013 7:30 pm
Forum: Anything else we might add?
Topic: Tail Recusion
Replies: 7
Views: 5612

Re: Tail Recusion

I've no idea what he's on about to be honest...)
by cormullion
Tue May 14, 2013 5:36 pm
Forum: Anything else we might add?
Topic: Tail Recusion
Replies: 7
Views: 5612

Re: Tail Recusion

by cormullion
Sun May 12, 2013 7:02 pm
Forum: newLISP and the O.S.
Topic: REPL working directory?
Replies: 4
Views: 4138

Re: REPL working directory?

Yes, I did the bad bits, and some of the good bits, the rest of the good bits are from other contributors... And the examples ran correctly for one version of newLISP, even if they've broken since then... :)
by cormullion
Thu May 09, 2013 5:46 pm
Forum: newLISP in the real world
Topic: newLISP and big data?
Replies: 5
Views: 3525

Re: newLISP and big data?

That could be a symbol definition though...?
by cormullion
Thu May 09, 2013 10:36 am
Forum: So, what can you actually DO with newLISP?
Topic: Distributed newLisp question....
Replies: 1
Views: 5123

Re: Distributed newLisp question....

A running newLISP program can load code and execute it, so it's not difficult in theory. And you can use the debugger too. For example, consider this file: (define x 0) (define (ticker) (sleep 10000) (println "x is " x)) (define (main) (while (< x 20) (ticker))) (main) (println "finished") (exit) Yo...
by cormullion
Wed May 08, 2013 2:58 pm
Forum: newLISP in the real world
Topic: newLISP and big data?
Replies: 5
Views: 3525

Re: newLISP and big data?

Don't think so - the #f is Scheme/Lisp isn't it?
by cormullion
Sat May 04, 2013 7:53 am
Forum: newLISP in the real world
Topic: Parsing through an csv file
Replies: 9
Views: 3992

Re: Parsing through an csv file

Impressed! That'll wake Kanen up... :)
by cormullion
Fri May 03, 2013 3:21 pm
Forum: newLISP in the real world
Topic: Parsing through an csv file
Replies: 9
Views: 3992

Re: Parsing through an csv file

you were busy doing some proper testing... :)
by cormullion
Fri May 03, 2013 2:47 pm
Forum: newLISP in the real world
Topic: Parsing through an csv file
Replies: 9
Views: 3992

Re: Parsing through an csv file

It looks like you need to work through the documentation a bit... :) But here's something to get started: (load "csv.lsp") (define csv_path "file.csv") (set 'l (CSV:parse-file csv_path)) Now that you have stored the results of the parse-file function in a list, you're free to process the list. A sim...
by cormullion
Mon Apr 29, 2013 8:04 am
Forum: Whither newLISP?
Topic: A pair of lists
Replies: 4
Views: 7053

Re: A pair of lists

Do you mean '((a b c) (10 20 30))? Perhaps an 'indexed list'?

You might try asking on comp.lang.lisp. They have opinions to spare.

Just don't call it an iList. That's probably trademarked ...
by cormullion
Mon Apr 15, 2013 11:50 am
Forum: newLISP newS
Topic: Built-in, unlimited precision, big integer arithmetik
Replies: 18
Views: 19252

Re: Built-in, unlimited precision, big integer arithmetik

xytroxon wrote:Bist du wahnsinnig?
Ja veilleicht, ein bißchen, aber für programmieren mit NeueLisp wir mussen alles Englisch sprachen.

(Sorry, Lutz, my German lessons are a distant memory...)
by cormullion
Sun Apr 14, 2013 1:24 pm
Forum: newLISP newS
Topic: Built-in, unlimited precision, big integer arithmetik
Replies: 18
Views: 19252

Re: Built-in, unlimited precision, big integer arithmetik

Interesting. I'm going to play with it soon... And there's some editing work required in various other places, too, which I might get round to some time.

(arithmetiC, by the way, not arithmetiK), although it look good with a K...
by cormullion
Sun Apr 14, 2013 8:31 am
Forum: newLISP newS
Topic: Built-in, unlimited precision, big integer arithmetik
Replies: 18
Views: 19252

Re: Built-in, unlimited precision, big integer arithmetik

Nice addition, Lutz. Out of interest, why did you decide to add big number support now?
by cormullion
Fri Apr 05, 2013 10:25 am
Forum: Anything else we might add?
Topic: Some topics not appearing in "View Active Topics"?
Replies: 3
Views: 3626

Some topics not appearing in "View Active Topics"?

If I just click the "View Active Topics" link, I don't seem to see any of the contents of :

http://newlispfanclub.alh.net/forum/viewforum.php?f=12

It looks like the topics in "So, what can you actually DO with newLISP?" aren't registering in the Active Topics list...
by cormullion
Fri Apr 05, 2013 9:08 am
Forum: newLISP in the real world
Topic: variable and symbol
Replies: 2
Views: 1798

Re: variable and symbol

I'm aware of the inconsistency too, since I sometimes find myself using the two terms interchangeably, although I don't think they're entirely equivalent, so I probably shouldn't...