Revision f22491be-d8fa-4969-a878-7733d54c74b8 - Code Golf Stack Exchange

# [Charm](https://github.com/aearnus/charm), 52 bytes

This outputs _all_ of the reserved words in Charm.

 " [ := :: \" " 0 2 copyfrom 3 * substring pstring

Since all non-recursive code in Charm is inline-able, this is an anonymous function. Call like this:

 4 " [ := :: \" " 0 2 copyfrom 3 * substring pstring 

(outputs `[ := :: "`, the only four reserved words.)


----------


Giving this function a name adds 5 bytes:

 f := " [ := :: \" " 0 2 copyfrom 3 * substring pstring

AltStyle によって変換されたページ (->オリジナル) /