Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /trunk/doc/report/syntax.tex
ViewVC logotype

View of /trunk/doc/report/syntax.tex

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1116 - (download) (as text) (annotate)
Thu May 5 04:49:02 2011 UTC (8 years, 1 month ago) by jhr
File size: 1563 byte(s)
  more merging of pure-cfg changes back into trunk
%!TEX root = report.tex
\chapter{Diderot Syntax}

We write \kw{symbol} for keywords and punctuation symbols, \term{Terminal} for
terminal symbols, and \nt{Nonterminal} for nonterminal symbols.
We use the following conventions:
    \RHS[For an optional \nt{A}.]{\OPT{\nt{A}}}
    \RHS[For zero or more \nt{A}s.]{\LIST{\nt{A}}}
    \RHS[For one or more \nt{A}s.]{\LISTONE{\nt{A}}}
    \RHS[For an optional \nt{A} \nt{B} pair.]{\OPTGRP{\nt{A} \nt{B}}}
    \RHS[For zero or more \nt{A} \nt{B} pairs.]{\LISTGRP{\nt{A} \nt{B}}}
    \RHS[For one or more \nt{A} \nt{B} pairs.]{\LISTONEGRP{\nt{A} \nt{B}}}

\section{Lexical issues}

\section{Reserved symbols and keywords}

\section{Collected syntax}

ViewVC Help
Powered by ViewVC 1.0.0