doc-src/IsarRef/syntax.tex
author berghofe
Mon, 19 Jul 1999 17:21:40 +0200
changeset 7047 d103b875ef1d
parent 7046 9f755ff43cff
child 7050 c70d3402fef5
permissions -rw-r--r--
Datatype package now handles arbitrarily branching datatypes.


\chapter{Isar document syntax}

\section{Inner versus outer syntax}

\section{Lexical matters}

\section{Common syntax entities}

\subsection{Atoms}

\begin{rail}
  name : ident | symident | string
  ;

  nameref : name | longident
  ;

  text : nameref | verbatim
  ;
\end{rail}

\subsection{Comments}

\begin{rail}
  comment : (() | '--' text)
  ;
  interest : (() | '\%')
  ;
\end{rail}


\subsection{Sorts and arities}

\begin{rail}
  sort : nameref | lbrace (nameref * ',') rbrace
  ;
  arity : ( () | '(' (sort + ',') ')' ) sort
  ;
  simple\-arity : ( () | '(' (sort + ',') ')' ) nameref
  ;
\end{rail}


\subsection{Terms and Types}

\begin{rail}
  
\end{rail}

\subsection{Mixfix annotations}


\subsection{}

\subsection{}

\subsection{}


%%% Local Variables: 
%%% mode: latex
%%% TeX-master: "isar-ref"
%%% End: