E.5 Camille 3.χ: Variable Assignment and Support for Arrays

The following is a context-free grammar in EBNF for versions 3.χ of the Camille programming language through Chapter 12:

Syntax

A list of context-free grammar in E B N F for versions 3 point x of Camille.
Description

Semantics

With the addition of references, now in Camille

Two expressions. Expressed value equals integer union closure. Denoted value equals reference to an expressed value.

Thus,

An expression: Denoted value, exclamation mark equals, left parenthesis, expressed value equals integer union closure, right parenthesis.

Also, the array creation, access, and modification primitives have the following semantics:

  • array: creates an array

  • arrayreference: dereferences an array

  • arrayassign: updates an array

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.142.249.42