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.
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.
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?
In doc/MemoryManagement.html you may read about ORO & GC.
A thousand thanks.
I have so much code to test...
Well this is pretty incredible, kudos to the author https://github.com/kimtg !
Wishing this project success!
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!