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

Preprocessor

Name: Anonymous 2011-12-31 17:17

Why do higher level languages not have a preprocessor?

It's a very powerful tool that every language should have.

Name: Anonymous 2012-01-01 1:32

>>14
Why would you even want to? I'm guessing you're a pretty bad programmer if you're impressed that the C preprocessor can do simple string substitution.

(defmacro suck-my-dick-and-call-me-willy (name &body body)
  `(defmacro ,name () ,@body))


Can C do this?

(defmacro m () (read))

It prompts for an expression at compile time, and compiles whatever expression you type in into the code.

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