Browsable Rascal Boolean Grammar

CC-BY

Grammar connected by Vadim Zaytsev, see the Grammar Zoo entry for details: api/rascal/boolean/connected
Source used for this grammar: Jurgen J. Vinju, Paul Klint, Boolean, 2009–2013 [Explore]

Summary

Syntax

bool ::=
	[arbBool]::ε
	[fromString]::⟨s⟩:str
	boolean
int ::=
	[toInt]::⟨b⟩:bool
	integer
real ::=
	[toReal]::⟨b⟩:bool
	integer "." integer
str ::=
	[toString]::⟨b⟩:bool
	string

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