Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

define-syntax vs define-macro

Name: Anonymous 2017-12-12 22:14

What is the point of define-syntax if define-macro exists?
Sure, the pattern matching of syntax-rules is fun and all but it can easily be implemented on top of normal macros too.

I think that syntax-based macros suck, they add useless complexity without giving anything back.

Name: Anonymous 2017-12-13 7:37

>>3
but it adds complexity to the compiler, not to your program. I'd argue that pattern-matching macros are easier to read than a hand-rolled implementation over normal macros, so it's not a cost specificly for your program

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List