Releases: vygr/ChrysaLisp
Sierra Fix
Fix for Mac Sierra, sorry this took a while to notice, must upgrade my MacBook OS more often !
Also the NASM test suite has now been retired as the code produced by the compiler has now diverged from the old NASM macros. But it served it purpose well.
Best Regards
Chris
Chinese Festival
Happy Chinese new year all !
Started to add some UI extra's, min/max/close buttons to the window furniture and changed the demo apps to make use of the close button. Finally testing the widget dereference code.
Regards all
Chris
New Year Resolution
Worth a new release as the new improvements to the (make-boot) system are worth it. 35 seconds to compile the whole system from scratch, on 1 CPU (I'll parallelise that soon), and less than 1 second to build and save a boot image containing the entire Lisp ! The NASM based Makefile now just incbin's the obj/sys/boot_image that is self created to generate an ELF or Mach executable.
From the Lisp command prompt, try (make-boot t 'class/lisp/init), the t means recursive and the lisp init function has static references to all the Lisp built in functions, and that means all the class libraries that the Lisp needs etc etc.
For those that don't know the (make), (make-all) and (make-boot) functions are defined in the auto run cmd/lisp.lisp file. Please take a look, improvements are welcome.
By default the (make) and (make-all) just use (make-boot) and so create a minimal, everything dynamically bound, image, currently this is 4.5 KB. The kitchen sink Lisp boot image is 90 KB.
(make) and (make-all) can take optional parameters for platform and cpu, so you can cross compile for Linux/Darwin/x86_64/ARM as you please.
Have a good year all.
Regards
Chris
Christmas Cracker !
Good point to make a release. Various additions to the Lisp and clean ups of the class library object new's.
New experimental 'scope' function for the Lisp to allow OOPS style calling, a little code example at the end of the cmd/lisp.lisp boot file.
Regards to all
Chris
There is no NASM...
Well, only for the little bootstrap.
This version is now completely self compiling, the make system now work rather well (make) from the Lisp command prompt and there is now a TUI, Text User Interface to go along with the GUI interface.
./run_tui.sh
Gives you the same terminal as the GUI Terminal app.
Enjoy
Chris
Self Compilation of all source !
First version that is able to self produce identical binaries to the NASM bootstrapped system. At this point NASM use will be removed except for creating the extremely simple bootstrap, and even that won't get compiled very often and will most likely also disappear.
I think this marks the first point that deserves a release tag. Thanks NASM, you proved my point that all you need to do anything is a decent macro assembler !