[][src]Module inc::primitives

Scheme primitives implemented directly in the compiler

Several scheme functions like (add ... are implemented by the compiler in assembly rather than in scheme. All of them live in this module.

Functions

booleanp

Is the expression a boolean?

charp

Is the expression a char?

dec

Decrement by 1

fixnump

Is the expression a fixnum?

inc

Increment number by 1

minus

Subtract x from y and move result to register RAX

mul

Multiply x and y and move result to register RAX

not

Logical not

nullp

Is the expression null?

plus

Add x and y and move result to register RAX

quotient
remainder
zerop

Is the expression zero?