-
Notifications
You must be signed in to change notification settings - Fork 9
Home
Julia Ogris edited this page Aug 14, 2023
·
11 revisions
The table of contents below is not yet fully fleshed out, see the sidebar on the right for ready to go Learn and Practise sections.
- Sequential Instruction Execution
print
;rect
,circle
,line
,move
,color
- Types and Variables
num
,string
,bool
, Declaration (typed, inferred).read
- Flow control
while
,if
,for
- Operators
-
num
arithmetic:+
,-
,*
,/
,%
-
string
concatenation, indexing, slicing -
bool
:and
or
!
- comparison
==
<=
>=
<
>
!=
(num & string) -
(
…)
- operator precedence
-
- Factoring code
func
, parameters, arguments, return type and value - Structuring data
arrays, maps; indexing, slicing, ranging - Miscellaneous:
- event handlers
on
-
\"
,\n
,\t
;printf
,sprintf
,%%
; - standard library: math, rand, string, advanced drawing
- errors
err
(eg failed str2num) -
any
, reflection, type assertions - variadic functions
- event handlers
- Algorithms & data structures
Trees, linked lists, recursion, search, sort, ... - Modules / importing
Overview | About | Playground | Gallery