• two new 'expand' modes for better macros and logic programming
• new 'unify' for logic programming
• a 'clean' which works like the opposite of 'filter'
• bug fixes
• feature complete for 8.9.0 due June 20th
for files and changenotes see http://newlisp.org/downloads/development
You rock Lutz! Thanks.
This version still runs well in Tru64Unix, I can compile without modifications. Tests all OK:
Quote
peter> make
./build
Discovered True64 Unix, please read doc/TRU64BUILD
cc -ieee -xtaso -pedantic -c -O2 -DSOLARIS -DTRU64 -D_POSIX_PII_SOCKET newlisp.c
cc -ieee -xtaso -pedantic -c -O2 -DSOLARIS -DTRU64 -D_POSIX_PII_SOCKET nl-symbol.c
cc -ieee -xtaso -pedantic -c -O2 -DSOLARIS -DTRU64 -D_POSIX_PII_SOCKET nl-math.c
cc -ieee -xtaso -pedantic -c -O2 -DSOLARIS -DTRU64 -D_POSIX_PII_SOCKET nl-list.c
cc -ieee -xtaso -pedantic -c -O2 -DSOLARIS -DTRU64 -D_POSIX_PII_SOCKET nl-liststr.c
cc -ieee -xtaso -pedantic -c -O2 -DSOLARIS -DTRU64 -D_POSIX_PII_SOCKET nl-string.c
cc -ieee -xtaso -pedantic -c -O2 -DSOLARIS -DTRU64 -D_POSIX_PII_SOCKET nl-filesys.c
cc -ieee -xtaso -pedantic -c -O2 -DSOLARIS -DTRU64 -D_POSIX_PII_SOCKET nl-sock.c
cc -ieee -xtaso -pedantic -c -O2 -DSOLARIS -DTRU64 -D_POSIX_PII_SOCKET nl-import.c
cc -ieee -xtaso -pedantic -c -O2 -DSOLARIS -DTRU64 -D_POSIX_PII_SOCKET nl-xml.c
cc -ieee -xtaso -pedantic -c -O2 -DSOLARIS -DTRU64 -D_POSIX_PII_SOCKET nl-web.c
cc -ieee -xtaso -pedantic -c -O2 -DSOLARIS -DTRU64 -D_POSIX_PII_SOCKET nl-matrix.c
cc -ieee -xtaso -pedantic -c -O2 -DSOLARIS -DTRU64 -D_POSIX_PII_SOCKET nl-debug.c
cc -ieee -xtaso -pedantic -c -O2 -DSOLARIS -DTRU64 -D_POSIX_PII_SOCKET tru64.c
cc -ieee -xtaso -pedantic -c -O2 -DSOLARIS -DTRU64 -D_POSIX_PII_SOCKET pcre.c
cc newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o nl-sock.o nl-import.o nl-xml.o nl-web.o nl-matrix.o nl-debug.o tru64.o pcre.o -taso -lm -lrt -ldb -lbsd -Lffi-tru64-4.0 -lffi -o newlisp
strip newlisp
peter> ./qa-dot
Testing built-in functions ...
! != $ % &
* + - / <
<< <= = > >=
>> NaN? ^ abs acos
add address amb and append
append-file apply args array array-list
array? asin assoc atan atan2
atom? base64-dec base64-enc bayes-query bayes-train
begin beta betai binomial case
catch ceil change-dir char chop
clean close command-line cond cons
constant context context? copy-file cos
count cpymem crc32 crit-chi2 crit-z
current-line date date-value debug dec
def-new define define-macro delete delete-file
device difference directory directory? div
do-until do-while dolist dotimes dotree dump dup empty?
encrypt ends-with env erf error-event
error-number error-text eval eval-string exec
exit exp expand explode factor
fft file-info file? filter find
first flat float float? floor
flt for fork format fv
gammai gammaln get-char get-float get-int
get-integer get-string get-url global if
ifft import inc index int
integer integer? intersect invert irr
join lambda? last legal? length
let letex letn list list?
load log lookup lower-case macro?
main-args make-dir map match max
member min mod mul multiply
name net-accept net-close net-connect net-error
net-eval net-listen net-local net-lookup net-peek
net-peer net-ping net-receive net-receive-from net-receive-udp
net-select net-send net-send-to net-send-udp net-service
net-sessions new nil? normal not
now nper npv nth nth-set
number? open or pack parse
peek pipe pmt pop post-url
pow pretty-print primitive? print println
prob-chi2 prob-z process push put-url
pv quote quote? rand random
randomize read-buffer read-char read-file read-key
read-line real-path tested ok
ref regex remove-dir
rename-file replace replace-assoc reset rest
reverse rotate save search seed
seek select semaphore sequence series
set set! set-locale set-nth setq
sgn share signal silent sin
sleep --- sleep duration: 1000 ---
slice sort source sqrt
starts-with string string? sub swap
sym symbol symbol? symbols sys-error
sys-info tan throw throw-error time
time-of-day timer title-case trace trace-highlight
transpose trim true? unify unique
unless unpack until upper-case wait-pid
while write-buffer write-char write-file write-line
xml-error xml-parse xml-type-tags | ~
Testing contexts as objects and scoping rules ...
ALL FUNCTIONS FINISHED SUCCESSFULL
total time: 5472
newLISP v.8.8.7 on Tru64Unix, execute 'newlisp -h' for more info.
> ring...
So I am ready for 8.9 :-)
Cheers
Peter
Thanks fort the good news Peter, if wonder if anybody here on the board has one of the new Intel Macs to do a compile. The only one I know, is travelling at the moment.
For the 8.9.0 release I am trying to package both the ppc executable and an Intel executable for the Mac. I don't want to do a universal binary, because it would be double as big and against newLISP philosophy to keep things as small as possible ;)
Lutz
Sorry, Lutz, but I won't be upgrading to intel-macs in the immediate future. I need Classic... :-(
But 8.8.7 works nicely on my old (6 months) laptop.