GDL Parser

This is a parser for GDL (game description language). GDL is a subset of KIF (knowledge interchange format). This parser focuses on GDL and not KIF for the purpose of GGP (general game playing). It converts a GDL string to an AST but does not do any semantic analysis on this AST. It makes use of the rust-peg parser generator.

You can find the specification for GDL here and the specification for KIF here.

Usage

``` extern crate gdlparser; use gdlparser::parse;

println!("{:?}", parse("(role red) (role black)")); ```