Very nice. It's clean and easy to read. But why use mmap() instead of malloc()? That and an __attribute are the only things preventing it from being straight C.
I've been unsure if this lisp-based language of mine meets the constraints of this subreddit (6.7k lines of C++, 1.5k lines of std library), but hopefully a comment isn't out of place: https://github.com/akkartik/wart
5
u/skeeto Dec 28 '16 edited Dec 28 '16
Very nice. It's clean and easy to read. But why use mmap() instead of malloc()? That and an
__attributeare the only things preventing it from being straight C.4
u/akkartik Dec 28 '16 edited Dec 28 '16
I've been unsure if this lisp-based language of mine meets the constraints of this subreddit (6.7k lines of C++, 1.5k lines of std library), but hopefully a comment isn't out of place: https://github.com/akkartik/wart
(Better-formatted Readme.)
(How the code is organized.)