Wa-lang's manual
Preface
1.
Install And Get Start
1.1.
hello world
1.2.
Install Wa-lang Compiler
1.3.
wa command line
1.4.
Project directory structure
1.5.
Plug-ins for IDE
2.
Program structure
2.1.
Global declaration
2.2.
Global variable declaration
2.3.
Function declaration
2.4.
Constant declaration
2.5.
Import declaration
3.
Basic types
3.1.
Local variable declaration
3.2.
Integers
3.3.
Floating point number
3.4.
String
4.
Function
4.1.
Function call
4.2.
Function values
4.3.
Anonymous functions and closures
4.4.
if statements
4.5.
for statements
4.6.
switch statements
5.
Composite types
5.1.
Reference
5.2.
Array
5.3.
Slice
6.
Custom types
6.1.
Structure
6.2.
Method
6.3.
Method values
6.4.
Embedded structure
6.5.
Anonymous structure
7.
Interface
7.1.
Null interface - universal wrapper
7.2.
Non-null interface
7.3.
Summary of type assertions
7.4.
Other features of interface
Light (default)
Coal
Navy
Ayu
Wa-lang's Manual
Wa-lang's Manual
Github:
https://github.com/wa-lang/wa
Online manual:
https://wa-lang.github.io/man/en/
Online manual(Chinese):
https://wa-lang.org/man/