fixed code generation to memoize lambdas, added some standard function printing (true, false, token, paren), enabling self-hosted macros