100 lines
2.5 KiB
Typst
100 lines
2.5 KiB
Typst
|
|
#
|
||
|
|
# Menu of Programming Lessons for GNU Typist
|
||
|
|
#
|
||
|
|
|
||
|
|
*:MENU
|
||
|
|
B:Programming Lessons
|
||
|
|
M: "Programming Lessons"
|
||
|
|
:LUA_MENU "Lua Language"
|
||
|
|
:GO_MENU "Go Language"
|
||
|
|
|
||
|
|
#
|
||
|
|
# Lua Lessons for GNU Typist
|
||
|
|
#
|
||
|
|
|
||
|
|
*:LUA_MENU
|
||
|
|
B:Lua Lessons
|
||
|
|
M: "Lua Lessons"
|
||
|
|
:LUA_RESERVED_WORDS "Lua Reserved Words"
|
||
|
|
|
||
|
|
#
|
||
|
|
# Lua Reserved Words
|
||
|
|
#
|
||
|
|
|
||
|
|
*:LUA_RESERVED_WORDS
|
||
|
|
B:Lua Reserved Words
|
||
|
|
T: Lua Reserved Words
|
||
|
|
:
|
||
|
|
:1: and break do else elseif end
|
||
|
|
:2: false for function goto if
|
||
|
|
:3: in local nil not or repeat
|
||
|
|
:4: return then true until while
|
||
|
|
:
|
||
|
|
: 22 words
|
||
|
|
I:Lua Reserved Words 1
|
||
|
|
D:and and and and break break break break do do do do
|
||
|
|
:else else else else elseif elseif elseif elseif end end end end
|
||
|
|
|
||
|
|
I:Lua Reserved Words 2
|
||
|
|
D:false false false false for for for for function function function function
|
||
|
|
:goto goto goto goto if if if if
|
||
|
|
|
||
|
|
I:Lua Reserved Words 3
|
||
|
|
D:in in in in local local local local nil nil nil nil
|
||
|
|
:not not not not or or or or repeat repeat repeat repeat
|
||
|
|
|
||
|
|
I:Lua Reserved Words 4
|
||
|
|
D:return return return return then then then then true true true true
|
||
|
|
:until until until until while while while while
|
||
|
|
|
||
|
|
Q:Repeat this lesson [Y/N] ?
|
||
|
|
N:LUA_MENU
|
||
|
|
G:LUA_RESERVED_WORDS
|
||
|
|
|
||
|
|
#
|
||
|
|
# Go Lessons for GNU Typist
|
||
|
|
#
|
||
|
|
|
||
|
|
*:GO_MENU
|
||
|
|
B:Go Lessons
|
||
|
|
M: "Go Lessons"
|
||
|
|
:GO_RESERVED_WORDS "Go Reserved Words"
|
||
|
|
|
||
|
|
#
|
||
|
|
# Go Reserved Words
|
||
|
|
#
|
||
|
|
|
||
|
|
*:GO_RESERVED_WORDS
|
||
|
|
B:Go Reserved Words
|
||
|
|
T: Go Reserved Words
|
||
|
|
:
|
||
|
|
:1: break default func interface select case
|
||
|
|
:2: defer go map struct chan else
|
||
|
|
:3: goto package switch const fallthrough if
|
||
|
|
:4: range type continue for import return var
|
||
|
|
:
|
||
|
|
: 25 words
|
||
|
|
I:Go Reserved Words 1
|
||
|
|
D:break break break break default default default default func func func func
|
||
|
|
:interface interface interface interface select select select select
|
||
|
|
:case case case case
|
||
|
|
|
||
|
|
I:Go Reserved Words 2
|
||
|
|
D:defer defer defer defer go go go go map map map map
|
||
|
|
:struct struct struct struct chan chan chan chan else else else else
|
||
|
|
|
||
|
|
I:Go Reserved Words 3
|
||
|
|
D:goto goto goto goto package package package package
|
||
|
|
:switch switch switch switch const const const const
|
||
|
|
:fallthrough fallthrough fallthrough fallthrough if if if if
|
||
|
|
|
||
|
|
I:Go Reserved Words 4
|
||
|
|
D:range range range range type type type type
|
||
|
|
:continue continue continue continue for for for for
|
||
|
|
:import import import import return return return return var var var var
|
||
|
|
|
||
|
|
Q:Repeat this lesson [Y/N] ?
|
||
|
|
N:GO_MENU
|
||
|
|
G:GO_RESERVED_WORDS
|
||
|
|
|