Browsable Rascal Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: §wip/metasyntax/rascal-adt-simple/extracted
Source used for this grammar: Vadim Zaytsev, a simple model of Rascal ADT used in earlier versions of grammar extractor, extract::RascalADT2BGF, 14 June 2012 – 18 April 2013

Summary

Syntax

DataExpr ::=
	Name "[" {DataExpr ","}+ "]" Name?
DataExpr ::=
	Name Name?
DataExpr ::=
	Name "(" {DataExpr ","}* ")"
DataDef ::=
	Name "=" {DataExpr "|"}+ ";"

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