Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on An Introduction to Reflection in C++. Parent comment
An example:
fn add(x1 x2) { return <x1+x2> } fn <main>(count:int arguments:<const char** const>):int { (<printf> "%d\n" (add 2 3)) return 0 }
auto add(const auto x1,const auto x2) { return x1+x2; } int main(const int count, const char** const arguments) { printf("%d\n",add(2,3)); return 0; }
I use S-expressions for function calls.
There are no comments on this comment yet.
An example:
Is converted to: Everything inside the <angle brackets> is left as is in the C++ output.I use S-expressions for function calls.