1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
\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 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}
|