Gestlang

Gestlang

Overview

Gestlang is a small notation language for gest. It's primary goal is to provide a terse means of writing gestures, while still maining a 1:1 correspondence with low-level Gest commands.

Gestlang is inspired by the adhoc notation system used in looptober_2021. Only, instead of being pieced together in Scheme, it is written in C, and accesses Gest more directly.

In LIL, a gesture for a sequence could look like this:

gest_begin 3 3
gest_target 0
gest_step
gest_target 2
gest_step
gest_target 4
gest_step
gest_end
gest_loopit
gest_finish

An equivalent gesture written in gestlang would look like this:

beg 3 3
t 0 stp
t 2 stp
t 4 stp
end loop fin

A little bit more readable, and a lot less to type.

Syntax Overview

TBD.

Browse code

TBD.


home | index