code: 9ferno

ref: 44ce0097b612a1fefd754065bdf8d9d2e5ef60c8
dir: /appl/cmd/limbo/opname.m/

View raw version
opname := array[Oend+1] of
{
			"unknown",

	Oadd =>		"+",
	Oaddas =>	"+=",
	Oadr =>		"adr",
	Oadtdecl =>	"adtdecl",
	Oalt =>		"alt",
	Oand =>		"&",
	Oandand =>	"&&",
	Oandas =>	"&=",
	Oarray =>	"array",
	Oas =>		"=",
	Obreak =>	"break",
	Ocall =>	"call",
	Ocase =>	"case",
	Ocast =>	"cast",
	Ochan =>	"chan",
	Ocomma =>	",",
	Ocomp =>	"~",
	Ocondecl =>	"condecl",
	Ocons =>	"::",
	Oconst =>	"const",
	Ocont =>	"continue",
	Odas =>		":=",
	Odec =>		"--",
	Odiv =>		"/",
	Odivas =>	"/=",
	Odo =>		"do",
	Odot =>		".",
	Oelem =>	"elem",
	Oeq =>		"==",
	Oexcept =>	"except",
	Oexdecl =>	"exdecl",
	Oexit =>	"exit",
	Oexp =>	"**",
	Oexpas =>	"**=",
	Oexstmt =>	"exstat",
	Ofielddecl =>	"fielddecl",
	Ofnptr =>	"fnptr",
	Ofor =>		"for",
	Ofunc =>	"fn(){}",
	Ogeq =>		">=",
	Ogt =>		">",
	Ohd =>		"hd",
	Oif =>		"if",
	Oimport =>	"import",
	Oinc =>		"++",
	Oind =>		"*",
	Oindex =>	"index",
	Oinds =>	"inds",
	Oindx =>	"indx",
	Oinv =>	"inv",
	Ojmp =>		"jmp",
	Olabel =>	"label",
	Olen =>		"len",
	Oleq =>		"<=",
	Oload =>	"load",
	Olsh =>		"<<",
	Olshas =>	"<<=",
	Olt =>		"<",
	Omdot =>	"->",
	Omod =>		"%",
	Omodas =>	"%=",
	Omoddecl =>	"moddecl",
	Omul =>		"*",
	Omulas =>	"*=",
	Oname =>	"name",
	Oneg =>		"-",
	Oneq =>		"!=",
	Onot =>		"!",
	Onothing =>	"nothing",
	Oor =>		"|",
	Ooras =>	"|=",
	Ooror =>	"||",
	Opick =>	"pick",
	Opickdecl =>	"pickdec",
	Opredec =>	"--",
	Opreinc =>	"++",
	Oraise =>	"raise",
	Orange =>	"range",
	Orcv =>		"<-",
	Oref =>		"ref",
	Oret =>		"return",
	Orsh =>		">>",
	Orshas =>	">>=",
	Oscope =>	"scope",
	Oself =>	"self",
	Oseq =>		"seq",
	Oslice =>	"slice",
	Osnd =>		"<-=",
	Ospawn =>	"spawn",
	Osub =>		"-",
	Osubas =>	"-=",
	Otagof =>	"tagof",
	Otl =>		"tl",
	Otuple =>	"tuple",
	Otype => "type",
	Otypedecl =>	"typedecl",
	Oused =>	"used",
	Ovardecl =>	"vardecl",
	Ovardecli =>	"vardecli",
	Owild =>	"*",
	Oxor =>		"^",
	Oxoras =>	"^=",

	Oend =>	"unknown"
};