View on GitHub

Gordian

Alberta Tech Alliance's Scripting Language

download .ZIPdownload .TGZ

GORDIAN

Lightweight portable scripting language interpreted and run inside of Java with minimal dependencies.

Purpose

Gordian is designed specifically for FRC programming. Fortunately, it is useful for all kinds of different functions.

Gordian is made to be an easy-to-learn scripting language meant for simple programs with normal control flow.

Gordian is well suited for:

Gordian is modelled with inspiration from Java, Python and Lua.

Platform

Gordian is designed to run on Java ME 1.4 on the squawk VM, using the WPILibJ libraries.

Project Goals

Gordian is a project that aims to help innovate quickly without tinkering embedded code. Its goals are simple:

Calling from Java

Use GordianScope object to run your script in Java.

Language specification

Gordian follows a semi-strict, dynamic syntax that allows the user many options for scripts. Its syntax is designed to avoid as many possible parsing bugs and unpredictable behaviour.

Full specification is available here.