Skip to content

Commit 9d05ece

Browse files
committed
Merge pull request #265 from zoffixznet/ops-toc
Add Table of Contents to docs/ops for easier navigation
2 parents a1339e2 + 23538e5 commit 9d05ece

File tree

1 file changed

+291
-0
lines changed

1 file changed

+291
-0
lines changed

docs/ops.markdown

Lines changed: 291 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,294 @@
1+
# TABLE OF CONTENTS
2+
- [NQP Opcodes](#nqp-opcodes)
3+
- [Arithmetic Opcodes](#-arithmetic-opcodes)
4+
- [abs](#abs)
5+
- [add](#add)
6+
- [div](#div)
7+
- [gcd](#gcd)
8+
- [lcm](#lcm)
9+
- [mod](#mod)
10+
- [mul](#mul)
11+
- [neg](#neg)
12+
- [sub](#sub)
13+
- [Numeric Opcodes](#-numeric-opcodes)
14+
- [base](#base)
15+
- [ceil](#ceil)
16+
- [exp](#exp)
17+
- [floor](#floor)
18+
- [inf](#inf)
19+
- [log](#log)
20+
- [ln](#ln)
21+
- [expmod](#expmod)
22+
- [nan](#nan)
23+
- [neginf](#neginf)
24+
- [pow](#pow)
25+
- [rand](#rand)
26+
- [sqrt](#sqrt)
27+
- [Trigonometric Opcodes](#-trigonometric-opcodes)
28+
- [asec](#asec)
29+
- [asin](#asin)
30+
- [acos](#acos)
31+
- [atan](#atan)
32+
- [atan2](#atan2)
33+
- [cos](#cos)
34+
- [cosh](#cosh)
35+
- [sin](#sin)
36+
- [sinh](#sinh)
37+
- [sec](#sec)
38+
- [sech](#sech)
39+
- [tan](#tan)
40+
- [tanh](#tanh)
41+
- [Relational / Logic Opcodes](#-relational--logic-opcodes)
42+
- [cmp](#cmp)
43+
- [eqat](#eqat)
44+
- [iseq](#iseq)
45+
- [isgt](#isgt)
46+
- [isge](#isge)
47+
- [islt](#islt)
48+
- [isle](#isle)
49+
- [isne](#isne)
50+
- [not](#not)
51+
- [Array Opcodes](#-array-opcodes)
52+
- [atpos](#atpos)
53+
- [bindpos](#bindpos)
54+
- [elems](#elems)
55+
- [existspos](#existspos)
56+
- [list](#list)
57+
- [push](#push)
58+
- [pop](#pop)
59+
- [setelems](#setelems)
60+
- [shift](#shift)
61+
- [splice](#splice)
62+
- [unshift](#unshift)
63+
- [iterator](#iterator)
64+
- [Hash Opcodes](#-hash-opcodes)
65+
- [atkey](#atkey)
66+
- [bindkey](#bindkey)
67+
- [existskey](#existskey)
68+
- [deletekey](#deletekey)
69+
- [iterkey](#iterkey)
70+
- [iterval](#iterval)
71+
- [String Opcodes](#-string-opcodes)
72+
- [chars](#chars)
73+
- [chr](#chr)
74+
- [codepointfromname](#codepointfromname)
75+
- [concat](#concat)
76+
- [decode](#decode)
77+
- [decodetocodes](#decodetocodes)
78+
- [encode](#encode)
79+
- [encodefromcodes](#encodefromcodes)
80+
- [encodenorm](#encodenorm)
81+
- [escape](#escape)
82+
- [findcclass](#findcclass)
83+
- [findnotcclass](#findnotcclass)
84+
- [flip](#flip)
85+
- [hash](#hash)
86+
- [index](#index)
87+
- [iscclass](#iscclass)
88+
- [join](#join)
89+
- [lc](#lc)
90+
- [normalizecodes](#normalizecodes)
91+
- [ord](#ord)
92+
- [radix](#radix)
93+
- [replace](#replace)
94+
- [rindex](#rindex)
95+
- [uc](#uc)
96+
- [split](#split)
97+
- [strfromcodes](#strfromcodes)
98+
- [strtocodes](#strtocodes)
99+
- [substr](#substr)
100+
- [tc](#tc)
101+
- [x](#x)
102+
- [sprintf](#sprintf)
103+
- [sprintfdirectives](#sprintfdirectives)
104+
- [sprintfaddargumenthandler](#sprintfaddargumenthandler)
105+
- [Unicode Property Opcodes](#-unicode-property-opcodes)
106+
- [getuniname](#getuniname)
107+
- [unipropcode](#unipropcode)
108+
- [unipvalcode](#unipvalcode)
109+
- [getuniprop_int](#getuniprop_int)
110+
- [getuniprop_str](#getuniprop_str)
111+
- [getuniprop_bool](#getuniprop_bool)
112+
- [matchuniprop](#matchuniprop)
113+
- [Conditional Opcodes](#-conditional-opcodes)
114+
- [if](#if)
115+
- [unless](#unless)
116+
- [Loop/Control Opcodes](#-loopcontrol-opcodes)
117+
- [for](#for)
118+
- [ifnull](#ifnull)
119+
- [defor](#defor)
120+
- [repeat_until](#repeat_until)
121+
- [repeat_while](#repeat_while)
122+
- [until](#until)
123+
- [while](#while)
124+
- [control](#control)
125+
- [Exceptional Opcodes](#-exceptional-opcodes)
126+
- [backtrace](#backtrace)
127+
- [backtracestrings](#backtracestrings)
128+
- [die](#die)
129+
- [exception](#exception)
130+
- [getextype](#getextype)
131+
- [getmessage](#getmessage)
132+
- [getpayload](#getpayload)
133+
- [newexception](#newexception)
134+
- [resume](#resume)
135+
- [rethrow](#rethrow)
136+
- [setextype](#setextype)
137+
- [setmessage](#setmessage)
138+
- [setpayload](#setpayload)
139+
- [throw](#throw)
140+
- [Input/Output Opcodes](#-inputoutput-opcodes)
141+
- [closefh](#closefh)
142+
- [eoffh](#eoffh)
143+
- [flushfh](#flushfh)
144+
- [getcfh](#getcfh)
145+
- [getstderr](#getstderr)
146+
- [getstdin](#getstdin)
147+
- [getstdout](#getstdout)
148+
- [open](#open)
149+
- [openasync `jvm`](#openasync-jvm)
150+
- [print](#print)
151+
- [printfh](#printfh)
152+
- [readallfh](#readallfh)
153+
- [readfh](#readfh)
154+
- [readlinefh](#readlinefh)
155+
- [readcharsfh](#readcharsfh)
156+
- [say](#say)
157+
- [sayfh](#sayfh)
158+
- [setencoding](#setencoding)
159+
- [setinputlinesep](#setinputlinesep)
160+
- [tellfh](#tellfh)
161+
- [writefh](#writefh)
162+
- [External command Opcodes](#-external-command-opcodes)
163+
- [shell](#shell)
164+
- [spawn](#spawn)
165+
- [File / Directory / Network Opcodes](#-file--directory--network-opcodes)
166+
- [chdir](#chdir)
167+
- [chmod](#chmod)
168+
- [closedir](#closedir)
169+
- [copy](#copy)
170+
- [cwd](#cwd)
171+
- [fileexecutable](#fileexecutable)
172+
- [fileislink](#fileislink)
173+
- [filereadable](#filereadable)
174+
- [filewritable](#filewritable)
175+
- [link](#link)
176+
- [mkdir](#mkdir)
177+
- [nextfiledir](#nextfiledir)
178+
- [opendir](#opendir)
179+
- [rename](#rename)
180+
- [rmdir](#rmdir)
181+
- [stat](#stat)
182+
- [lstat](#lstat)
183+
- [symlink](#symlink)
184+
- [unlink](#unlink)
185+
- [Type/Conversion Opcodes](#-typeconversion-opcodes)
186+
- [bool](#bool)
187+
- [bootarray `jvm` `moar`](#bootarray-jvm-moar)
188+
- [boothash `jvm` `moar`](#boothash-jvm-moar)
189+
- [bootint `jvm` `moar`](#bootint-jvm-moar)
190+
- [bootintarray `jvm` `moar`](#bootintarray-jvm-moar)
191+
- [bootnum `jvm` `moar`](#bootnum-jvm-moar)
192+
- [bootnumarray `jvm` `moar`](#bootnumarray-jvm-moar)
193+
- [bootstr `jvm` `moar`](#bootstr-jvm-moar)
194+
- [bootstrarray `jvm` `moar`](#bootstrarray-jvm-moar)
195+
- [box](#box)
196+
- [defined](#defined)
197+
- [fromnum](#fromnum)
198+
- [fromstr](#fromstr)
199+
- [isbig](#isbig)
200+
- [isconcrete](#isconcrete)
201+
- [iscont](#iscont)
202+
- [isfalse](#isfalse)
203+
- [ishash](#ishash)
204+
- [isint](#isint)
205+
- [isinvokable](#isinvokable)
206+
- [islist](#islist)
207+
- [isnanorinf](#isnanorinf)
208+
- [isnull](#isnull)
209+
- [isnum](#isnum)
210+
- [isprime](#isprime)
211+
- [isstr](#isstr)
212+
- [istrue](#istrue)
213+
- [istype](#istype)
214+
- [null](#null)
215+
- [jvmisnull `jvm`](#jvmisnull-jvm)
216+
- [tostr](#tostr)
217+
- [tonum](#tonum)
218+
- [unbox](#unbox)
219+
- [OO/SixModel Opcodes](#-oosixmodel-opcodes)
220+
- [bindattr](#bindattr)
221+
- [bindcomp](#bindcomp)
222+
- [callmethod](#callmethod)
223+
- [can](#can)
224+
- [clone](#clone)
225+
- [create](#create)
226+
- [eqaddr](#eqaddr)
227+
- [findmethod](#findmethod)
228+
- [getattr](#getattr)
229+
- [getcomp](#getcomp)
230+
- [how](#how)
231+
- [rebless](#rebless)
232+
- [reprname](#reprname)
233+
- [setwho](#setwho)
234+
- [who](#who)
235+
- [what](#what)
236+
- [where](#where)
237+
- [Bit Opcodes](#-bit-opcodes)
238+
- [bitand](#bitand)
239+
- [bitneg](#bitneg)
240+
- [bitor](#bitor)
241+
- [bitshiftl](#bitshiftl)
242+
- [bitshiftr](#bitshiftr)
243+
- [bitxor](#bitxor)
244+
- [Context Introspection Opcodes](#-context-introspection-opcodes)
245+
- [ctx](#ctx)
246+
- [ctxcaller](#ctxcaller)
247+
- [ctxlexpad](#ctxlexpad)
248+
- [curlexpad](#curlexpad)
249+
- [ctxouter](#ctxouter)
250+
- [lexprimspec](#lexprimspec)
251+
- [savecapture](#savecapture)
252+
- [usecapture](#usecapture)
253+
- [getlex](#getlex)
254+
- [bindlex](#bindlex)
255+
- [getlexdyn](#getlexdyn)
256+
- [bindlexdyn](#bindlexdyn)
257+
- [getlexouter](#getlexouter)
258+
- [getlexcaller](#getlexcaller)
259+
- [getlexrel](#getlexrel)
260+
- [getlexreldyn](#getlexreldyn)
261+
- [getlexrelcaller](#getlexrelcaller)
262+
- [Variable Opcodes](#-variable-opcodes)
263+
- [bind](#bind)
264+
- [Miscellaneous Opcodes](#-miscellaneous-opcodes)
265+
- [const](#const)
266+
- [debugnoop](#debugnoop)
267+
- [exit](#exit)
268+
- [getenvhash](#getenvhash)
269+
- [backendconfig](#backendconfig)
270+
- [getpid](#getpid)
271+
- [jvmclasspaths `jvm`](#jvmclasspaths-jvm)
272+
- [sha1](#sha1)
273+
- [sleep](#sleep)
274+
- [takeclosure](#takeclosure)
275+
- [time](#time)
276+
- [Native Call / Interoperability Opcodes](#-native-call--interoperability-opcodes)
277+
- [x_posixerrno](#x_posixerrno)
278+
- [Asynchronous Operations](#-asynchronous-operations)
279+
- [cancel](#cancel)
280+
- [timer](#timer)
281+
- [signal](#signal)
282+
- [watchfile](#watchfile)
283+
- [asyncconnect](#asyncconnect)
284+
- [asynclisten](#asynclisten)
285+
- [asyncwritestr](#asyncwritestr)
286+
- [asyncwritebytes](#asyncwritebytes)
287+
- [asyncreadchars](#asyncreadchars)
288+
- [asyncreadbytes](#asyncreadbytes)
289+
- [spawnprocasync](#spawnprocasync)
290+
- [killprocasync](#killprocasync)
291+
1292
# NQP Opcodes
2293

3294
Opcodes (ops) are used both directly when writing NQP, and during code

0 commit comments

Comments
 (0)