News for hackers. Stuff that matters.
Re:Build Android Apps in PicoLisp Without an Android SDK by 3rdAccount on Wednesday July 18, 2018 @10:26PM (#17563553)
Yea...it uses "de" to define a function instead of "defun". People always hate on it for no macros, but macros don't make since when you only have an interpreter. I don't fully understand how, but I've heard people in the past explain how they're irrelevant in Picolisp and how you can still extend the syntax with standard functions somehow. Maybe a picolisper could give some examples?

Shout out that there are two free online books on Picolisp.

Re:Build Android Apps in PicoLisp Without an Android SDK by rurban on Thursday July 19, 2018 @01:23AM (#17564076)
You dont need macros as you have fexpr's which don't evaluate it's arguments. It fits much better into the language, and they are first class. See https://picolisp.com/wiki/?prosandcons

And https://software-lab.de/doc/refM.html#macro for the usage of macros.

More importantly it doesn't need lambda, just lists, and quote quotes all arguments not just the first one. An extremely simple and small lisp-1 interpreter, comparable to the old AutoLISP.

Re:Build Android Apps in PicoLisp Without an Android SDK by shakna on Thursday July 19, 2018 @01:19AM (#17564066)
The wiki [0] explains fairly clearly why traditional macros can't be done, but also why Picolisp can still be as flexible.

The backtick, tilde, and def operators allow you access to the reader, and something akin to macro expansion.

You have the reader accessible, you can rewrite anything. It might just be more verbose.

[0] https://picolisp.com/wiki/?macros