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

/prog/ challenge

Name: Anonymous 2014-07-16 18:35

Write a macro that, given a term of code, transforms all the calls to the function FOO in that term, and only those calls, into calls to function BAR with the same arguments.
Language: Common Lisp or Scheme.

Name: Anonymous 2014-07-17 19:49

>>26
Alright, s-exps are unsuitable for even the simplest intelligent codewalking. Which is a necessary condition for writing useful code transforms.

Transforming untagged nodes and hoping that the result will be correct runnable code is like putting grenades in your barbecue and hoping that no one gets hurt.

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