-
Notifications
You must be signed in to change notification settings - Fork 9
Home
Julia Ogris edited this page May 13, 2023
·
11 revisions
- Sequential Instruction Execution
print
;rect
,circle
,line
,move
,color
Explanation | Skill: Print | Skill: Drawing - Variables and types
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