reserved programming keywords for assorted languages

25
RESERVED KEYWORDS BY LANGUAGE C/C++ Actionscript ColdFusion Lisp Erlang ECMAScript var break cf and catch function case cfcase begin class asm class cfchart case const auto continue cfdirectory cond debugger bool default cfdump define enum break delete cfelse delay extends case dynamic cferror do finally catch else cffile else super char extends cfform if throw class for cfftp lambda try const function cffunction let const_cast get cfhttp letrec continue if cfif or default implements cfinclude quasiquote delete import cfinput quote do in cflocation set double instanceof cfloop unquote dynamic_cast interface cfmail unquote-splicing else intrinsic cfmodule enum new cfoutput explicit private cfparam export public cfquery extern return cfset false set cfstoredproc float static cfswitch for switch cftry friend this goto typeof if var inline void int while long with mutable namespace add new and operator eq private ge protected gt public le register lt reinterpret_ca ne return not short or signed sizeof static static_cast

Upload: ed-mcmanus

Post on 12-Nov-2014

17 views

Category:

Documents


1 download

DESCRIPTION

A list of reserved keywords I compiled a while back for a naive bayes language classifier, sorted by language. I won't claim the list is perfect, but it may be a fair starting point for future projects.It's also probably a good idea to check the source XLS file, as some of the data won't be presented as neatly as in Excel.Contains Reserved Keywords for:C/C++ActionscriptColdFusionLispECMAScriptHaskellJavaJavascriptHTMLPHPPerlSQLPascalPythonRubyVisual Basic/VBS

TRANSCRIPT

Page 1: Reserved Programming Keywords for Assorted Languages

RESERVED KEYWORDS BY LANGUAGE

C/C++ Actionscript ColdFusion Lisp Erlang ECMAScript Fortranvar break cf and catchfunction case cfcase begin classasm class cfchart case constauto continue cfdirectory cond debuggerbool default cfdump define enumbreak delete cfelse delay extendscase dynamic cferror do finallycatch else cffile else superchar extends cfform if throwclass for cfftp lambda tryconst function cffunction letconst_cast get cfhttp letreccontinue if cfif ordefault implements cfinclude quasiquotedelete import cfinput quotedo in cflocation setdouble instanceof cfloop unquotedynamic_cast interface cfmail unquote-splicingelse intrinsic cfmoduleenum new cfoutputexplicit private cfparamexport public cfqueryextern return cfsetfalse set cfstoredprocfloat static cfswitchfor switch cftryfriend thisgoto typeofif varinline voidint whilelong withmutablenamespace add

new and

operator eq

private ge

protected gt

public le

register lt

reinterpret_cast ne

return not

short orsignedsizeofstaticstatic_cast

Page 2: Reserved Programming Keywords for Assorted Languages

structswitchtemplatethisthrowtruetrytypedeftypeidtypenameunionunsignedusingvirtualvoidvolatilewchar_twhile

Page 3: Reserved Programming Keywords for Assorted Languages

Haskell Java JavaScript HTML CSS PHP Perl SQL Pascalas abstract break gt and caller select absolutecase assert cas lt or continue update abstractof boolean comment amp xor die use allclass break continue copy exception do insert anddata byte default quot array dump where and_thendefault case delete nbsp as eval order arrayderiving catch do break exit union asdo char else html case goto desc asmforall class export body class last create asmnameforeign const for head const next drop attributehiding continue function title continue redo beginif default if meta declare return bindablethen do import a default sub caseelse double in i die wantarray classimport else label b do caller constinfix enum new p echo import constructorinfixl extends return div else local destructorinfixr final switch u elseif my divinstance finally this strong empty package dolet float typeof span enddeclare use downtoin for var form endfor do elsemdo goto void input endforeach no endmodule if while textarea endif require exportnewtype implements with br endswitch bless exportsqualified import center endwhile dbmclose externaltype instanceof eval table eval dbmopen filewhere int toString tr exit ref for

interface td extends tie forwardlong for tied functionnative foreach untie gotonew function ifpackage global importprivate if implementationprotected include inpublic include_once inheritedreturn isset inlineshort list interfacestatic new interruptstrictfp print issuper require labelswitch require_once librarysynchronized return modthis static modulethrow switch nilthrows unset nottransient use objecttry var of

Page 4: Reserved Programming Keywords for Assorted Languages

void while onlyvolatile final operatorwhile interface or

implements or_elsepublic otherwiseprivate packedprotected powabstract privateclone proceduretry programcatch propertythrow protected

publicpublishedqualifiedrecordrepeatresidentrestrictedsegmentsetshlshrstaticthentotypeunituntilusesvaluevarviewvirtualvolatilewhilewithxor

Page 5: Reserved Programming Keywords for Assorted Languages

Python Ruby Visual Basic/VBSinport alias isArraydef and eraseglobal begin lboundprint break uboundand case letas class setassert def rembreak defined emptyclass do nothingcontinue else nulldel elsif doelif end loopelse ensure forexcept 0 nextexxec for for eachfinally if iffor in thenfrom module elseif next select caseimport nil whileinport not wendis or dimlambda redo privatenot rescue publicor retry redimpass return functionraise self subreturn super calltry then functionwhile true subwith undefyield unless

untilwhenwhileyeild

Page 6: Reserved Programming Keywords for Assorted Languages

a " a " : " " "a":""absolute " absolute " : " " "absolute":""abstract " abstract " : " " "abstract":""abstract " add " : " " "add":""abstract " alias " : " " "alias":""add " all " : " " "all":""alias " amp " : " " "amp":""all " and " : " " "and":""amp " and_then " : " " "and_then":""and " array " : " " "array":""and " as " : " " "as":""and " asm " : " " "asm":""and " asmname " : " " "asmname":""and " assert " : " " "assert":""and " attribute " : " " "attribute":""and_then " auto " : " " "auto":""array " b " : " " "b":""array " begin " : " " "begin":""as " bindable " : " " "bindable":""as " bless " : " " "bless":""as " body " : " " "body":""as " bool " : " " "bool":""asm " boolean " : " " "boolean":""asm " br " : " " "br":""asmname " break " : " " "break":""assert " byte " : " " "byte":""assert " call " : " " "call":""attribute " caller " : " " "caller":""auto " cas " : " " "cas":""b " case " : " " "case":""begin " catch " : " " "catch":""begin " center " : " " "center":""begin " cf " : " " "cf":""bindable " cfcase " : " " "cfcase":""bless " cfchart " : " " "cfchart":""body " cfdirectory " : " " "cfdirectory":""bool " cfdump " : " " "cfdump":""boolean " cfelse " : " " "cfelse":""br " cferror " : " " "cferror":""break " cffile " : " " "cffile":""break " cfform " : " " "cfform":""break " cfftp " : " " "cfftp":""break " cffunction " : " " "cffunction":""break " cfhttp " : " " "cfhttp":""break " cfif " : " " "cfif":""break " cfinclude " : " " "cfinclude":""byte " cfinput " : " " "cfinput":""call " cflocation " : " " "cflocation":""caller " cfloop " : " " "cfloop":""caller " cfmail " : " " "cfmail":""cas " cfmodule " : " " "cfmodule":""case " cfoutput " : " " "cfoutput":""case " cfparam " : " " "cfparam":""case " cfquery " : " " "cfquery":""

Page 7: Reserved Programming Keywords for Assorted Languages

case " cfset " : " " "cfset":""case " cfstoredpro" : " " "cfstoredproc":""case " cfswitch " : " " "cfswitch":""case " cftry " : " " "cftry":""case " char " : " " "char":""catch " class " : " " "class":""catch " clone " : " " "clone":""catch " comment " : " " "comment":""catch " cond " : " " "cond":""center " const " : " " "const":""cf " const_cast " : " " "const_cast":""cfcase " constructor" : " " "constructor":""cfchart " continue " : " " "continue":""cfdirectory " copy " : " " "copy":""cfdump " create " : " " "create":""cfelse " data " : " " "data":""cferror " dbmclose " : " " "dbmclose":""cffile " dbmopen " : " " "dbmopen":""cfform " debugger " : " " "debugger":""cfftp " declare " : " " "declare":""cffunction " def " : " " "def":""cfhttp " default " : " " "default":""cfif " define " : " " "define":""cfinclude " defined " : " " "defined":""cfinput " del " : " " "del":""cflocation " delay " : " " "delay":""cfloop " delete " : " " "delete":""cfmail " deriving " : " " "deriving":""cfmodule " desc " : " " "desc":""cfoutput " destructor " : " " "destructor":""cfparam " die " : " " "die":""cfquery " dim " : " " "dim":""cfset " div " : " " "div":""cfstoredpro" do " : " " "do":""cfswitch " double " : " " "double":""cftry " downto " : " " "downto":""char " drop " : " " "drop":""char " dump " : " " "dump":""class " dynamic " : " " "dynamic":""class " dynamic_ca" : " " "dynamic_cast":""class " echo " : " " "echo":""class " elif " : " " "elif":""class " else " : " " "else":""class " elseif " : " " "elseif":""class " elsif " : " " "elsif":""class " empty " : " " "empty":""class " end " : " " "end":""clone " enddeclare" : " " "enddeclare":""comment " endfor " : " " "endfor":""cond " endforeach" : " " "endforeach":""const " endif " : " " "endif":""const " endswitch " : " " "endswitch":""const " endwhile " : " " "endwhile":""const " ensure " : " " "ensure":""

Page 8: Reserved Programming Keywords for Assorted Languages

const " enum " : " " "enum":""const_cast " eq " : " " "eq":""constructor" erase " : " " "erase":""continue " eval " : " " "eval":""continue " except " : " " "except":""continue " exception " : " " "exception":""continue " exit " : " " "exit":""continue " explicit " : " " "explicit":""continue " export " : " " "export":""continue " exports " : " " "exports":""copy " extends " : " " "extends":""create " extern " : " " "extern":""data " external " : " " "external":""dbmclose " exxec " : " " "exxec":""dbmopen " false " : " " "false":""debugger " file " : " " "file":""declare " final " : " " "final":""def " finally " : " " "finally":""def " float " : " " "float":""default " for " : " " "for":""default " for each " : " " "for each":""default " forall " : " " "forall":""default " foreach " : " " "foreach":""default " foreign " : " " "foreign":""default " form " : " " "form":""define " forward " : " " "forward":""defined " friend " : " " "friend":""del " from " : " " "from":""delay " function " : " " "function":""delete " ge " : " " "ge":""delete " get " : " " "get":""delete " global " : " " "global":""deriving " goto " : " " "goto":""desc " gt " : " " "gt":""destructor " head " : " " "head":""die " hiding " : " " "hiding":""die " html " : " " "html":""dim " i " : " " "i":""div " if " : " " "if":""div " implementa" : " " "implementation":""do " implements" : " " "implements":""do " import " : " " "import":""do " in " : " " "in":""do " include " : " " "include":""do " include_on " : " " "include_once":""do " infix " : " " "infix":""do " infixl " : " " "infixl":""do " infixr " : " " "infixr":""do " inherited " : " " "inherited":""do " inline " : " " "inline":""do " inport " : " " "inport":""double " input " : " " "input":""double " insert " : " " "insert":""downto " instance " : " " "instance":""

Page 9: Reserved Programming Keywords for Assorted Languages

drop " instanceof " : " " "instanceof":""dump " int " : " " "int":""dynamic " interface " : " " "interface":""dynamic_ca" interrupt " : " " "interrupt":""echo " intrinsic " : " " "intrinsic":""elif " is " : " " "is":""else " isArray " : " " "isArray":""else " isset " : " " "isset":""else " label " : " " "label":""else " lambda " : " " "lambda":""else " last " : " " "last":""else " lbound " : " " "lbound":""else " le " : " " "le":""else " let " : " " "let":""else " letrec " : " " "letrec":""else " library " : " " "library":""else " list " : " " "list":""elseif " local " : " " "local":""elsif " long " : " " "long":""empty " loop " : " " "loop":""empty " lt " : " " "lt":""end " mdo " : " " "mdo":""end " meta " : " " "meta":""enddeclare" mod " : " " "mod":""endfor " module " : " " "module":""endforeach" mutable " : " " "mutable":""endif " my " : " " "my":""endswitch " namespace" : " " "namespace":""endwhile " native " : " " "native":""ensure " nbsp " : " " "nbsp":""enum " ne " : " " "ne":""enum " new " : " " "new":""enum " newtype " : " " "newtype":""eq " next " : " " "next":""erase " nil " : " " "nil":""eval " no " : " " "no":""eval " not " : " " "not":""eval " nothing " : " " "nothing":""except " null " : " " "null":""exception " object " : " " "object":""exit " of " : " " "of":""exit " only " : " " "only":""explicit " operator " : " " "operator":""export " or " : " " "or":""export " or_else " : " " "or_else":""export " order " : " " "order":""exports " otherwise " : " " "otherwise":""extends " p " : " " "p":""extends " package " : " " "package":""extends " packed " : " " "packed":""extends " pass " : " " "pass":""extern " pow " : " " "pow":""external " print " : " " "print":""exxec " private " : " " "private":""

Page 10: Reserved Programming Keywords for Assorted Languages

false " procedure " : " " "procedure":""file " program " : " " "program":""final " property " : " " "property":""final " protected " : " " "protected":""finally " public " : " " "public":""finally " published " : " " "published":""finally " qualified " : " " "qualified":""float " quasiquote" : " " "quasiquote":""float " quot " : " " "quot":""for " quote " : " " "quote":""for " raise " : " " "raise":""for " record " : " " "record":""for " redim " : " " "redim":""for " redo " : " " "redo":""for " ref " : " " "ref":""for " register " : " " "register":""for " reinterpret " : " " "reinterpret_cast":""for " rem " : " " "rem":""for each " repeat " : " " "repeat":""forall " require " : " " "require":""foreach " require_on " : " " "require_once":""foreign " rescue " : " " "rescue":""form " resident " : " " "resident":""forward " restricted " : " " "restricted":""friend " retry " : " " "retry":""from " return " : " " "return":""function " segment " : " " "segment":""function " select " : " " "select":""function " select case" : " " "select case":""function " self " : " " "self":""function " set " : " " "set":""function " shl " : " " "shl":""function " short " : " " "short":""ge " shr " : " " "shr":""get " signed " : " " "signed":""global " sizeof " : " " "sizeof":""global " span " : " " "span":""goto " static " : " " "static":""goto " static_cast " : " " "static_cast":""goto " strictfp " : " " "strictfp":""goto " strong " : " " "strong":""gt " struct " : " " "struct":""gt " sub " : " " "sub":""head " super " : " " "super":""hiding " switch " : " " "switch":""html " synchroniz " : " " "synchronized":""i " table " : " " "table":""if " td " : " " "td":""if " template " : " " "template":""if " textarea " : " " "textarea":""if " then " : " " "then":""if " this " : " " "this":""if " throw " : " " "throw":""if " throws " : " " "throws":""

Page 11: Reserved Programming Keywords for Assorted Languages

if " tie " : " " "tie":""if " tied " : " " "tied":""if " title " : " " "title":""if " to " : " " "to":""implementa" toString " : " " "toString":""implements" tr " : " " "tr":""implements" transient " : " " "transient":""implements" true " : " " "true":""import " try " : " " "try":""import " type " : " " "type":""import " typedef " : " " "typedef":""import " typeid " : " " "typeid":""import " typename " : " " "typename":""import " typeof " : " " "typeof":""import " u " : " " "u":""in " ubound " : " " "ubound":""in " undef " : " " "undef":""in " union " : " " "union":""in " unit " : " " "unit":""in " unless " : " " "unless":""include " unquote " : " " "unquote":""include_on " unquote-spl" : " " "unquote-splicing":""infix " unset " : " " "unset":""infixl " unsigned " : " " "unsigned":""infixr " untie " : " " "untie":""inherited " until " : " " "until":""inline " update " : " " "update":""inline " use " : " " "use":""inport " uses " : " " "uses":""inport " using " : " " "using":""input " value " : " " "value":""insert " var " : " " "var":""instance " view " : " " "view":""instanceof " virtual " : " " "virtual":""instanceof " void " : " " "void":""int " volatile " : " " "volatile":""int " wantarray " : " " "wantarray":""interface " wchar_t " : " " "wchar_t":""interface " wend " : " " "wend":""interface " when " : " " "when":""interface " where " : " " "where":""interrupt " while " : " " "while":""intrinsic " with " : " " "with":""is " xor " : " " "xor":""is " yeild " : " " "yeild":""isArray " yield " : " " "yield":""isset " 0 " : " " "0":""labellabellambdalambdalastlboundle

Page 12: Reserved Programming Keywords for Assorted Languages

letletletletreclibrarylistlocallonglongloopltltmdometamodmodulemodulemodulemutablemynamespacenativenbspnenewnewnewnewnewnewtypenextnextnextnilnilnonotnotnotnotnothingnullobjectofofonlyoperatoroperatororororororor

Page 13: Reserved Programming Keywords for Assorted Languages

or_elseorderotherwiseppackagepackagepackedpasspowprintprintprivateprivateprivateprivateprivateprivateprocedureprogrampropertyprotectedprotectedprotectedprotectedpublicpublicpublicpublicpublicpublicpublishedqualifiedqualifiedquasiquotequotquoteraiserecordredimredoredorefregisterreinterpret_castremrepeatrequirerequirerequire_oncerescueresidentrestrictedretryreturn

Page 14: Reserved Programming Keywords for Assorted Languages

returnreturnreturnreturnreturnreturnreturnsegmentselectselect caseselfsetsetsetsetshlshortshortshrsignedsizeofspanstaticstaticstaticstaticstaticstatic_caststrictfpstrongstructsubsubsubsupersupersuperswitchswitchswitchswitchswitchsynchronizedtabletdtemplatetextareathenthenthenthenthisthisthis

Page 15: Reserved Programming Keywords for Assorted Languages

thisthrowthrowthrowthrowthrowstietiedtitletotoStringtrtransienttruetruetrytrytrytrytrytypetypetypedeftypeidtypenametypeoftypeofuuboundundefunionunionunitunlessunquoteunquote-splicingunsetunsigneduntieuntiluntilupdateuseuseuseusesusingvaluevarvarvarvarvarview

Page 16: Reserved Programming Keywords for Assorted Languages

virtualvirtualvoidvoidvoidvoidvolatilevolatilevolatilewantarraywchar_twendwhenwherewherewhilewhilewhilewhilewhilewhilewhilewhilewhilewithwithwithwithxorxoryeildyield

0

Page 17: Reserved Programming Keywords for Assorted Languages

"cfdirectory":""

Page 18: Reserved Programming Keywords for Assorted Languages

"cfstoredproc":""

"const_cast":"""constructor":""

"dynamic_cast":""

"enddeclare":""

"endforeach":""

Page 19: Reserved Programming Keywords for Assorted Languages

"implementation":"""implements":""

"include_once":""

Page 20: Reserved Programming Keywords for Assorted Languages

"instanceof":""

"namespace":""

Page 21: Reserved Programming Keywords for Assorted Languages

"procedure":""

"quasiquote":""

"reinterpret_cast":""

"require_once":""

"select case":""

"static_cast":""

"synchronized":""

Page 22: Reserved Programming Keywords for Assorted Languages

"unquote-splicing":""