Search found 47 matches
- Tue Oct 06, 2009 8:03 am
- Forum: Whither newLISP?
- Topic: Modern LISP and newLISP on reddit
- Replies: 1
- Views: 3182
Modern LISP and newLISP on reddit
Hi, A reddit user asked what's a good, modern LISP to learn and among the usual cruft about Common Lisp (which is cool) came Scheme (flavours), Clojure, Rebol (surprising, but it's actually quite cool, shame on licensing) and newLISP. As usual, our newlispers have been downvoted, so after 'rescuing'...
- Thu Jul 02, 2009 1:45 pm
- Forum: Whither newLISP?
- Topic: lazy iteration over strings in memory???
- Replies: 7
- Views: 7719
Hi there, the database you are describing reminds me to nosql (not the current, famous one) an ascii text based relational database which used perl scripts for the operations, and files for tables... it was pretty interesting, because you needed zero sql to do all the usual relational db chores. as ...
- Mon Jun 15, 2009 10:27 pm
- Forum: newLISP newS
- Topic: Release 10.1 delayed to June 22nd
- Replies: 5
- Views: 5878
Lutz, Sounds really enticing, can't waitto get the new version a documentation! As for threading, I guess I was really thinking about fork() emulation under Windows... If native threads are the way to go, maybe a windows guru could provide a test implementation so we can use Cilk and concurrent code...
- Sun Jun 14, 2009 8:35 pm
- Forum: newLISP newS
- Topic: Release 10.1 delayed to June 22nd
- Replies: 5
- Views: 5878
Lutz, Sounds cool, indeed! Anyway, lots of changes for the new release, it'll surely be worth the upgrading! Once question, though. I know that Windows, not having fork(), it's a hindrance for multiprocess... Any possibility of having pseudo-fork support on Windows by using threads of some kind? (po...
- Tue Jun 09, 2009 7:21 pm
- Forum: Whither newLISP?
- Topic: Parallelism and newLISP
- Replies: 6
- Views: 6749
Lutz, Thanks for your reply. Yeah, I see the Cilk abilities as a huge step forward, and it's something I'd really like to esplore with calm and joy (which means I haven't been able to do anything less that a quick glance at them). My question was more in the interpreter line. I mean, when I launch n...
- Fri Jun 05, 2009 9:12 pm
- Forum: Whither newLISP?
- Topic: Parallelism and newLISP
- Replies: 6
- Views: 6749
Parallelism and newLISP
Greetings! I'm sure many of you have read Guy Steele's recent article about multicore, parallel programming... If you have not, here's the link to the PDF file: http://groups.csail.mit.edu/mac/users/gjs/6.945/readings/MITApril2009Steele.pdf The thing is, he splicitely mentions linked lists as being ...
- Sun May 17, 2009 5:15 pm
- Forum: Anything else we might add?
- Topic: Nominate newLISP in Sourceforge
- Replies: 10
- Views: 10203
- Thu Apr 02, 2009 9:23 am
- Forum: newLISP newS
- Topic: Promoting my blog.
- Replies: 61
- Views: 51261
very nice kazimir ! -> http://www.instprog.com/Instprog.default-library.lsp perhpas 'nice' is an understatement here ;-) Agreed! I already use it and abuse it, so thanks for the great work. Now, returning to supernatural symbols, I think I get the idea... It's interesting, though, as it came to my ...
- Thu Mar 26, 2009 3:16 pm
- Forum: newLISP in the real world
- Topic: <updated> update.lsp
- Replies: 11
- Views: 5784
- Thu Mar 26, 2009 3:14 pm
- Forum: newLISP Graphics & Sound
- Topic: Problem with newLISP-GS
- Replies: 1
- Views: 4537
Problem with newLISP-GS
Greetings, I dunno if this is common to all platforms, but I have particularly noticed in my windows machine at work: I run newLISP-GS, hack around, leave it open and when I come back the next day (the machine has tasks to do during the night, so it's on during the week) my newLISP-GS session is gon...
- Thu Mar 26, 2009 2:27 pm
- Forum: newLISP in the real world
- Topic: <updated> update.lsp
- Replies: 11
- Views: 5784
Yup! Tested on both GNU/Linux and in Windows, like a charm. Lutz, is there any chance to permanently add the Debian-packaging information related to newLISP to the sources? That would allow us to use newdep's script and then make a package to install on Debian-like GNU/Linux distributions (like mine...
- Wed Mar 25, 2009 2:01 pm
- Forum: Whither newLISP?
- Topic: (but-last) ?
- Replies: 5
- Views: 5818
Re: (but-last) ?
Time for newLISP's implicit indexing to come to the rescue!!! ;) ... (drop-last '("http" "example.com" "path" "to" "files" "file1.html")) -> ("http" "example.com" "path" "to" "files") Yeah, it's actually something that doesn't easily arise just by browsing the functions index when reading the docum...
- Wed Mar 25, 2009 1:41 pm
- Forum: Whither newLISP?
- Topic: (but-last) ?
- Replies: 5
- Views: 5818
I'm not sure I'd consider such an easy to do task worthy of a new function all of its own ... most is quite fun, but a bit vague for some, perhaps. but-first and but-last would be symmetrical alternatives. The truth is (chop) is not an intuitive name for this task, even when it's covered by it. Wel...
- Tue Mar 24, 2009 2:54 pm
- Forum: Whither newLISP?
- Topic: (but-last) ?
- Replies: 5
- Views: 5818
(but-last) ?
Hi there, This is a problem that has arisen several times now in my programs (which do some heavy text file parsing) I get a text line, (parse) it and then I need a list of tokens but the last one. A silly example: getting the base URI from a given URI: "http://example.com/path/to/files/file1.html" ...
- Fri Mar 20, 2009 6:06 pm
- Forum: newLISP and the O.S.
- Topic: (parse-date)
- Replies: 5
- Views: 6012
- Wed Mar 18, 2009 2:11 pm
- Forum: newLISP and the O.S.
- Topic: (parse-date)
- Replies: 5
- Views: 6012
- Wed Mar 18, 2009 1:17 pm
- Forum: newLISP and the O.S.
- Topic: (parse-date)
- Replies: 5
- Views: 6012
(parse-date)
Greetings, I'm writing a script for parsing the output of the 'last' command, and I have found that (parse-date) gives an error. This is in 10.0.2 in Windows (both in newLISP GS and using it with cygwin) > (sys-info) (391 268435456 367 1 0 2048 3268 10002 6) > (parse-date) ERR: invalid function : (p...
- Mon Mar 16, 2009 2:27 pm
- Forum: newLISP newS
- Topic: Promoting my blog.
- Replies: 61
- Views: 51261
- Thu Mar 05, 2009 4:29 pm
- Forum: newLISP in the real world
- Topic: Return value of make-dir
- Replies: 2
- Views: 2360
Most functions in newLISP dealing with files and directories return 'nil' when the underlying operating system functions fails. You can use the newLISP function 'sys-error' to find out what went wrong. The following interactive session illustrates this: Ah, cool... This means I can wrap the system ...
- Thu Mar 05, 2009 11:32 am
- Forum: newLISP in the real world
- Topic: Return value of make-dir
- Replies: 2
- Views: 2360
Return value of make-dir
Greetings, Recently I found out that a script of mine stopped working under cygwin when it had been working OK for weeks. Debugging it, I found out that, for some reason, the permissions on the base directory were incorrect and the user the script was running under couldn't create a new directory. N...
- Thu Dec 11, 2008 8:06 am
- Forum: newLISP newS
- Topic: Promoting my blog.
- Replies: 61
- Views: 51261
- Mon Feb 04, 2008 10:49 am
- Forum: newLISP newS
- Topic: newlisp.vim version 1.13
- Replies: 3
- Views: 3551
- Tue May 29, 2007 4:22 pm
- Forum: Anything else we might add?
- Topic: Collect-like and J style
- Replies: 4
- Views: 4341
Lutz, thanks for the help, it was pretty, well, helpful... :-) Below I provide a 'collect' function that does kind-of foldr as I'd like to... crude, but it could be useful: (define (collect f n) (let ((done false) (result (list n))) (do-while (nil? done) (begin (setq n (f n)) (if (nil? n) (set 'done...
- Tue May 29, 2007 10:20 am
- Forum: Anything else we might add?
- Topic: Collect-like and J style
- Replies: 4
- Views: 4341
Collect-like and J style
Greetings! LTNS, actually... I'm unrusting myself with an interesting page I found, essays in J language ( http://www.jsoftware.com/jwiki/Essays ). I am trying the first one, the Collatz conjecture, http://www.jsoftware.com/jwiki/Essays/Collatz_Conjecture , and I was wondering how do you do in idiom...
- Fri Sep 23, 2005 7:10 am
- Forum: Anything else we might add?
- Topic: interpreted lisps
- Replies: 4
- Views: 6386
Nice article... I've tinkered with Pico Lisp some time ago, and it seemd a very pragmatic and nice solution... In a way, it's like newLisp, in others, it's not... Where do you see the similarities to newLisp? Where do they differ? The article shows an intersting statistic where the interpreted pico...