Re:Designing a Language Without a Parser
by thom on Wednesday July 05, 2023 @01:40AM
(#36595923)
Well sure, if you hand wave away the main benefit of sexps then there aren’t many benefits.
[ Parent
| on HN ]
Oh, S-Expressions are great for certain kinds of things.
I'm just having a problem with the concept of homoiconicity being touted as both coherent, and something that goes deeper than the very surface syntax level.
Re:Designing a Language Without a Parser
by medo-bear on Wednesday July 05, 2023 @05:24AM
(#36597859)
Have you ever written deep macros or only surface level ones?
What do you mean by 'deep' vs 'surface level' macros?
Do you mean something like implementing Prolog with macros in Lisp as a 'deep' macro? Or something else?
Re:Designing a Language Without a Parser
by medo-bear on Wednesday July 05, 2023 @09:29AM
(#36600180)
Yes
I have worked with overly complicated macros. What about them?
They aren't magic.