development release newLISP v.9.2.1

Notices and updates
Locked
Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

development release newLISP v.9.2.1

Post by Lutz »

* the monitor area in newLISP-GS now doubles as a shell, where expressions can be entered directly. See CHANGES-GS-103.txt notes for details. Alt-R/Meta-R still works for running editor contents.

* speed-up for 'count' (on UNIX) new 'dostring' iterator, new 'bind' for use in conjunction with 'unify', and 'pack' can take lists.

All files: http://newlisp.org/downloads/development/

Lutz

Jeff
Posts: 604
Joined: Sat Apr 07, 2007 2:23 pm
Location: Ohio
Contact:

Post by Jeff »

Thanks Lutz! It's great to know our needs get addressed directly.
Jeff
=====
Old programmers don't die. They just parse on...

Artful code

newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

There is no tgz package in /development... :-)
-- (define? (Cornflakes))

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

The v.9.2.1 .tgz package is there now:

http://newlisp.org/downloads/development/

Lutz

newBert
Posts: 156
Joined: Fri Oct 28, 2005 5:33 pm
Location: France

Re: development release newLISP v.9.2.1

Post by newBert »

Lutz wrote:* the monitor area in newLISP-GS now doubles as a shell, where expressions can be entered directly. See CHANGES-GS-103.txt notes for details. Alt-R/Meta-R still works for running editor contents.

Lutz
Quite simply fantastic !
I can now abandon my favorite editor.
Thanks Lutz

newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

very tiny warning I got...

make -f makefile_linux_readline
make[1]: Entering directory `/home/nodep/prog/nl/newlisp-9.2.1'
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX newlisp.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-symbol.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-math.c
gcc -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-list.c
nl-list.c: In function `p_count':
nl-list.c:682: warning: pointer of type `void *' used in arithmetic



In the new newlisp-edit ->
The monitor area prompt gives me an extra LF after any command.



(btw: still need to check for OS2)
-- (define? (Cornflakes))

newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

Nice nice lutz, thanks for the gs:shell option!! like it..

Also the reorder-tags is very welcome ;-)


Im starting to like the newlisp-edit more and more...
(But the Icons are under Linux are not very nice, not transparent! )

PS: Here an Addon for the FIREFOX users under linux,
would be nice to have it default.or as a configuration option? -->
(inside newlisp-edit add "/usr/bin/firefox")


; all other UNIX
(true
(set 'files '(
"/usr/bin/sensible-browser"
"/usr/bin/x-www-browser"
"/usr/bin/firefox"
"/usr/bin/mozilla"
"/usr/bin/konqueror"))
(set 'prog (find true (map file? files)))



Another request, (I already did it manualy)...
Can the 'currentmonitor foreground and background be as 'currentBackground, or perhpas configurable too...)


Bug? in 9.2.1 the GS manual is empty?
(file:///usr/share/doc/newlisp/guiserver/index.html)
-- (define? (Cornflakes))

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

Bug? in 9.2.1 the GS manual is empty?
oops, use this meanwhile: http://newlisp.org/guiserver/

Lutz

newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

aaa now im in a mood for requests ;-)

Line numbers would be a nice to have in newlisp-edit..

as a counter row,column or on the left as a static counter in front of every line..

;-)

(i think the frst it the easier way..)


PS: Have you ever noticed that there is a 100% OS/2 ANSI editor?
fully written in newlisp!! ;-)
Its hidden in one of the screenshots on my OS2 page ;-)
-- (define? (Cornflakes))

kinghajj
Posts: 30
Joined: Sun Jul 15, 2007 2:37 pm

Post by kinghajj »

I got a segmentation dump when trying dostring.

Code: Select all

> (dostring (c "hello") c)
Segmentation fault (core dumped)

newBert
Posts: 156
Joined: Fri Oct 28, 2005 5:33 pm
Location: France

Post by newBert »

kinghajj wrote:I got a segmentation dump when trying dostring.

Code: Select all

> (dostring (c "hello") c)
Segmentation fault (core dumped)
Maybe :

Code: Select all

> (dostring (c "hello") (println c))
works better !
;)

cormullion
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Post by cormullion »

Same here:

Code: Select all

newLISP v.9.2.1 on OSX UTF-8, execute 'newlisp -h' for more info.

> (dostring (c "hello")
 c) 
Bus error
And also:

Code: Select all

(dolist (c (explode "hello")) 
 c)
Bus error
And finally:

Code: Select all

(dotree (s MAIN) s)
Segmentation fault

kinghajj
Posts: 30
Joined: Sun Jul 15, 2007 2:37 pm

Post by kinghajj »

newBert wrote:
kinghajj wrote:I got a segmentation dump when trying dostring.

Code: Select all

> (dostring (c "hello") c)
Segmentation fault (core dumped)
Maybe :

Code: Select all

> (dostring (c "hello") (println c))
works better !
;)
But the point is that the code I wrote, while useless, should not crash the program.

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

thanks to all for catching this

Lutz

Locked