forked from doublec/factor-articles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfactor-articles.tex
120 lines (84 loc) · 2.8 KB
/
factor-articles.tex
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
% :indentSize=4:tabSize=4:noTabs=true:mode=tex:wrap=soft:
\documentclass{book}
\usepackage[plainpages=false,colorlinks]{hyperref}
\usepackage[style=list,toc]{}
\usepackage{alltt}
\usepackage{times}
\usepackage{tabularx}
\usepackage{epsfig}
\usepackage{amssymb}
\usepackage{epstopdf}
%\usepackage{fancyref}
\pagestyle{headings}
\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{3}
\setlength\parskip{\medskipamount}
\setlength\parindent{0pt}
\newcommand{\bs}{\char'134}
\newcommand{\dq}{\char'42}
\newcommand{\tto}{\symbol{123}}
\newcommand{\ttc}{\symbol{125}}
\newcommand{\pound}{\char'43}
\newcommand{\hhat}{\symbol{94}}
\newcommand{\ttindex}[1]{\texttt{#1}\index{\texttt{#1}}}
\newcommand{\vocabulary}[1]{\emph{Vocabulary:} \texttt{#1}&\\}
\newcommand{\parsingword}[2]{\index{\texttt{#1}}\emph{Parsing word:} \texttt{#2}&\\}
\newcommand{\ordinaryword}[2]{\index{\texttt{#1}}\emph{Word:} \texttt{#2}&\\}
\newcommand{\symbolword}[1]{\index{\texttt{#1}}\emph{Symbol:} \texttt{#1}&\\}
\newcommand{\classword}[1]{\index{\texttt{#1}}\emph{Class:} \texttt{#1}&\\}
\newcommand{\genericword}[2]{\index{\texttt{#1}}\emph{Generic word:} \texttt{#2}&\\}
\newcommand{\predword}[1]{\ordinaryword{#1}{#1~( object -- ?~)}}
\setlength{\tabcolsep}{1mm}
\newcommand{\wordtable}[1]{
%HEVEA\renewcommand{\index}[1]{}
%HEVEA\renewcommand{\glossary}[1]{}
\begin{tabularx}{12cm}{lX}
\hline
#1
\hline
\end{tabularx}
}
\makeatletter
\makeatother
\makeglossary
\makeindex
\begin{document}
\title{Factor Articles - Work in Progress}
\author{Chris Double}
\maketitle
\tableofcontents{}
\chapter*{Foreword}
This set of articles is based on postings to my weblog which can be found at \verb|http://www.bluishcoder.co.nz|.
The articles in the first part have been updated to run on the current version of Factor (built from the git repository). The remaining articles still have to be updated. The Factor homepage can be found at \verb|http://www.factorcode.org|.
The \LaTeX source code for these articles can be browsed at:
\begin{verbatim}
http://www.double.co.nz/cgi-bin/gitweb.cgi?p=factor-articles.git
\end{verbatim}
The source code be retrieved with:
\begin{verbatim}
git clone git://double.co.nz/git/factor-articles.git
\end{verbatim}
The template for the \LaTeX version of these articles is based on the original Factor handbook written by Slava Pestov.
\part{Works in latest Factor}
\include{cells}
\include{searchreplace}
\include{channels}
\include{distributed_channels}
\include{patternmatching}
\part{Need to be updated}
\include{pegsebnf}
\include{parsingjavascript}
\include{partialcontinuations}
\include{distributedconcurrency}
\include{lazy}
\include{parsers}
\include{compilers}
\include{webapps}
\include{contresponder}
\include{pegs}
\include{fjsc}
\include{git}
\include{ogg}
\include{serialization}
\input{factor-articles.ind}
\end{document}