Cminor Tutorial
Table of Contents
1
Introduction
1.1
Cminor System Library
1.2
Supported Platforms
1.3
License
1.4
Motivation
2
Creating a Minimal Cminor Program
2.1
Building a Cminor Project
2.2
Running a Cminor Program
3
Hello World in Cminor
3.1
Building the Project
3.2
Running the Hello World Program
3.3
Inspecting the Contents of an Assembly
4
Printing Program Arguments
4.1
Running the Program
4.2
Possible Signatures of the Main Function
5
Source File Character Encoding
5.1
Hello World in Chinese
5.2
Unicode in Identifiers
6
Creating Libraries and Solutions
6.1
Library Files
6.2
Program Files
6.3
Solution File
6.4
Building the Solution
6.5
Running the Program
7
Larger Example – Creating a Desk Calculator
7.1
Error Handling
7.2
Nonmember Functions
7.3
Inheritance
7.4
Properties
7.5
Boxing and Unboxing
7.6
Unicode
7.7
Generic Collections
7.8
Implementing a Parser
8
Binary File I/O
8.1
BinaryReader
8.2
Using Statement
9
Threading
9.1
The Program
9.2
Output
10
JSON-RPC over TCP
10.1
System.Net.Sockects Library
10.2
System.Json Library
10.3
Server Program
10.4
Client Program
10.5
Example Communication