From 7d9b5a0c84a931542c088cfe6bc4325be22ecb71 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Thu, 25 Aug 2016 11:16:49 +0200 Subject: Initial commit --- doc/.gitignore | 7 +++++++ doc/doc.tex | 26 ++++++++++++++++++++++++++ doc/grammar.tex | 40 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 73 insertions(+) create mode 100644 doc/.gitignore create mode 100644 doc/doc.tex create mode 100644 doc/grammar.tex (limited to 'doc') diff --git a/doc/.gitignore b/doc/.gitignore new file mode 100644 index 0000000..3c0381d --- /dev/null +++ b/doc/.gitignore @@ -0,0 +1,7 @@ +*.aux +*.fdb_latexmk +*.fls +*.log +*.out +*.pdf +*.toc diff --git a/doc/doc.tex b/doc/doc.tex new file mode 100644 index 0000000..576d966 --- /dev/null +++ b/doc/doc.tex @@ -0,0 +1,26 @@ +\documentclass[a4paper]{article} + +\author{Camil Staps} +\title{Fuspel} + +\usepackage{geometry} +\usepackage[usenames,dvipsnames,svgnames,table]{xcolor} +\definecolor{linkcolor}{rgb}{0.65,0,0} +\definecolor{citecolor}{rgb}{0,0.65,0} +\definecolor{urlcolor}{rgb}{0,0,0.65} +\usepackage[ + colorlinks=true, + linkcolor=linkcolor, + urlcolor=urlcolor, + citecolor=citecolor]{hyperref} + +\usepackage{syntax} + +\begin{document} + +\maketitle +\tableofcontents + +\input{grammar} + +\end{document} diff --git a/doc/grammar.tex b/doc/grammar.tex new file mode 100644 index 0000000..7a67a30 --- /dev/null +++ b/doc/grammar.tex @@ -0,0 +1,40 @@ +\section{Grammar} +\label{sec:grammar} + +\setlength{\grammarparsep}{4pt} +\setlength{\grammarindent}{10em} +\begin{grammar} + ::= + + ::= `;' | + + ::= `=' + + ::= ` ' | + + ::= + + ::= + \alt + \alt + \alt + + ::= `[' `:' `]' + \alt `[]' + + ::= `(' `,' `)' + + ::= + + ::= + \alt + \alt + \alt + \alt + \alt `(' `)' + + ::= `[' `:' `]' + \alt `[]' + + ::= `(' `,' `)' +\end{grammar} -- cgit v1.2.3