This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu...and it's just a start :I love how intresting topics popup here...Quote
Note that CL has not fexprs=Newlisp macros. Older, pre-CL Lisps had fexprs. It would be hard to implement fexprs in CL; on the other hand, it is easy to implement CL macros in Newlisp.Quote
. Is this statement true for newLisp too ?And, in a compiled Lisp program, that new language is just as efficient as normal Lisp because all the macro code--the code that generates the new expression--runs at compile time. In other words, the compiler will generate exactly the same code whether you writeQuote
(defmacro backwards (expr) (reverse expr))
CL-USER> (backwards ("hello, world" t format))
hello, world
NIL
> (define-macro (backwards expr) (reverse expr))
(lambda-macro (expr) (reverse expr))
> (backwards ("something" println))
(println "something")