44 'LANG_NAME' =>
'PARI/GP',
45 'COMMENT_SINGLE' => array(1 =>
'\\\\'),
46 'COMMENT_MULTI' => array(
'/*' =>
'*/'),
48 'QUOTEMARKS' => array(
'"'),
49 'ESCAPE_CHAR' =>
'\\',
58 'abs',
'acos',
'acosh',
'addhelp',
'addprimes',
'agm',
'alarm',
'algdep',
59 'alias',
'allocatemem',
'apply',
'arg',
'asin',
'asinh',
'atan',
'atanh',
60 'bernfrac',
'bernpol',
'bernreal',
'bernvec',
'besselh1',
'besselh2',
61 'besseli',
'besselj',
'besseljh',
'besselk',
'besseln',
'bestappr',
62 'bestapprPade',
'bezout',
'bezoutres',
'bigomega',
'binary',
'binomial',
63 'bitand',
'bitneg',
'bitnegimply',
'bitor',
'bittest',
'bitxor',
64 'bnfcertify',
'bnfcompress',
'bnfdecodemodule',
'bnfinit',
65 'bnfisintnorm',
'bnfisnorm',
'bnfisprincipal',
'bnfissunit',
66 'bnfisunit',
'bnfnarrow',
'bnfsignunit',
'bnfsunit',
'bnrclassno',
67 'bnrclassnolist',
'bnrconductor',
'bnrconductorofchar',
'bnrdisc',
68 'bnrdisclist',
'bnrinit',
'bnrisconductor',
'bnrisprincipal',
'bnrL1',
69 'bnrrootnumber',
'bnrstark',
'break',
'breakpoint',
'Catalan',
'ceil',
70 'centerlift',
'charpoly',
'chinese',
'cmp',
'Col',
'component',
'concat',
71 'conj',
'conjvec',
'content',
'contfrac',
'contfracpnqn',
'core',
72 'coredisc',
'cos',
'cosh',
'cotan',
'dbg_down',
'dbg_err',
'dbg_up',
73 'dbg_x',
'default',
'denominator',
'deriv',
'derivnum',
'diffop',
74 'digits',
'dilog',
'dirdiv',
'direuler',
'dirmul',
'dirzetak',
'divisors',
75 'divrem',
'eint1',
'elladd',
'ellak',
'ellan',
'ellanalyticrank',
'ellap',
76 'ellbil',
'ellcard',
'ellchangecurve',
'ellchangepoint',
77 'ellconvertname',
'elldivpol',
'elleisnum',
'elleta',
'ellffinit',
78 'ellfromj',
'ellgenerators',
'ellglobalred',
'ellgroup',
'ellheegner',
79 'ellheight',
'ellheightmatrix',
'ellidentify',
'ellinit',
80 'ellisoncurve',
'ellj',
'ellL1',
'elllocalred',
'elllog',
'elllseries',
81 'ellminimalmodel',
'ellmodulareqn',
'ellmul',
'ellneg',
'ellorder',
82 'ellordinate',
'ellpointtoz',
'ellrootno',
'ellsearch',
'ellsigma',
83 'ellsub',
'elltaniyama',
'elltatepairing',
'elltors',
'ellweilpairing',
84 'ellwp',
'ellzeta',
'ellztopoint',
'erfc',
'errname',
'error',
'eta',
'Euler',
85 'eulerphi',
'eval',
'exp',
'extern',
'externstr',
'factor',
'factorback',
86 'factorcantor',
'factorff',
'factorial',
'factorint',
'factormod',
87 'factornf',
'factorpadic',
'ffgen',
'ffinit',
'fflog',
'ffnbirred',
88 'fforder',
'ffprimroot',
'fibonacci',
'floor',
'for',
'forcomposite',
'fordiv',
'forell',
89 'forprime',
'forqfvec',
'forstep',
'forsubgroup',
'forvec',
'frac',
'galoisexport',
90 'galoisfixedfield',
'galoisgetpol',
'galoisidentify',
'galoisinit',
91 'galoisisabelian',
'galoisisnormal',
'galoispermtopol',
92 'galoissubcyclo',
'galoissubfields',
'galoissubgroups',
'gamma',
93 'gammah',
'gcd',
'getenv',
'getheap',
'getrand',
'getstack',
'gettime',
94 'global',
'hammingweight',
'hilbert',
'hyperu',
'I',
'idealadd',
95 'idealaddtoone',
'idealappr',
'idealchinese',
'idealcoprime',
96 'idealdiv',
'idealfactor',
'idealfactorback',
'idealfrobenius',
97 'idealhnf',
'idealintersect',
'idealinv',
'ideallist',
'ideallistarch',
98 'ideallog',
'idealmin',
'idealmul',
'idealnorm',
'idealnumden',
99 'idealpow',
'idealprimedec',
'idealramgroups',
'idealred',
'idealstar',
100 'idealtwoelt',
'idealval',
'if',
'iferr',
'iferrname',
'imag',
'incgam',
'incgamc',
'input',
101 'install',
'intcirc',
'intformal',
'intfouriercos',
'intfourierexp',
102 'intfouriersin',
'intfuncinit',
'intlaplaceinv',
'intmellininv',
103 'intmellininvshort',
'intnum',
'intnuminit',
'intnuminitgen',
104 'intnumromb',
'intnumstep',
'isfundamental',
'ispolygonal',
'ispower',
'ispowerful',
105 'isprime',
'isprimepower',
'ispseudoprime',
'issquare',
'issquarefree',
'istotient',
106 'kill',
'kronecker',
'lcm',
'length',
'lex',
'lift',
'lindep',
'List',
107 'listcreate',
'listinsert',
'listkill',
'listpop',
'listput',
'listsort',
108 'lngamma',
'local',
'log',
'Mat',
'matadjoint',
'matalgtobasis',
109 'matbasistoalg',
'matcompanion',
'matconcat',
'matcontent',
'matdet',
'matdetint',
110 'matdiagonal',
'mateigen',
'matfrobenius',
'mathess',
'mathilbert',
111 'mathnf',
'mathnfmod',
'mathnfmodid',
'matid',
'matimage',
112 'matimagecompl',
'matindexrank',
'matintersect',
'matinverseimage',
113 'matisdiagonal',
'matker',
'matkerint',
'matmuldiagonal',
114 'matmultodiagonal',
'matpascal',
'matrank',
'matrix',
'matrixqz',
115 'matsize',
'matsnf',
'matsolve',
'matsolvemod',
'matsupplement',
116 'mattranspose',
'max',
'min',
'minpoly',
'Mod',
'modreverse',
'moebius',
117 'my',
'newtonpoly',
'next',
'nextprime',
'nfalgtobasis',
'nfbasis',
118 'nfbasistoalg',
'nfdetint',
'nfdisc',
'nfeltadd',
'nfeltdiv',
119 'nfeltdiveuc',
'nfeltdivmodpr',
'nfeltdivrem',
'nfeltmod',
'nfeltmul',
120 'nfeltmulmodpr',
'nfeltnorm',
'nfeltpow',
'nfeltpowmodpr',
121 'nfeltreduce',
'nfeltreducemodpr',
'nfelttrace',
'nfeltval',
'nffactor',
122 'nffactorback',
'nffactormod',
'nfgaloisapply',
'nfgaloisconj',
123 'nfhilbert',
'nfhnf',
'nfhnfmod',
'nfinit',
'nfisideal',
'nfisincl',
124 'nfisisom',
'nfkermodpr',
'nfmodprinit',
'nfnewprec',
'nfroots',
125 'nfrootsof1',
'nfsnf',
'nfsolvemodpr',
'nfsubfields',
'norm',
'norml2',
126 'numbpart',
'numdiv',
'numerator',
'numtoperm',
'O',
'omega',
'padicappr',
127 'padicfields',
'padicprec',
'partitions',
'permtonum',
'Pi',
'plot',
128 'plotbox',
'plotclip',
'plotcolor',
'plotcopy',
'plotcursor',
'plotdraw',
129 'ploth',
'plothraw',
'plothsizes',
'plotinit',
'plotkill',
'plotlines',
130 'plotlinetype',
'plotmove',
'plotpoints',
'plotpointsize',
131 'plotpointtype',
'plotrbox',
'plotrecth',
'plotrecthraw',
'plotrline',
132 'plotrmove',
'plotrpoint',
'plotscale',
'plotstring',
'Pol',
133 'polchebyshev',
'polcoeff',
'polcompositum',
'polcyclo',
'polcyclofactors',
'poldegree',
134 'poldisc',
'poldiscreduced',
'polgalois',
'polgraeffe',
'polhensellift',
135 'polhermite',
'polinterpolate',
'poliscyclo',
'poliscycloprod',
136 'polisirreducible',
'pollead',
'pollegendre',
'polrecip',
'polred',
137 'polredabs',
'polredbest',
'polredord',
'polresultant',
'Polrev',
'polroots',
138 'polrootsff',
'polrootsmod',
'polrootspadic',
'polsturm',
'polsubcyclo',
139 'polsylvestermatrix',
'polsym',
'poltchebi',
'poltschirnhaus',
140 'polylog',
'polzagier',
'precision',
'precprime',
'prime',
'primepi',
141 'primes',
'print',
'print1',
'printf',
'printsep',
'printtex',
'prod',
'prodeuler',
142 'prodinf',
'psdraw',
'psi',
'psploth',
'psplothraw',
'Qfb',
'qfbclassno',
143 'qfbcompraw',
'qfbhclassno',
'qfbnucomp',
'qfbnupow',
'qfbpowraw',
144 'qfbprimeform',
'qfbred',
'qfbsolve',
'qfgaussred',
'qfjacobi',
'qflll',
145 'qflllgram',
'qfminim',
'qfperfection',
'qfrep',
'qfsign',
146 'quadclassunit',
'quaddisc',
'quadgen',
'quadhilbert',
'quadpoly',
147 'quadray',
'quadregulator',
'quadunit',
'quit',
'random',
'randomprime',
'read',
148 'readvec',
'real',
'removeprimes',
'return',
'rnfalgtobasis',
'rnfbasis',
149 'rnfbasistoalg',
'rnfcharpoly',
'rnfconductor',
'rnfdedekind',
'rnfdet',
150 'rnfdisc',
'rnfeltabstorel',
'rnfeltdown',
'rnfeltreltoabs',
'rnfeltup',
151 'rnfequation',
'rnfhnfbasis',
'rnfidealabstorel',
'rnfidealdown',
152 'rnfidealhnf',
'rnfidealmul',
'rnfidealnormabs',
'rnfidealnormrel',
153 'rnfidealreltoabs',
'rnfidealtwoelt',
'rnfidealup',
'rnfinit',
154 'rnfisabelian',
'rnfisfree',
'rnfisnorm',
'rnfisnorminit',
'rnfkummer',
155 'rnflllgram',
'rnfnormgroup',
'rnfpolred',
'rnfpolredabs',
156 'rnfpseudobasis',
'rnfsteinitz',
'round',
'select',
'Ser',
'serconvol',
157 'serlaplace',
'serreverse',
'Set',
'setbinop',
'setintersect',
158 'setisset',
'setminus',
'setrand',
'setsearch',
'setunion',
'shift',
159 'shiftmul',
'sigma',
'sign',
'simplify',
'sin',
'sinh',
'sizebyte',
160 'sizedigit',
'solve',
'sqr',
'sqrt',
'sqrtint',
'sqrtn',
'sqrtnint',
'stirling',
'Str',
161 'Strchr',
'Strexpand',
'Strprintf',
'Strtex',
'subgrouplist',
'subst',
162 'substpol',
'substvec',
'sum',
'sumalt',
'sumdedekind',
'sumdiv',
'sumdivmult',
'sumdigits',
163 'sumformal',
'suminf',
'sumnum',
'sumnumalt',
'sumnuminit',
'sumpos',
'system',
'tan',
164 'tanh',
'taylor',
'teichmuller',
'theta',
'thetanullk',
'thue',
165 'thueinit',
'trace',
'trap',
'truncate',
'type',
'until',
'valuation',
166 'variable',
'Vec',
'vecextract',
'vecmax',
'vecmin',
'Vecrev',
167 'vecsearch',
'Vecsmall',
'vecsort',
'vector',
'vectorsmall',
'vectorv',
168 'version',
'warning',
'weber',
'whatnow',
'while',
'write',
'write1',
169 'writebin',
'writetex',
'zeta',
'zetak',
'zetakinit',
'zncoppersmith',
170 'znlog',
'znorder',
'znprimroot',
'znstar' 174 'void',
'bool',
'negbool',
'small',
'int',
'mp',
'var',
'lg',
'pol',
175 'vecsmall',
'vec',
'list',
'str',
'genstr',
'gen',
'typ' 179 'TeXstyle',
'breakloop',
'colors',
'compatible',
'datadir',
'debug',
180 'debugfiles',
'debugmem',
'echo',
'factor_add_primes',
'factor_proven',
181 'format',
'graphcolormap',
'graphcolors',
'help',
'histfile',
'histsize',
182 'lines',
'linewrap',
'logfile',
'new_galois_format',
'output',
183 'parisize',
'path',
'prettyprinter',
'primelimit',
'prompt_cont',
184 'prompt',
'psfile',
'readline',
'realprecision',
'recover',
'secure',
185 'seriesprecision',
'sopath',
'strictmatch',
'timer' 189 '"e_ARCH"',
'"e_BUG"',
'"e_FILE"',
'"e_IMPL"',
'"e_PACKAGE"',
'"e_DIM"',
190 '"e_FLAG"',
'"e_NOTFUNC"',
'"e_OP"',
'"e_TYPE"',
'"e_TYPE2"',
191 '"e_PRIORITY"',
'"e_VAR"',
'"e_DOMAIN"',
'"e_MAXPRIME"',
'"e_MEM"',
192 '"e_OVERFLOW"',
'"e_PREC"',
'"e_STACK"',
'"e_ALARM"',
'"e_USER"',
193 '"e_CONSTPOL"',
'"e_COPRIME"',
'"e_INV"',
'"e_IRREDPOL"',
'"e_MISC"',
194 '"e_MODULUS"',
'"e_NEGVAL"',
'"e_PRIME"',
'"e_ROOTS0"',
'"e_SQRTN"' 199 '(',
')',
'{',
'}',
'[',
']',
'+',
'-',
'*',
'/',
'%',
'=',
'<',
'>',
'!',
'^',
'&',
'|',
'?',
';',
':',
',',
'\\',
'\'' 202 'CASE_SENSITIVE' => array(
211 1 =>
'color: #0000ff;',
212 2 =>
'color: #e07022;',
213 3 =>
'color: #00d2d2;',
214 4 =>
'color: #00d2d2;' 217 1 =>
'color: #008000;',
218 'MULTI' =>
'color: #008000;' 220 'ESCAPE_CHAR' => array(
221 0 =>
'color: #111111; font-weight: bold;' 224 0 =>
'color: #002222;' 227 0 =>
'color: #800080;' 230 0 =>
'color: #666666;',
231 1 =>
'color: #666666;',
232 2 =>
'color: #666666;' 235 0 =>
'color: #004000;' 238 1 =>
'color: #339933;' 241 0 =>
'color: #e07022', # Should be
the same as keyword group 2
242 1 =>
'color: #555555',
243 2 =>
'color: #0000ff' # Should be
the same as keyword group 1
254 'OBJECT_SPLITTERS' => array(
258 0 => array( # types marked
on variables
259 GESHI_SEARCH =>
'(?<!\\\\ )"(t_(?:INT|REAL|INTMOD|FRAC|FFELT|COMPLEX|PADIC|QUAD|POLMOD|POL|SER|RFRAC|QFR|QFI|VEC|COL|MAT|LIST|STR|VECSMALL|CLOSURE|ERROR))"',
265 1 => array( # literal variables
272 2 => array( # member functions
273 GESHI_SEARCH =>
'(?<=[.])(a[1-6]|b[2-8]|c[4-6]|area|bid|bnf|clgp|cyc|diff|disc|[efjp]|fu|gen|index|mod|nf|no|omega|pol|reg|roots|sign|r[12]|t2|tate|tu|zk|zkst)\b',
281 'SCRIPT_DELIMITERS' => array(
283 '[a-zA-Z][a-zA-Z0-9_]*:' =>
'' 292 'HIGHLIGHT_STRICT_BLOCK' => array()
const GESHI_MODIFIERS
The key of the regex array defining any modifiers to the regular expression.
const GESHI_NUMBER_FLT_SCI_ZERO
Number format to highlight floating-point numbers with support for scientific notation (E) and requir...
const GESHI_BEFORE
The key of the regex array defining what bracket group in a matched search to put before the replacem...
on($eventName, callable $callBack, $priority=100)
Subscribe to an event.
const GESHI_COMMENTS
Used in language files to mark comments.
const GESHI_REPLACE
The key of the regex array defining what bracket group in a matched search to use as a replacement...
const GESHI_SEARCH
The key of the regex array defining what to search for.
const GESHI_NEVER
#+ private
const GESHI_NUMBER_INT_BASIC
Basic number format for integers.
const GESHI_CAPS_NO_CHANGE
Lowercase keywords found.
const GESHI_AFTER
The key of the regex array defining what bracket group in a matched search to put after the replaceme...