Files
tsvm/assets/tbas/doc/langref.tex
2020-12-16 16:47:40 +09:00

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}