[ Home | Main Table Of Contents | Table Of Contents | Keyword Index ]

marpatcl_slif(n) 0.2 doc "Marpa/Tcl, a binding to libmarpa"


marpatcl_slif - Marpa/Tcl - The SLIF grammar specification language

Table Of Contents


Welcome to Marpa/Tcl, a Tcl binding to the "libmarpa" parsing engine.

Please read the document Marpa/Tcl - Introduction to Marpa/Tcl, if you have not done so already. It provides an overview of the whole system.


This document is targeted at users of Marpa/Tcl with the goal of creating parser packages. An important part of that is writing a grammar specification with SLIF.


The name SLIF stands for Scanner-Less InterFace. Both name and the majority of its specification are taken from Marpa::R2, the Perl binding to libmarpa this work is inspired by.

Please use the upstream documentation while we are writing our own.

The main differences to the upstream language currently known are

  1. The removal of the bless adverb.

  2. The details of the character class syntax have been aligned with Tcl.

    For example negative named posix classes have been removed. The same effect can be achieved by using a regular negation outside of the posix class reference.

Bugs, Ideas, Feedback

This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such at the Marpa/Tcl Tracker. Please report any ideas for enhancements you may have for either package and/or documentation as well.


aycock, character classes, context free grammar, document processing, earley, horspool, joop leo, lexing, libmarpa, nigel horspool, parsing, regex, table parsing