Search found 296 matches

by xytroxon
Thu May 01, 2008 8:39 pm
Forum: newLISP newS
Topic: (read-key) side effect on (read-line)
Replies: 4
Views: 2512

This is on a Windows 98 machine from a MSDOS window.
by xytroxon
Thu May 01, 2008 6:32 pm
Forum: newLISP newS
Topic: (read-key) side effect on (read-line)
Replies: 4
Views: 2512

(read-key) side effect on (read-line)

;(Note: This entire code section can be copied to a file for testing.) ; ; Hi Lutz! ; ; I'm having a problem with the following console code ; using newLISP v.9.3.11 on Win32 IPv4 ; (print "Press <Enter> key to input name. ") (setq key (read-key)) (println "Key pressed: " key) (if (= key 13) (begin...
by xytroxon
Wed Apr 23, 2008 6:41 am
Forum: Anything else we might add?
Topic: Sedgwick's more efficient Left-Leaning Red-Black Trees
Replies: 3
Views: 4043

An interesting blog "Left-leaning red-black trees are hard to implement" (in C)... http://www.canonware.com/~ttt/2008/04/left-leaning-red-black-trees-are-hard.html ...I started implementing left-leaning red-black trees, expecting to spend perhaps 15 hours on the project. I'm here more than 60 hours ...
by xytroxon
Sun Apr 20, 2008 9:12 pm
Forum: newLISP newS
Topic: char bug?
Replies: 9
Views: 4073

What do other languages do? Python has the ord function... http://docs.python.org/lib/built-in-funcs.html >>> ord("A") 65 >>> ord("AB") TypeError: ord() expected a character, but string of length 2 found >>> ord("") TypeError: ord() expected a character, but string of length 0 found ------------ Pyt...
by xytroxon
Sat Apr 19, 2008 12:34 am
Forum: newLISP newS
Topic: Firefox downloads index.php
Replies: 3
Views: 2245

Also happened with my K-Meleon browser... (A lightweight, user customizable, Windows GUI version that is based on Firefox/Mozilla/Gecko code). http://kmeleon.sourceforge.net/ Doing a Ctrl F5 forced page reload (over several days) did not help either. A day or so after this I tried the Opera browser ...
by xytroxon
Mon Mar 24, 2008 11:01 pm
Forum: newLISP newS
Topic: To pythonistas...
Replies: 2
Views: 2057

Re: To pythonistas...

Thanks! The next step for newLISP is to be able to call Python modules! ;) Have you seen Lunatic Python? http://labix.org/lunatic-python Introduction Lunatic Python is a two-way bridge between Python and Lua, allowing these languages to intercommunicate. Being two-way means that it allows Lua inside...
by xytroxon
Tue Mar 18, 2008 8:10 pm
Forum: newLISP newS
Topic: Thread about Newlisp and Mathematica on comp.lang.lisp
Replies: 5
Views: 3166

I think they are more worried that Mathematica "did lists better" than CL rather than to worry about a mere mention of newLISP!!! Part of the mystical allure of CL to the Wisp Lizards er. "Lisp Wizards" is that Lisp in general and CL in particular "is more mathematical" in form than other programmin...
by xytroxon
Mon Mar 10, 2008 5:37 pm
Forum: newLISP newS
Topic: development release newLISP v.9.3.3
Replies: 16
Views: 6116

Jeff wrote:Thank you.
Now I expect another interesting article showing how it can be used at:
http://www.artfulcode.net/ ;)

-- xytroxon
by xytroxon
Fri Mar 07, 2008 8:34 am
Forum: Anything else we might add?
Topic: Why Java (& Python) Programmers Should Learn newLISP
Replies: 7
Views: 4664

Oops!!! Forgot the link to the "reddit programming" comments for the article:
http://reddit.com/r/programming/info/6b511/comments/

Some php, factor, and CL examples... Also the python "zip" function is explored,,,
by xytroxon
Thu Mar 06, 2008 10:58 pm
Forum: Anything else we might add?
Topic: Why Java (& Python) Programmers Should Learn newLISP
Replies: 7
Views: 4664

Why Java (& Python) Programmers Should Learn newLISP

I found this humorously titled Python article: “Why Python Programmers Should Learn Python” Referencing this Java article: “Why Java Programmers Should Learn Python” Posing this trivial programming problem: Given the supplied library classes write some code in “quickSilver” to convert between word a...
by xytroxon
Tue Mar 04, 2008 8:37 pm
Forum: Anything else we might add?
Topic: uses of NL - tar indexing
Replies: 15
Views: 10846

I should of known that Lutz would be so "Forth" coming about a past "love" ;) LOL But old standard Forth is literally out of this world!!! It is use by NASA... http://forth.gsfc.nasa.gov/ The processor customizing problem is less now that Intel architecture rules the cpu world... And Ron Arron has p...
by xytroxon
Tue Mar 04, 2008 11:38 am
Forum: Anything else we might add?
Topic: uses of NL - tar indexing
Replies: 15
Views: 10846

No... Reva is a REPL interpreter that is "subroutine threaded" for speed, but it also has available inline and macro capabilities. It also does generalized tail-call elimination... In a 31,284 byte .exe file... With no C/C++ source used... In Reva, when you define "words" they can be compiled after ...
by xytroxon
Mon Mar 03, 2008 11:08 pm
Forum: Anything else we might add?
Topic: uses of NL - tar indexing
Replies: 15
Views: 10846

Very interesting!!! But I have some thoughts here, to be the proverbial "devils advocate" :) 1: Is using a mature, optimized SQLite3 "blobs" database faster??? You would create a simplified user interface to clean up the normal SQL table noise... 2: Have you seen Daniel J. Bernstein's "cdb", Constan...
by xytroxon
Sun Mar 02, 2008 4:00 pm
Forum: Anything else we might add?
Topic: Streams in newLISP
Replies: 38
Views: 22468

...without tail-call recursion unfortunately. What about iteration? It does not gulp down the stack... This reminds me a passage from "Code Patterns in newLISP" : Recursion or iteration? In any case we can get through! ;) After consulting the oracle of all knowledge, I found this: http://en.wikiped...
by xytroxon
Wed Feb 27, 2008 10:38 pm
Forum: Anything else we might add?
Topic: Sedgwick's more efficient Left-Leaning Red-Black Trees
Replies: 3
Views: 4043

Sedgwick's more efficient Left-Leaning Red-Black Trees

I saw this and thought Lutz might be interested. It is also of interest to other newLISPers who want to understand one of the core aspects of the inner working of newLISP. From the newLISP FAQ: 6. Does newLISP have hash tables? newLISP has fast and scalable symbol processing using red-black binary t...
by xytroxon
Fri Feb 22, 2008 10:54 pm
Forum: Anything else we might add?
Topic: Another newLISP-like language :)
Replies: 49
Views: 34158

If you use Lisp... Then the name "newLISP" implies that you are using the old and possibly flawed Lisp... And you become defensive, denying that anything is old or flawed about Lisp... If you use Scheme... You agree something is flawed with old Lisp... But you become defensive because Scheme fixed L...
by xytroxon
Fri Feb 22, 2008 9:04 pm
Forum: Anything else we might add?
Topic: Another newLISP-like language :)
Replies: 49
Views: 34158

Here is link to help understand the concepts involved. http://en.wikipedia.org/wiki/Scope_(programming) As such, dynamic scoping can be dangerous and almost no modern languages use it. Some languages, like Perl and Common Lisp, allow the programmer to choose lexical or dynamic scoping when (re)defin...
by xytroxon
Tue Feb 19, 2008 10:18 pm
Forum: newLISP newS
Topic: HOw to embed newLISP?
Replies: 11
Views: 6366

HPW wrote:
Links to samples for delphi and powerbasic:
Very interesting!

Are there examples for embedding newLISP for C/C++?

Better for me if written for MinGW C ;)
by xytroxon
Thu Jan 31, 2008 9:05 pm
Forum: Anything else we might add?
Topic: Another newLISP-like language :)
Replies: 49
Views: 34158

I back tracked this from a posting on reddit you might find interesting... Arc's not even an acceptable modern Lisp (xent.com) http://reddit.com/r/programming/info/677u6/comments/ [FoRK] Arc's out, Nu vs. newLISP, and a retort to Paul Graham's elitism http://www.xent.com/pipermail/fork/Week-of-Mon-2...
by xytroxon
Fri Jan 25, 2008 1:40 am
Forum: newLISP and the O.S.
Topic: All the console goodies you ever wanted
Replies: 11
Views: 13874

Thanks! That made it work!

This code also needs to be updated on the newLISP Fan Club Wiki.

http://www.alh.net/newlisp/wiki/index.c ... ver_Wanted

Again... Thank you!!!
by xytroxon
Wed Jan 23, 2008 7:58 pm
Forum: newLISP and the O.S.
Topic: All the console goodies you ever wanted
Replies: 11
Views: 13874

Hello newLISP fans! I am a newLISP newbie and was trying out the above console code. I cut and paste the above code and I don't see any obvious things wrong or missing. To a newbie of course ;) I am using newLISP v.9.2.17 on Win 98se. And running: newlisp w32cons.lsp test Gives the error condition: ...