The BLOCKS SDK
littlefoot Namespace Reference

Classes

struct  Compiler
 This class compiles littlefoot source code into a littlefoot::Program object which can be executed by a littlefoot::Runner. More...
 
struct  LittleFootRemoteHeap
 This class manages the synchronisation of a remote block of heap memory used by a littlefoot program running on a block. More...
 
struct  NativeFunction
 Defines a native function that the program can call. More...
 
struct  Program
 A reference to a block of memory which contains a complete program. More...
 
struct  Runner
 Loads a program, and lets the user execute its functions. More...
 

Typedefs

using int8 = signed char
 
using uint8 = unsigned char
 
using int16 = signed short
 
using uint16 = unsigned short
 
using int32 = signed int
 
using uint32 = unsigned int
 
using FunctionID = int16
 

Enumerations

enum class  OpCode : uint8 { LITTLEFOOT_OP , endOfOpcodes }
 
enum class  Type : uint8 { void_ = 'v' , int_ = 'i' , bool_ = 'b' , float_ = 'f' }
 Available value types. More...
 

Variables

const int numBytesInType = 4
 

Typedef Documentation

◆ int8

using littlefoot::int8 = typedef signed char

◆ uint8

using littlefoot::uint8 = typedef unsigned char

◆ int16

using littlefoot::int16 = typedef signed short

◆ uint16

using littlefoot::uint16 = typedef unsigned short

◆ int32

using littlefoot::int32 = typedef signed int

◆ uint32

using littlefoot::uint32 = typedef unsigned int

◆ FunctionID

using littlefoot::FunctionID = typedef int16

Enumeration Type Documentation

◆ OpCode

enum littlefoot::OpCode : uint8
strong
Enumerator
LITTLEFOOT_OP 
endOfOpcodes 

◆ Type

enum littlefoot::Type : uint8
strong

Available value types.

Enumerator
void_ 
int_ 
bool_ 
float_ 

Variable Documentation

◆ numBytesInType

const int littlefoot::numBytesInType = 4