JarrettBillingsley / Croc

Croc is an extensible extension language in the vein of Lua, which also wishes it were a standalone language. Also it's fun.
http://www.croc-lang.org
79 stars 12 forks source link

Arbitrary verbatim string delimiters #138

Closed JarrettBillingsley closed 9 years ago

JarrettBillingsley commented 10 years ago

Something like the [==[ blah ]==] strings in Lua, or the r"derp(iasfoiasofih)derp" strings in C++11.

JarrettBillingsley commented 9 years ago

If these get in, maybe the existing verbatim strings should be pruned/removed entirely.

JarrettBillingsley commented 9 years ago

The Lua-like square brackets would work. I like how they're customizable without being ugly/abusable like the C++ ones.