mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-07 19:51:51 +09:00
21 lines
590 B
TeX
21 lines
590 B
TeX
This chapter descibes the \tbas{} language.
|
|
|
|
\section{Metasyntax}
|
|
|
|
In the descriptions of BASIC syntax, this conventions apply.
|
|
\\
|
|
|
|
\begin{itemize}
|
|
\item \codebf{"VERBATIM"} --- Type exactly as shown
|
|
\item \code{IDENTIFIER} --- Replace \emph{identifier} with appropriate metavariable
|
|
\item \code{[a]} --- Words within square brackets are optional
|
|
\item \code{\{a|b\}} --- Choose either \code{a} or \code{b}
|
|
\item \code{[a|b]} --- Optional version of above
|
|
\item \code{a...} --- The preceding entity can be repeated
|
|
\end{itemize}
|
|
|
|
|
|
\section{Syntax In EBNF}
|
|
|
|
\small\verbatiminput{syntax.txt}
|