scrawl-go

module
v0.0.0-...-f5bec39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2020 License: MIT

README

scrawl-go

Interface Description Language.

Usage
definition, definitionErr := scrawl.ParseString("type Wheel\n  angle int\n")
Interface file

Each indentation step must be defined with exactly two space characters. The basic types is up to your implementation to define.

Example
type Transform
  position Position
  rotation Rotation
    
component Wheel
  angle int32
    
component Body
  transform Transform
    
entity Cycle
  body Body
  front Wheel
  back Wheel   

Directories

Path Synopsis
src

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL