Skip to content

Instantly share code, notes, and snippets.

@sgrove
Created August 27, 2019 16:39
Show Gist options
  • Save sgrove/fa05fafc6448c1cdda541e6474f2f264 to your computer and use it in GitHub Desktop.
Save sgrove/fa05fafc6448c1cdda541e6474f2f264 to your computer and use it in GitHub Desktop.
let reservedNames = [
"and",
"as",
"asr",
"assert",
"begin",
"class",
"constraint",
"do",
"done",
"downto",
"else",
"end",
"esfun",
"exception",
"external",
"false",
"for",
"fun",
"function",
"functor",
"if",
"in",
"include",
"inherit",
"initializer",
"land",
"lazy",
"let",
"lor",
"lsl",
"lsr",
"lxor",
"mod",
"module",
"mutable",
"new",
"nonrec",
"object",
"of",
"open",
"or",
"pri",
"pub",
"rec",
"sig",
"struct",
"switch",
"then",
"to",
"true",
"try",
"type",
"val",
"virtual",
"when",
"while",
"with",
];
let munge = name => name ++ "__";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment