Search found 2038 matches
- Mon Dec 06, 2021 8:00 pm
- Forum: newLISP newS
- Topic: Happy Birthday newLisp
- Replies: 5
- Views: 11422
Happy Birthday newLisp
Is newLisp 30 years old? Happy Birthday!
- Sun Aug 09, 2015 5:58 pm
- Forum: newLISP newS
- Topic: UTF8 and regular expressions in newLISP
- Replies: 7
- Views: 20164
- Thu Aug 06, 2015 8:09 am
- Forum: Dragonfly
- Topic: Dragonfly 0.73
- Replies: 1
- Views: 7655
Re: Dragonfly 0.73
Necromancer!
- Sat Aug 01, 2015 3:27 pm
- Forum: newLISP and the O.S.
- Topic: OS : El Capitan (10.11)
- Replies: 2
- Views: 10590
Re: OS : El Capitan (10.11)
Cool, I'll delete and re-install newLISP just before El Capitan is released. I understand ElCap will delete any non-system files from /usr/bin during its installation, but newLISP should be safe once installed in/usr/local. I will have to update a few files (those in which I didn't use "#!/usr/bin/e...
- Sat Aug 01, 2015 8:42 am
- Forum: newLISP and the O.S.
- Topic: OS : El Capitan (10.11)
- Replies: 2
- Views: 10590
OS : El Capitan (10.11)
I understand that the next version of OS X won't allow users to install anything into /usr/bin/. Is this going to affect newLISP installations?
(I may have missed any discussion of this - sorry!)
(I may have missed any discussion of this - sorry!)
- Tue May 12, 2015 7:25 pm
- Forum: Dragonfly
- Topic: How to tell if route_cgi.lsp is running?
- Replies: 10
- Views: 23686
Re: How to tell if route_cgi.lsp is running?
Cool, thanks! On Github there are a number of other repos too - e.g. https://github.com/marchildmann/Dragonfly (Last updated 6 years ago... ! :)). And there's a four-year old version (https://github.com/taoeffect/dragonfly-newlisp). I've been tinkering with my local copy (I had problems when the hos...
- Tue May 12, 2015 12:04 pm
- Forum: Dragonfly
- Topic: How to tell if route_cgi.lsp is running?
- Replies: 10
- Views: 23686
Re: How to tell if route_cgi.lsp is running?
Hi Marc - what happened to http://www.rundragonfly.com? I went there the other day (problems with Dragonfly and newlisp v10.6) and I didn't understand a thing (although I liked the castle) !
- Thu Mar 12, 2015 8:21 am
- Forum: newLISP and the O.S.
- Topic: Benchmarking newLISP
- Replies: 28
- Views: 50829
Re: Benchmarking newLISP
Yes, that mistake has been made more than once... :)
- Wed Mar 11, 2015 4:54 pm
- Forum: newLISP and the O.S.
- Topic: Benchmarking newLISP
- Replies: 28
- Views: 50829
Re: Benchmarking newLISP
newLISP 10.6 looks to be slower than older versions — I'm only getting 0.9 seconds now on 10.6, compared with 0.4 with newLISP 10.3. I was going to investigate, but the benchmark "qa-bench" in the current distribution isn't backwards compatible with earlier versions... Which makes the top post fairl...
- Wed Mar 11, 2015 8:54 am
- Forum: newLISP and the O.S.
- Topic: Benchmarking newLISP
- Replies: 28
- Views: 50829
Re: Benchmarking newLISP
Seems a bit slow - presumably that's due to newLISP 10.6.0 rather than OSX 10.9 or the Recycle Bin...?
- Wed Sep 17, 2014 3:16 pm
- Forum: newLISP in the real world
- Topic: PEG and template system?
- Replies: 4
- Views: 6330
- Wed Aug 06, 2014 11:07 pm
- Forum: Anything else we might add?
- Topic: Indent version lisp
- Replies: 10
- Views: 20056
Re: Indent version lisp
Well I don't test my code very thoroughly .. :) but I remember adding something for bigints earlier, so it kind of works, and it's not too far behind. Pull requests accepted!
- Tue Aug 05, 2014 7:21 am
- Forum: Anything else we might add?
- Topic: Indent version lisp
- Replies: 10
- Views: 20056
Re: Indent version lisp
I tried it, and soon started to miss the parentheses. #!/usr/bin/newlisp define D:D map fn x D x inc D x explode read-file main-args 2 map fn p println p 0 "\t:\t" p 1 D exit or #!/usr/bin/newlisp (define D:D) (map (fn (x) (D x (inc (D x)))) (explode (read-file ((main-args) 2)))) (map (fn (p) (print...
- Sun Jul 13, 2014 8:50 am
- Forum: So, what can you actually DO with newLISP?
- Topic: newLISP and my AR.Drone 2.0
- Replies: 2
- Views: 10091
Re: newLISP and my AR.Drone 2.0
Great - now I want one of those... :)
- Thu Jun 19, 2014 3:42 pm
- Forum: newLISP in the real world
- Topic: How to design a function like Clojure 'iterate'
- Replies: 4
- Views: 6683
- Fri May 30, 2014 8:41 am
- Forum: newLISP in the real world
- Topic: List or quoted List
- Replies: 2
- Views: 4518
Re: List or quoted List
(map inc '(1 2 3 4 5)) but above expression returned a list? or a quoted list? It returns an unevaluated list: (2 3 4 5) As does: '(1 2 3 4) (1 2 3 4) which is why you can do: (map inc (map inc '(1 2 3 4)) ;-> (3 4 5 6) I don't think built-in functions are exactly macros, but many of them have spec...
- Wed May 21, 2014 7:02 pm
- Forum: newLISP in the real world
- Topic: a journey in seek of a new language
- Replies: 2
- Views: 4778
Re: a journey in seek of a new language
Hi there. The wikibooks was intended as a general and gentle introduction, perhaps for people such as engineers or non-programmers who want to introduce some automation to their work. This mirrors newLISP itself, which is similarly not directed purely towards computer science graduates and experienc...
- Fri May 16, 2014 4:00 pm
- Forum: newLISP in the real world
- Topic: Is there a List comprehensions macro?
- Replies: 3
- Views: 5871
Re: Is there a List comprehensions macro?
Not sure, I don't think it does. Of course you can easily say: (dolist (x b) (dolist (y a) (push (list x y) results -1))) but presumably this isn't a list comprehension, just a nested list iteration. Although I glanced through the Wikipedia entry and the Rosetta code examples, I didn't get the conce...
- Wed May 14, 2014 7:36 am
- Forum: Anything else we might add?
- Topic: int option of regexp
- Replies: 2
- Views: 5235
Re: int option of regexp
Also in the manual:
"Several options can be combined using a binary or | (pipe) operator. E.g. (| 1 4) would combine options 1 and 4."
"Several options can be combined using a binary or | (pipe) operator. E.g. (| 1 4) would combine options 1 and 4."
- Wed May 07, 2014 7:46 am
- Forum: newLISP in the real world
- Topic: Installing nL on Rockets gives index.cgi text
- Replies: 5
- Views: 7275
Re: Installing nL on Rockets gives index.cgi text
I think you've done the right thing by asking Jeremy for help... :) Although it sounds like an Apache/file permissions thing, rather than newLISP.
- Sun May 04, 2014 5:46 pm
- Forum: Anything else we might add?
- Topic: array literal and Tail Call Optimization
- Replies: 3
- Views: 7041
Re: array literal and Tail Call Optimization
Some previous posts: http://www.newlispfanclub.alh.net/forum/viewtopic.php?f=5&t=4131&hilit=tail+call http://www.newlispfanclub.alh.net/forum/viewtopic.php?f=15&t=2748&hilit=tail+call http://www.newlispfanclub.alh.net/forum/viewtopic.php?f=5&t=4131&hilit=tail+call http://www.newlispfanclub.alh.net/f...
- Thu May 01, 2014 8:36 am
- Forum: Anything else we might add?
- Topic: A strange problem. Quite confusing
- Replies: 6
- Views: 8959
Re: A strange problem. Quite confusing
Don't forget to use + - * / % rather than add sub mul div mod for integers...
If you find any errors or can add suggestions http://en.wikibooks.org/wiki/Introducti ... th_numbers, please do! :)
If you find any errors or can add suggestions http://en.wikibooks.org/wiki/Introducti ... th_numbers, please do! :)
- Wed Apr 30, 2014 10:46 pm
- Forum: Anything else we might add?
- Topic: A strange problem. Quite confusing
- Replies: 6
- Views: 8959
Re: A strange problem. Quite confusing
I don't think pow is big-integer friendly - has (pow 9 17) already exceeded 64-bit integer range and converted to float? The addition of bigint into newLISP is very recent, and at the moment I don't think all arithmetic operations can handle them. newLISP isn't designed to be as maths-aware a langua...
- Tue Apr 29, 2014 11:04 am
- Forum: newLISP in the real world
- Topic: strange result with map and apply
- Replies: 7
- Views: 8717
Re: strange result with map and apply
How about:
I admit that match is the one area in newLISP that I always fail to get right in the first few attempts... :)
Code: Select all
(set-ref-all '(*) '(("1" "2" "3") ("4")) (map int $it) match)
;-> ((1 2 3) (4))
- Mon Apr 14, 2014 7:23 pm
- Forum: newLISP in the real world
- Topic: Newbie help with Artful-Mysql
- Replies: 14
- Views: 41314
Re: Newbie help with Artful-Mysql
:) The plan was to get the newLISP syntax into the linguist code, but even with help I can't get my pull request past the "Travis build" phase. I have no idea what Github are doing (busy watching hula-hooping work colleagues?) but they couldn't have made it more difficult .... I think we'll just hav...