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

Implement a Lisp macro system

Name: Anonymous 2015-05-31 12:09

/prog/, do you know of a tutorial or a paper on implementing a Lisp macro system from scratch? It could be Scheme macros, it could be really simple macros, anything would be helpful.

Name: Anonymous 2015-05-31 20:16

>>14
I concede it would be nice to be able to do that in most cases. But unmanaged cyclic dependencies can become a real pain. Imagine 5k of code with unordered dependencies. You edit it and a cyclic dependency appears. You fix it, but your change causes 30 other cyclic dependencies to appear. If you don't stay on top of the dependency graph, it can become unmanageable. A way to organize it is to just keep it topologically ordered to begin with. Use-before definition works best when cyclic dependence isn't a problem.

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