The one and only C♯ Class Generator.
Find a file
2016-08-10 09:35:39 +01:00
cscz Bugfix: Double '{' with --private option 2016-08-10 09:35:39 +01:00
examples Update carrot example to v0.4 standard 2016-08-10 09:34:07 +01:00
.gitignore Embed last git commit hash in binary. 2016-08-07 15:03:54 +01:00
Changelog.md Update changelog for v0.4 2016-08-10 09:34:20 +01:00
cscz.sln Utilise embedded git commit. 2016-08-08 09:30:18 +01:00
CSCZ.Standard.md Layout at the top of the standards document 2016-08-04 11:58:12 +01:00
LICENSE initial commit 2016-05-07 20:01:38 +01:00
README.md Add standards document to sln + begin implementing standards 2016-08-04 11:52:37 +01:00

cscz

The one and only C♯ Class Generator.

To use:

  • Build the project (F8 in Monodevelop, CTRL + SHIFT + B in Visual Studio)
  • Pipe your compressed class definition file into it.

Example definitions:

# Shop
- c
decimal balance
float lat
float long
List<TimeSpan> openingHours

# Model3D
- OpenTK
- OpenTK.Graphics

ModelUtility model
ShaderUtility shaderProgram

Matrix4 transformation
Vector3 position

Syntax

The examples above should be enough to get you started, but if you want a formal standard document for the syntax, I've written one in CSCZ.Standard.md.

Using Statement Shortcuts

The C♯ Class Generator supports shortcuts in the using statement declarations (- System). Here's a table of all the shortcuts added so far:

Shortcut Expansion
c System.Collections.Generic
cc System.Collections.Concurrent
r System.Text.RegularExpressions
n System.Net
s System.Net.Sockets
x Microsoft.Xna.Framework
xg Microsoft.Xna.Framework.Graphics
xs Microsoft.Xna.Framework.Storage
xi Microsoft.Xna.Framework.Input
oo OpenTK.Graphics.OpenGL

See the Changelog for a summary of what's changed between releases.

Type ./cscz.exe --help for usage information or see Help.md.