Home

Awesome

Crimson is an "object notation" language, similar in respect to JSON. It intends to build an object notation for a typed language. Heavily inspired by Ron 'Rust object notation'.

Maintenance/usage: This isn't a finished project, or a project under active sustained development. It's something I work on from time to time between other projects...

Expect it to change incompatibly from it's current state.

Types go first and are enclosed in <>

Types: <Array(<String({Len=3})>, {Len=2})>{"wor", "hel"}

Crimson allows user declared types, in a type header, subsequent values can then refer to these by name:

struct Foo {
  foo: String
}
#[repr(u8)]
enum Bar {
  A = 0,
  B,
  C,
}