|Semantics, opt in Semantics firstname.lastname@example.org (Seima Rao) (2015-01-15)|
|Re: Semantics, opt in Semantics email@example.com (2015-01-16)|
|Re: Semantics, opt in Semantics firstname.lastname@example.org (Kaz Kylheku) (2015-01-16)|
|Re: Semantics, opt in Semantics email@example.com (Hans Aberg) (2015-01-16)|
|Re: Semantics, opt in Semantics firstname.lastname@example.org (2015-01-16)|
|Re: Semantics, opt in Semantics email@example.com (glen herrmannsfeldt) (2015-01-17)|
|Re: Semantics, opt in Semantics firstname.lastname@example.org (Stefan Monnier) (2015-01-18)|
|From:||email@example.com (William Clodius)|
|Date:||Fri, 16 Jan 2015 12:22:21 -0700|
|Posted-Date:||17 Jan 2015 02:13:20 EST|
Seima Rao <firstname.lastname@example.org> wrote:
> The Backus Naur Form is a great mathematical model. It explains syntax
> quite succintly.
> In that form, the opt qualifier which stands for optional or
> epsilon is utilized extensively for optional syntax.
> Is there something similar for semantics i.e. is there something optional
> in semantics.
> Also, what is the equivalent in semantics of BNF ?
> Seima Rao.
> [Man, there's a can of worms. There's no semantic formalism that matches real
> semantics as well as BNF matches real syntax. -John]
This seems to combine three separate questions:
1. What notations are available for semantic descriptions?
2. What semantic concepts are considered optional?
3. How are those optional concepts expressed in the semantic notations?
As to the first question the complexity of semanticsx has resulted in a
large variety of notations: the van Wijngaarden two level grammar, the
Vienna Definition Language/Vienna Development Method, Denotational
semantics, attribute grammars,etc.
As to the second some obvious optional semantics include parallelism,
and side effects including exceptions and some forms of I/O.
I believe the latter reports on Algol68 included parallelism defined in
the van Wijngaarden two level grammar.
Return to the
Search the comp.compilers archives again.