Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: toy/fl/abstract/java/xsd/extracted
Source used for this grammar: Ralf Lämmel, et al. generated from fl.xsd, Program.java
, Function.java
, 21 May – 28 July 2008 [GitHub] [JAXB]
Apply
, Argument
, Binary
, Expr
, Function
, IfThenElse
, Literal
, ObjectFactory
, Ops
, package-info
, Program
), 0 root (—), 3 top (ObjectFactory
, package-info
, Program
), 0 bottom (—).[Name]
3, [Arg]
2, [Ops]
, [Left]
, [Right]
, [Rhs]
, [IfExpr]
, [ThenExpr]
, [ElseExpr]
, [Info]
, [EQUAL]
, [PLUS]
, [MINUS]
, [Function]
.Apply ::=
[Name]::string [Arg]::Expr
Argument ::= [Name]::string
Binary ::= [Ops]::Ops [Left]::Expr [Right]::Expr
Expr ::= Apply Argument Binary IfThenElse Literal
Function ::=
[Name]::string [Arg]::string
[Rhs]::ExprIfThenElse ::= [IfExpr]::Expr [ThenExpr]::Expr [ElseExpr]::Expr
Literal ::= [Info]::integer
ObjectFactory ::= ε
Ops ::= [EQUAL]::ε [PLUS]::ε [MINUS]::ε
package-info ::= φ
Program ::=
[Function]::Function