technoblogy / ulisp

A version of the Lisp programming language for ATmega-based Arduino boards.
http://www.ulisp.com/
MIT License
377 stars 46 forks source link

Why aren't there any macros in ulisp? #47

Open hunar1997 opened 3 years ago

hunar1997 commented 3 years ago

Hello :D

This is a very interesting project, but why aren't there defmacros? Is it impossible to implement or you just delayed it for later :) I tried making it without editing c++ source code but didn't have much success

Thanks for reading :D

technoblogy commented 3 years ago

Sorry for the delay in replying. I had to leave out quite a lot from Common Lisp in order to fit Lisp on the target platforms I had in mind, and I felt that macros were less important than some other features for typical applications.

Is there a particular application you have that would need macros?

hunar1997 commented 3 years ago

It's actually the tiniest implementation which has the most of common lisp :D I haven't used it yet so I don't know if i will miss macros or not :)

Thanks for the reply