tokay 0.6.13

Tokay is a programming language designed for ad-hoc parsing.
Documentation
# Grammar for REPL commands

_ : @{
    ' '
    '\t'
    '\n'
}

Set : @<Ident> emit=void {
    if !emit {
        emit = str(Ident)
    }

    Ident _ 'on'            ast(emit, true)
    Ident _ 'off'           ast(emit, false)
    Ident                   ast(emit, true)
}


'#' {
    Set<'debug'>
    'run' _ Name            ast("run")
}