\chapter{Basic Grammar Writing}
\label{Chapter:BasicGrammar}

\author{Manny Rayner}

\section{Loading a grammar}
\label{Section:LoadGrammar}

\section{A toy grammar}
\label{Section:ToyGrammar}

\section{Config files for grammars}
\label{Section:GrammarConfigs}

\section{Include statements}
\label{Section:GrammarIncludes}

\section{Grammar declarations}
\label{Section:GrammarDeclarations}

\section{Macros}
\label{Section:GrammarMacros}

\section{Macros for lexicon entries}
\label{Section:LexiconMacros}

\section{Macros for semantics}
\label{Section:SemanticsMacros}

\section{Debugging grammars from the command-line}
\label{Section:GrammarDebuggingCommandLine}

\subsection{Parsing non-top constituents}
\label{Section:NonTopConstituents}

\subsection{Commands for grammar debugging}
\label{Section:GrammarDebuggingCommands}

\section{Debugging grammars with the stepper}
\label{Section:GrammarDebuggingStepper}

\section{Converting grammars to other formats}
\label{Section:Gemini}

