3 ms·
The copy says that it has the “expressivity of Scheme,” but the documentation has no mention of macros :(
by jonathanyc 9y ago
The copy says that it has the “expressivity of Scheme,” but the documentation has no mention of macros :(
- jaccarmac 9y agoThey do seem to exist, based on the notes in the release history. I'll link when I'm off my phone, forgive me.
- jaccarmac 9y agoLong story short I found a commit [1] which mentioned macros. Looking at the diff suggests macros are defined using "syntax-extend" so I looked for that syntax in the current version of the code. Lo and behold [2] [1] https://bitbucket.org/duangle/scopes/commits/ca7126d88bbd https://bitbucket.org/duangle/scopes/commits/ca7126d88bbd [2] https://bitbucket.org/duangle/scopes/src/1bf171c25f4047bc0492f02041d6aec267cbcfe9/lib/scopes/core.sc?at=default&fileviewer=file-view-default#core.sc-224 https://bitbucket.org/duangle/scopes/src/1bf171c25f4047bc049...
- orbifold 9y agoThe author has published a number of screencasts and it indeed supports macros: https://www.youtube.com/watch?v=8XN93cKh7Gc&list=PLWVpbdR2y12c3q_sjbFx3ptSyjEqus4ec&index=8 https://www.youtube.com/watch?v=8XN93cKh7Gc&list=PLWVpbdR2y1...