Language guide
A tour of the language, chapter by chapter: structs, interfaces and generics, error handling, memory, threads. Start reading
using System;
int Main(){ var names = List<string>.Create(); names.Add("Ann"); names.Add("Bob"); foreach (var name in names) Console.WriteLine($"Hello, {name}!"); return 0;}Language guide
A tour of the language, chapter by chapter: structs, interfaces and generics, error handling, memory, threads. Start reading
Language reference
The precise rules: lexical structure, types and conversions, declarations, expressions, statements, memory, the grammar. Read the reference
Library reference
Every type and function of the standard library and the built-in types, with search. Browse the reference
C interop
using Sqlite3 from "sqlite3.h"; imports a C header directly.
C interop
User interfaces
System.Ui: windows with buttons, text boxes, sliders and lists in a few lines, on Windows, Linux, in the browser
and on AmigaOS.
System.Ui
In the browser
cshiftc publish turns a program into one HTML page with WebAssembly: console programs, windows and games.
WebAssembly
The cshiftc command
build, run, publish, serve and every option.
The command line
The Amiga
--target m68k-amigaos: programs for AmigaOS and the custom chips, with CShift’s own 68000 backend.
The m68k backend
Source code
The compiler (written in CShift), the standard library and these documents, under the MIT license. github.com/Robert-Schneckenhaus/CShift