issues
search
curimit
/
SugarCpp
SugarCpp is a language which can compile to C++11.
135
stars
13
forks
source link
Borrow idea from livescript
#15
Open
curimit
opened
11 years ago
curimit
commented
11 years ago
Curried functions using
-->
Implicit switch
Concat operator
Instead of a series of nested function calls, you can pipe values in.
x |> f
and
f <| x
are equivalent to f(x).
Flagging shorthand:
{+debug, -live}
Markdown like syntax
Ranges
Use
in
to check if and element is in a list; use
of
to check if a key is in an object.
Not finished.....
-->
x |> f
andf <| x
are equivalent to f(x).{+debug, -live}
in
to check if and element is in a list; useof
to check if a key is in an object.