3 ms·
The PicoLisp pretty printer function printing itself looks like this: https://pastebin.com/K99n5pCC https://pastebin.com/K99n5pCC I attempted to also include a
by freemint 5y ago
The PicoLisp pretty printer function printing itself looks like this:
https://pastebin.com/K99n5pCC https://pastebin.com/K99n5pCC
I attempted to also include all the helper functions which are not standard lisp manually.
print and println put a space between arguments when printing prin and prinl do not. The ones with an l do line breaks, the others not.
pretty prints it's first argument and the second number is an optional argument what level of indentation to start with.
- jonathanstrange 5y agoThank you so much! I think this is the simplest & clearest example so far and not so different in structure from what I've come up with. I'll study it in more detail.