Commit Graph

21 Commits

Author SHA1 Message Date
Peter McGoron 23ad070039 uns_lisp: cps-lambda 2024-07-16 15:36:01 -04:00
Peter McGoron 504311f999 uns_lisp: cps-if 2024-07-16 15:16:26 -04:00
Peter McGoron f440716bf9 uns_lisp: swap 2024-07-16 14:46:27 -04:00
Peter McGoron 3c119ee11f uns_lisp: change cps-list transformation to make it respect scope 2024-07-16 14:24:46 -04:00
Peter McGoron 5343a0ba4d uns_lisp: fix string printing and lexing 2024-07-14 19:15:10 -04:00
Peter McGoron 7120703a1e uns_lisp: cps transformation of K abstraction 2024-07-14 18:44:28 -04:00
Peter McGoron 63ba63c776 uns_lisp: cps transformation of function arguments 2024-07-14 18:33:02 -04:00
Peter McGoron 01774a7578 uns_lisp: fix some bugs in first pass of CPS 2024-07-14 09:58:42 -04:00
Peter McGoron 73a9e320a5 uns_lisp: add first part of CPS transformer 2024-07-14 02:12:09 -04:00
Peter McGoron 7731d1136b fine-grained valgrind support (warning: slow) 2024-07-14 01:43:56 -04:00
Peter McGoron 2effa0f98c cheney_c89: valgrind 2024-07-14 01:20:50 -04:00
Peter McGoron b41e2100c2 import flatrate lisp, rename to Universal Service LISP 2024-07-10 10:47:55 -04:00
Peter McGoron a406b64975 fix clean 2024-07-08 20:06:01 -04:00
Peter McGoron 4f7847b2c0 Major API reorganization, test infrastructure
The API is now hidden behind functions. The GC struct can have an
unstable layout without affecting any compiled binaries (users of
Universal Service or collectors hidden behind the API). The
collectors can be called directly if desired.

The API now allows for different allocation flags. These will be
used in future extensions (like weak pointers). For now none are
used.

Tests are compiled for each collector. I can't think of a good
solution that will encompass everything I want to write, but for
now this will work on POSIX systems.
2024-07-08 19:58:22 -04:00
Peter McGoron 70df63c28e delete for hashtables 2024-06-21 16:49:55 -04:00
Peter McGoron 62f299dcf7 fix root push and pop issue; make shared library for examples 2024-06-20 23:14:25 -04:00
Peter McGoron 5b8775dab6 add fake struct to help with type checker 2024-06-13 21:01:03 -04:00
Peter McGoron 3d7e39cfd2 hashtable test 2024-06-13 20:57:07 -04:00
Peter McGoron 503b08caad change uns_root_ptr to uns_ctr 2024-06-12 21:41:35 -04:00
Peter McGoron 26afacd565 strings: add more tests
cheney_c89: fix memory leak errors
2024-06-12 08:56:49 -04:00
Peter McGoron fe131f6e4b cheney copying collector 2024-06-11 23:40:34 -04:00