-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested
Description
Let's introduce a new command ebnf. It should print phi grammar in ENBF for LaTeX, using the naive-ebnf package, like this:
\begin{ebnf}
<Program> := "\(\Phi\)" "\(\mapsto\)" <Expression> \\
<Expression> := <Formation> | <Application> | <Dispatch> | "\(\dead\)" \\
<Formation> := "\(\llbracket\)" <Binding> "\(\rrbracket\)" \\
<Application> := <Expression> "\(\lparen\)" <A-Pair> "\(\rparen\)" \\
<A-Pair> := <\(\tau\)-Pair> | <\(\alpha\)-Pair> \\
<Dispatch> := <Subject> "." <Attribute> \\
<Subject> := <Expression> | <Locator> \\
<Locator> := "\(\Phi\)" | "\(\xi\)" \\
<Binding> := <Pair> <Bindings> | \(\epsilon\) \\
<Bindings> := "," <Pair> <Bindings> | \(\epsilon\) \\
<Pair> := <\(\varnothing\)-Pair> | <\(\tau\)-Pair> | <\(\Delta\)-Pair> | <\(\lambda\)-Pair> \\
<\(\varnothing\)-Pair> := <Attribute> "\(\mapsto\)" "\(\varnothing\)" \\
<\(\tau\)-Pair> := <Attribute> "\(\mapsto\)" <Subject> \\
<\(\alpha\)-Pair> := <Alpha> "\(\mapsto\)" <Subject> \\
<\(\Delta\)-Pair> := "\(\Delta\)" "\(\phiDotted\)" <Data> \\
<\(\lambda\)-Pair> := "\(\lambda\)" "\(\phiDotted\)" <Function> \\
\end{ebnf}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested