4 ms·
How about C? https://news.ycombinator.com/item?id=25531871 https://news.ycombinator.com/item?id=25531871 https://github.com/vsedach/Vacietis https://github.co
by flubert 6y ago
How about C?
https://news.ycombinator.com/item?id=25531871 https://news.ycombinator.com/item?id=25531871
https://github.com/vsedach/Vacietis https://github.com/vsedach/Vacietis
================
Vacietis is a C compiler for Common Lisp systems.
Vacietis works by loading C code into a Common Lisp runtime as though
it were Lisp code, where it can then be compiled or evaled. The loaded
C code has the same function calling convention as regular CL code and
uses the same numerical representations. C memory is backed by regular
Common Lisp arrays.
Vacietis comes with a libc implemented in portable Common Lisp.
- ksaj 6y agoI've always wanted one that worked by taking C code and outputting actual Common Lisp code. But I guess that is significantly harder since nobody seems interested in doing it.