With the new school year starting, I thought to myself that I should take
\begin{grammar}
::= ['$+$' | '$-$']
\{('$+$' | '$-$' ) \} ::=
\{('$*$' | '$/$') \} ::= "number" | "identifier" | '(' ')'
\end{grammar}
produces:
::= [’+’j’’]{(’+’j’’ )}
htermi::=hfactorif(’’j’=’)hfactorighfactori::=numberjidentifierj’(’hexpressioni’)’