[][src]Crate xassembler

Structs

FnCall
Function
FunctionDef
Golang
Identifier
Rust
StructDef
Suite

Enums

Error
Expr
Literal
Name
Value

Constants

MACHINE_NAME

Traits

Compile
Target

Functions

assignment

This stores to an identifier, or assigns to an indexed value

comment

Matches a comment in source code

compile
dot_ident

This matches a value, succeeded by dot separated identifiers

expr

A fundamental language expression

flat_value

This matches values that do not have the possibility of entering a recursive loop.

fncall

This matches a function call, a value called with arguments

foreign_function_literal

This parses a foreign function literal: @foreign_function_name

function

This represents an anonymous function literal. A function literal looks like the following:

function_def

This represents a function definition. A function definition is a function with a name:

group

This matches a grouped value, any () enclosed value

ident

This matches a simple identifier

if_then_else

If a condition is true, execute a suite else, execute a suite

index_name

This matches a value, succeeded by [] enclosed values

literal

This matches either a number or string literal

name

This matches an identifier, a dotted name, or an indexed name

number_literal

This parses a number literal

program

A series of expressions

recursive_value

This matches values that DO have a possibility of entering a recursive loop.

string_literal

This parses a string literal

struct_def

This defines a class object. A class is actually a function that stores a bunch of methods and values in a dictionary named self, and returns the value of self

suite

A series of instructions enclosed with {}

value

This represents an atomic value

while_loop

While a condition is true, execute a suite