Skip to main content

Questions tagged [preprocessor]

Use this tag for questions about tools that manipulate source code before the primary compilation step, and language designs relying on them

0 votes
1 answer
366 views

How would you implement a language in which the function-name could be separated from function arguments two different ways?

Suppose that there was a programming language in which there were two different syntaxes for function calls. An example of this is shown below: ...
Samuel Muldoon's user avatar
3 votes
2 answers
106 views

How can the pitfalls of preprocessor macros be mitigated/avoided?

A controversial topic among programming language designers is preprocessor macros such as #define directives in C. They can cause problems if used incorrectly. <...
CPlus's user avatar
  • 8,803