forked from lihaoyi/macropy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
skeleton.txt
71 lines (61 loc) · 1.34 KB
/
skeleton.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
MacroPy
What's MacroPy
How MacroPy Works
Demo Macros
Case Classes
Quick Lambda
String Interpolation
Tracing
Experimental Macros
MacroPeg Combinators
Pattern Matching
PINQ to SQLAlchemy
Pyxl Snippets
JS Snippets
Tutorials
Writing your First Macro
Hello World
Quasiquotes
Walking the AST
Making your Macros Hygienic?
gen_sym
Manual Imports
Hygienic Quasiquotes
expose_unhygienic
Reference
Data Model
Representations of Code
Converting Back and Forth
Macro Arguments
tree
args
gen_sym
exact_src
expand_macros
hygienic_alias
target
Quasiquotes
Walkers
Walker Arguments
tree
ctx & set_ctx
collect
stop
Hygiene
gen_sym
hygienic quasiquotes
expose_unhygienic
Expansion Order
Line Numbers
Discussion
Minimize Macro Magic
No Macros Necessary
AOP/Function Advice
Auto-Parallelization
Levels of Magic
Why MacroPy
Source-reflection & Cross Compilation
Tracing, Pinq, JS Snippets, Pyxl Snippets, String Interpolation
Boilerplate Shaving
Case Classes, Pattern Matching, Quick-Lambdas, MacroPeg Combinators
Conclusion