#lang scribble/manual @title{BSL Grammar} This is the full BSL grammar. For a gentler introduction to the language, please see the programs in the @tt{examples} folder. NOTE: braces are not part of the grammar -- they are used to indicate groupings of tokens. @verbatim|{ ::= * ::= | ::= | | | ::= | | struct: (?) ::= def : ::= fun (?): | fun (?): * ::= {, }* ::= | ::= | ::= | | and | or | not ::= + ::= ::= < | <= | = | != | >= | > | in | not in ::= | + | - | + | - | * | / | % | ** | [] | ::= | : | :: ::= .. | ... | .... | ..... | ...... ::= empty | True | False | | | | | | () | (?) ::= [ ] | [{, }*] ::= ::= | + ::= | :done ::= if : ? ::= elif : ? ::= else: ? ::= test: is: ::= big_bang(*) ::= = {, }* }| @include-section{grammar/literals.scrbl}