aboutsummaryrefslogtreecommitdiff
path: root/doc/doc.tex
diff options
context:
space:
mode:
authorCamil Staps2016-08-26 16:49:39 +0200
committerCamil Staps2016-08-26 16:49:39 +0200
commitc2807cad6ee36339d1af3e103946d48a3f8cc3bf (patch)
tree771d7967e89a4f25aaf78e3ab8e60a8fb61f758a /doc/doc.tex
parentFix bug with names starting with a c (diff)
Add examples to doc
Diffstat (limited to 'doc/doc.tex')
-rw-r--r--doc/doc.tex32
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/doc.tex b/doc/doc.tex
index 576d966..db13f24 100644
--- a/doc/doc.tex
+++ b/doc/doc.tex
@@ -2,6 +2,11 @@
\author{Camil Staps}
\title{Fuspel}
+\date{\gitcommitdate[formatDate]}
+
+\usepackage[T1]{fontenc}
+\usepackage{lmodern}
+\usepackage[scaled]{beramono}
\usepackage{geometry}
\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
@@ -14,13 +19,40 @@
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 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
+
\input{grammar}
\end{document}