[][src]Module inc::primitives

Scheme functions implemented within the compiler rather than the runtime.

Modules

string

Functions

booleanp

Is the expression a boolean?

car

First half of a pair

cdr

Second half of a pair

charp

Is the expression a char?

cons

Allocate a pair on heap

dec

Decrement by 1

eq

Logical eq

fixnump

Is the expression a fixnum?

gt

Logical >

gte

Logical >=

inc

Increment number by 1

lt

Logical <

lte

Logical <=

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?

pairp

Is the expression a pair?

plus

Add x and y and move result to register RAX

quotient

Quotient after dividing x by y

remainder

Remainder after dividing x by y

stringp

Is the expression a string?

zerop

Is the expression zero?