\documentclass[a4paper]{article}

\author{Camil Staps}
\title{Fuspel}
\date{\gitcommitdate[formatDate]}

\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[scaled]{beramono}

\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{latexgit}

\usepackage{tikz}

\usepackage{syntax}
\usepackage{fuspel}

\lstset{
	basicstyle=\small\ttfamily,
	keywordstyle=\bfseries,
	language=fuspel
}

\begin{document}

\maketitle

\begin{abstract}
	This document describes Fuspel,
	a minimal, untyped, lazy functional programming language
	based on term graph rewriting.
	It can run with even a few kB of RAM.
	This document describes the language's syntax and semantics.
	It accompanies version \gitcommithash{} of the C interpreter at
	\url{https://github.com/camilstaps/fuspel}, committed at
	\gitcommitdate[formatDate,formatTime].
\end{abstract}

\tableofcontents

\input{examples}

\appendix

\clearpage
\input{grammar}
\clearpage
\input{code}

\end{document}