Core Features

Keywords

Explore Cambo's vocabularies.
KeywordKindDescription
asNamespace declarerused to group related code into a named scope.
autoType specifierused to automatically infer a type
boolData typeused to define a variable or function return type that stores true/false.
breakTerminationused to terminate a loop or switch and jump out of the block.
caseControl flowa sub-component of switch, used to match a labeled value and execute a given code.
charData typeused to define a variable or function return tyep that stores ascii characters
char16Data typeused to define a variable or function return type that sotres 16-bit characters
char32Data typeused to define a variable or function return type that stores 32-bit characters
constQualifierused to qualify a variable of any type to be immutable and can be processed at compile time.
continueControl flowused to skip the remaining code inside the current iteration and jump to the next cycle of the loop.
defineAliasused to make an alias for an existing data type or a user-defined type, allowing you to create a simpler version of a complex type.
defaultArgument Specifierused to indicate a specific argument of a function takes its default value.
deinitFunction modifiera destructor of struct, which is automatically invoked after an object of a defined struct is destroyed.
elseControl flowused to define an alternative line or block of code that executes only when the given condition the the corresponding if evaluates to false.
enumUser-defined typeenumeration, used to define a collection of named constants, which only primitive types are permitted.
falseLiterala boolean literal, used to represent the false state of logic.
float16Data typeused to define a varible or function return type that stores 16-bit floating points.
float32Data typeused to define a varible or function return type that stores 32-bit floating points.
float64Data typeused to define a varible or function return type that stores 64-bit floating points.
float80Data typeused to define a varible or function return type that stores 80-bit floating points.
float128Data typeused to define a varible or function return type that stores 128-bit floating points.
forControl flowused to define a for-loop system to execute a line or block of code by defining the initial counter, a stay-in condition and an increment step.
importModule importerused to load and access an external module or libary into the current file.
int8Data typeused to define a variable or function return type that stores 8-bit integers.
int16Data typeused to define a variable or function return type that stores 16-bit integers.
int32Data typeused to define a variable or function return type that stores 32-bit integers.
int64Data typeused to define a variable or function return type that stores 64-bit integers.
int128Data typeused to define a variable or function return type that stores 128-bit integers.
initFunction modifiera constructor of struct, which is automatically invoked when an object of a defined struct is created.
interfaceModule interface declarerused to declare an interface of a module.
moduleModuel declarerused to declare a module, typically at the very first line of a module file.
nullLiteralrepresent the intentional absence of an object or a reference pointing to nothing, equivalent to void but in pointer context.
otherwiseControl flow
returnControl flowused to exit a function and optionally send a value back to where the function was called.
repeatControl flowa looping keyword, used to define a line or block of code that executes at least once before checking the given condition and continuing to the next cycle of the loop.
staticModifierused to define a varible or method that belongs to the struct itself rather than a specific object, and also used to preserve a variable's value between function calls.
structUser-defined typeused to define a struct, a custom data type that groups related variables and methods in a one location.
matchControl flowused to define a matching value mechanism that evaluates a given condition and directly executes the line of block code where the value matches.
stringData typeused to define a variable or function return type that stores a collection of characters.
syscallsystem call invokerused to invoke the system call
trueLiterala boolean literal, used to represent the true state of logic.
typeCustom type declarer
unionUser-defined typeused to define a custom data structure whoose members share the same memory location.
uint8Data typeunsinged version of int8.
uint16Data typeunsinged version of int16.
uint32Data typeunsinged version of int32.
uint64Data typeunsinged version of int64.
uint128Data typeunsinged version of int128.
voidType specifierused to indicate that a function does not return any value.
whileControl flowused to define a looping system that repeat a line of block of code as long as the given condition is true.
Copyright © 2026