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

Let's Build a Hygienic Macro Expander

Name: Anonymous 2016-09-19 16:40

"Let's Build a Hygienic Macro Expander" by Matthew Flatt Strange Loop Strange Loop

https://www.youtube.com/watch?v=Or_yKiI3Ha4

scope sets are the most important advanced in programming language theory since types.

Name: Anonymous 2016-09-19 16:43

Aren't hygienic macros literally just inline functions?

Name: Anonymous 2016-09-19 16:51

>>1
I prefer dirty, unhygienic primitive macros, manipulating symbols is more powerful than manipulating variables.

Name: Anonymous 2016-09-19 17:01

Name: Anonymous 2016-09-20 0:28

>>2
no

Name: Anonymous 2016-09-20 2:32

Name: Anonymous 2016-09-20 2:55

>>3
these can do both

Name: Anonymous 2016-09-20 4:43

>>7
like this?
#define ab(x) (x*100)
#define c(d,g) d##g
#define c2(d,g) c(d,g)
#define zz(x) c2(a,b)(x)
zz(2)==200

Name: Anonymous 2016-09-20 6:53

>>2, 3
this. I'm beginner when it comes to lithp and I'm not yet good at meat (not to mention all that shit from Let Over Lambda) but some of the most useful (when it comes to boilerplate reduction at least) macros I've written were intentionally unhygienic.

Name: Anonymous 2016-09-20 6:53

>>9
that was supposed to be meta,not meat.

Name: Anonymous 2016-09-20 12:29

Check dubs

Name: Anonymous 2016-09-22 21:22

>>9
(when it comes to boilerplate reduction at least) macros
Lisp macros are boilerplate generation, not boilerplate reduction.

Name: Anonymous 2016-09-23 1:02

boilerplate doesn't mean anything, that's a word cargo cultists use. raise the level of your thinking

Name: Anonymous 2016-09-23 2:10

>>13
thinking doesn't mean anything, that's a word cargo cultists use. raise your level of lisping.

Name: Anonymous 2016-09-23 5:05

>>14
lisping doesn't mean anything, that's a word cargo cultists use, raise your level of apping.

Name: Anonymous 2016-09-23 7:45

>>12
it ain't boilerplate if it generates itself, that's the point of macros

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