newLISP Fan Club

Forum => newLISP newS => Topic started by: vashushpanov on September 15, 2026, 10:02:48 PM

Title: newlisp-neo
Post by: vashushpanov on September 15, 2026, 10:02:48 PM
There newliwsp fork on github:

git clone --depth 1 https://github.com/kimtg/newlisp-neo.git

for compile without errors after ./configure-alt edit makefile_build
and add nl-vm.o to the end of line OBJS = ...

check
RLFLAGS = (if libreadline installed)
FFIFLAGS = (if libffi installed)

To fix (rotate) bug
edit nl-liststr.c
string:
if(length <= 1 || count == 0 || length == labs(count))
to
if(length <= 1 || count == 0 || length == labs(count) || count % length == 0)

It looks good.

Goodbye.
Title: Re: newlisp-neo
Post by: Yael on September 16, 2026, 12:04:35 AM
It looks, and it is, good. Blazing fast, which was the main goal. I guess we still need to update the math library to slowly get rid of external math libraries (GSL), but this is just a personal need. Newlisp-Neo is quite good as it stands, and fast enough for daily use. Whatever we could do to stay away from Python, the best.
Title: Re: newlisp-neo
Post by: itistoday on September 16, 2026, 10:51:27 AM
Looks pretty cool! I'm trying to figure out why it needs a GC though, I thought newLISP didn't need that because of ORO?
Title: Re: newlisp-neo
Post by: vashushpanov on September 16, 2026, 06:15:04 PM
In doc/MemoryManagement.html you may read about ORO & GC.
Title: Re: newlisp-neo
Post by: cameyo on September 28, 2026, 10:04:23 AM
A thousand thanks.
I have so much code to test...
Title: Re: newlisp-neo
Post by: itistoday on September 28, 2026, 10:14:48 AM
Well this is pretty incredible, kudos to the author https://github.com/kimtg !

Wishing this project success!
Title: Re: newlisp-neo
Post by: vashushpanov on September 29, 2026, 01:41:39 AM
Oh! Yet another newlisp fork for unix/linux on github!

git clone --depth 1 https://github.com/irr/newlisp-spark.git
./configure
make

All done without errors with libredline and libffi;
to test
./newlisp

And after that sudo make install
=======
Sources on github updated 2 days ago. Updated newlisp.c, nl-filesys.c, nl-list.c, nl-liststr.c, nl-math.c, nl-vm.c, nl-vm.h, nl-web.c, protos.h.
Many fixes. But rotate bug not fixed.
To fix it edit nl-liststr.c
string:
if(length <= 1 || count == 0 || length == labs(count))
replace to
if(length <= 1 || count == 0 || length == labs(count) || count % length == 0)

newlisp is very fast

That all.
Have a nice day!