Skip to content

Commit

Permalink
meta docs
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Oct 2, 2013
1 parent a2a6cc8 commit 879f8d1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/ops.markdown
Expand Up @@ -13,6 +13,26 @@ description. Some opcodes differ only by argument types - in that case,
they are listed under their common name (e.g. mul), with each of their
variants (e.g. mul_i, mul_n) together with a single description.

Opcode variants may contain a type suffix, which usually indicates:

* `_i` argument is native int
* `_n` argument is native float
* `_s` argument is native string
* `_I` argument is Big Integer

They may also have a numeric suffix, which typically indicates the number
of arguments required.

In opcode signatures below, we use the following types, which may not
correspond directly to NQP types.

* int - native int
* num - native float
* str - native string
* Any - an NQP or VM object
* Type - a type object (e.g. `Int`)
* Handle - an I/O Handle object

# Arithmetic Opcodes

## abs
Expand Down

0 comments on commit 879f8d1

Please sign in to comment.