Skip to content

Purescala BNF (WIP)

Etienne Kneuss edited this page Mar 25, 2014 · 1 revision
program object id { definition * }
classdef
definition classdef
fundef
classdef abstract class id [ { fundef * } ]?
case class id ( args ) [ extends id ]?
case object id [ extends id ]?
fundef def id ( decls ) : type = {
[ require( expr ) ]?
expr
} [ ensuring( id => * expr ) ]?
Clone this wiki locally