Skip to content

Language reference — English (en)

This page collects the accepted forms specific to English.

Version: 1.0.2

Language-specific notes

  • English intentionally stays close to common programming terminology and accepts universal Python bridge spellings.
  • self and this are strict synonyms.

Keywords

Semantic role Accepted forms
return Return
display Display, Print
break Break
continue Continue
import Import, import
from From, from
as As, as
local Local, local
true true
false false
null None, Null
and And
or Or
not Not
do Do
xor XOR, Exclusive Or
in In, Included In
not_in Not In, Not Included In
input Input, Read
display_no_newline PrintNoNewline, DisplayNoNewline
clear_screen ClearScreen
mod MOD, Modulo

Types

Types Local names
integer integer, int, integers
float float, real, floats
string string, str, strings
boolean boolean, bool, booleans
array array, list, arrays
dictionary dictionary, dict, dictionaries
set set, sets
tuple tuple, tuples

Syntax structures

if:
- If {condition} Then
- If {condition}
elif:
- Else If {condition} Then
- ElseIf {condition} Then
- Else If {condition}
- ElseIf {condition}
else:
- Else
for_range:
- For {var} from {start} to {end} with a step of {step}
- For {var} from {start} to {end} step {step}
- For {var} from {start} to {end}
for_each:
- For {var} In {iterable}
- For {var} Included In {iterable}
while:
- While {condition}
function:
- Function {name}({params}) -> {return_type}
- Function {name}({params}) → {return_type}
- Function {name}({params})
class:
- Class {name}({bases})
- Class {name}
repeat_count:
- Repeat {count} times
repeat_until_start:
- Repeat
until:
- Until {condition}
variable_declaration_single:
- '{vars} is a {type}'
- '{vars} is an {type}'
- '{vars} is of type {type}'
variable_declaration_plural:
- '{vars} are {type}'
- '{vars} are of type {type}'
algorithm:
- Begin
- BeginAlgorithm
- Begin Algorithm
- Algorithm {name}
process:
- Process {name}({params}) -> {return_type}
- Process {name}({params}) → {return_type}
- Process {name}({params})
- Process {name}
subprocess:
- Subprocess {name}({params}) -> {return_type}
- Subprocess {name}({params}) → {return_type}
- Subprocess {name}({params})
- Subprocess {name}
select:
- Switch {expression}
- Select {expression}
case:
- Case {value}
default_case:
- Default
constructor:
- Constructor({params})

OOP vocabulary

constructor:
- Constructor
access:
  public:
  - public
  protected:
  - protected
  private:
  - private
modifiers:
  static:
  - static
  classmethod:
  - classmethod
  override:
  - override
super:
- super
- parent
.pseudo · .algo · language=en