Browsable FL Grammar

CC-BY

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]

Summary

Syntax

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]::Expr
IfThenElse ::=
	[IfExpr]::Expr [ThenExpr]::Expr [ElseExpr]::Expr
Literal ::=
	[Info]::integer
ObjectFactory ::=
	ε
Ops ::=
	[EQUAL]::ε
	[PLUS]::ε
	[MINUS]::ε
package-info ::=
	φ
Program ::=
	[Function]::Function*

GrammarLabMaintained by Dr. Vadim Zaytsev a.k.a. @grammarware. Last updated in September 2015. []