jehanne/sys/src/cmd/awk/maketab.rc.environment

65 lines
1.4 KiB
Plaintext

PROGRAM=(program '')
BOR=(boolop ' || ')
AND=(boolop ' && ')
NOT=(boolop ' !')
NE=(relop ' != ')
EQ=(relop ' == ')
LE=(relop ' <= ')
LT=(relop ' < ')
GE=(relop ' >= ')
GT=(relop ' > ')
ARRAY=(array '')
INDIRECT=(indirect '$(')
SUBSTR=(substr 'substr')
SUB=(sub 'sub')
GSUB=(gsub 'gsub')
INDEX=(sindex 'sindex')
SPRINTF=(awksprintf 'sprintf')
ADD=(arith ' + ')
MINUS=(arith ' - ')
MULT=(arith ' * ')
DIVIDE=(arith ' / ')
MOD=(arith ' % ')
UMINUS=(arith ' -')
POWER=(arith ' **')
PREINCR=(incrdecr '++')
POSTINCR=(incrdecr '++')
PREDECR=(incrdecr '--')
POSTDECR=(incrdecr '--')
CAT=(cat ' ')
PASTAT=(pastat '')
PASTAT2=(dopa2 '')
MATCH=(matchop ' ~ ')
NOTMATCH=(matchop ' !~ ')
MATCHFCN=(matchop 'matchop')
INTEST=(intest 'intest')
PRINTF=(awkprintf 'printf')
PRINT=(printstat 'print')
CLOSE=(closefile 'closefile')
DELETE=(awkdelete 'awkdelete')
SPLIT=(split 'split')
ASSIGN=(assign ' = ')
ADDEQ=(assign ' += ')
SUBEQ=(assign ' -= ')
MULTEQ=(assign ' *= ')
DIVEQ=(assign ' /= ')
MODEQ=(assign ' %= ')
POWEQ=(assign ' ^= ')
CONDEXPR=(condexpr ' ?: ')
IF=(ifstat 'if(')
WHILE=(whilestat 'while(')
FOR=(forstat 'for(')
DO=(dostat 'do')
IN=(instat 'instat')
NEXT=(jump 'next')
NEXTFILE=(jump 'nextfile')
EXIT=(jump 'exit')
BREAK=(jump 'break')
CONTINUE=(jump 'continue')
RETURN=(jump 'ret')
BLTIN=(bltin 'bltin')
CALL=(call 'call')
ARG=(arg 'arg')
VARNF=(getnf 'NF')
GETLINE=(getline 'getline')