Skip to content

Compiler directives

Paolo Angeli edited this page Oct 12, 2019 · 22 revisions
Directive Meaning
#compiler ...
#complete ...
#expand ...
#foreign Declare something coming from an external C decl compatible library
#IF Entry point for conditional build
#import Import a Library file
#insert ...
#intrinsic Use the intrinsic version of the procedure based on CPU specific instruction.
#load Load another Jai file
#must ...
#poke_name ...
#run Run a procedure at compile time
#scope_file The following declarations are restricted to the current file
#through Used in switch-like statements

Navigate

Types, constants and variables

  • Variables and assignments
  • Language data types
  • Simple user-defined data types
  • Expressions and operators
  • Type-casting
  • Pointers

Flow control

Procedures and functions

  • Declarations
  • Arguments / Parameters
  • Return values
  • Overloading / Polymorhism
  • Advanced features
  • Lambdas

Aggregated data types

  • Arrays
  • Strings
  • Composition of Structs

Advanced features

Clone this wiki locally