Overview | Package | Class | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package ch.uzh.ifi.attempto.acewiki.core.grammar

This package contains the grammar that is used by AceWiki.

See:
Description

Class Summary
StandardGrammar | This grammar class is automatically generated by the SWI Prolog program "generate_java.pl".

## Package ch.uzh.ifi.attempto.acewiki.core.grammar Description

This package contains the grammar that is used by AceWiki. The actual grammar is stored in the Prolog file "grammar.pl". On the basis of this file, the `Grammar`-class `StandardGrammar` and the Prolog DCG grammar "dcg.pl" are automatically generated.

The script "reduce_dcg" is used to reduce the DCG grammar in a way that it keeps all its complexity but loses some syntactic sugar. The reduced grammar is stored in "dcg_r.pl". This reduced grammar is only used for regression testing. The script "generate_sentences" uses this grammar and generates all sentences up to a certain length. Those sentences are stored in "sentences.txt" which enables to track changes.

Author:
  Tobias Kuhn

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Copyright 2008, Attempto Group, University of Zurich (see http://attempto.ifi.uzh.ch)