From 185fc5fea4a18f3c9ed89d7193cc929ef7555382 Mon Sep 17 00:00:00 2001 From: ben Date: Sun, 13 Mar 2016 14:22:33 -0400 Subject: [PATCH] [icfp] syntax classes figure --- icfp-2016/Makefile | 2 +- icfp-2016/fig-stxclass.tex | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 icfp-2016/fig-stxclass.tex diff --git a/icfp-2016/Makefile b/icfp-2016/Makefile index d9dfca4..af6a0f2 100644 --- a/icfp-2016/Makefile +++ b/icfp-2016/Makefile @@ -6,7 +6,7 @@ compiled/paper_scrbl.zo: *.rkt *.scrbl raco make -v $(PAPER).scrbl paper.pdf: pkg compiled/paper_scrbl.zo texstyle.tex - scribble ++extra fig-stats.tex ++extra fig-staging.tex ++style texstyle.tex --pdf $(PAPER).scrbl + scribble ++extra fig-stxclass.tex ++extra fig-stats.tex ++extra fig-staging.tex ++style texstyle.tex --pdf $(PAPER).scrbl paper.tex: pkg compiled/paper_scrbl.zo texstyle.tex scribble ++style texstyle.tex --latex $(PAPER).scrbl diff --git a/icfp-2016/fig-stxclass.tex b/icfp-2016/fig-stxclass.tex new file mode 100644 index 0000000..90d330c --- /dev/null +++ b/icfp-2016/fig-stxclass.tex @@ -0,0 +1,12 @@ +\begin{center} +\begin{tabular}{l l l} + \emph{Syntax Class} & \emph{Purpose} \\\hline + \mod{fun/arity} & Infer function arity \\ + \mod{num/value} & Evaluate a numeric expression \\ + \mod{pattern/groups} & Count regexp groups \\ + \mod{query/constr} & Parse \mod{SQL} queries \\ + \mod{schema/spec} & Lift a schema value from syntax \\ + \mod{string/format} & Parse format directives \\ + \mod{vector/length} & Infer length from a vector spec. \\ +\end{tabular} +\end{center}