Please let me know as soon as possible if you do find bugs in the implementation! |
Got a cool idea for syntax you'd like to add but can't work out a macro for it?
Add it in comments near the top of lab3fun.cl and explain what you were trying to do and where it seemed to go wrong. A key aspect of this lab is thinking about how/where macros might help, so a good idea is worth marks even if the code didn't work out in the end. As always when working with macros, keep in mind that the macro re-writes of the source code take place at compile time, not run time, so the defmacro code doesn't have access to runtime variable/parameter content, all it can do is generate code that will give the desired behaviour at runtime. |