Skip to Content
Programming Languages: Concepts and Implementation
book

Programming Languages: Concepts and Implementation

by Saverio Perugini
December 2021
Beginner
840 pages
47h 29m
English
Jones & Bartlett Learning
Content preview from Programming Languages: Concepts and Implementation

E.2 Camille 0.1: Numbers and Primitives

Comments

Camille has only a single-line comment, which consists of three consecutive dashes (i.e., ---) followed by any number of characters up to the next newline character.

Identifiers

Identifiers in Camille are described by the following regular expression: [_a-zA-Z][_a-zA-Z0-9*?!]*. However, an identifier cannot be a reserved word in the language (e.g., let).

Syntax

The following is a context-free grammar in EBNF for version 1.0 of the Camille programming language through Chapter 10:

A list of context-free grammar in E B N F for version 1.0 of Camille.
Description

Semantics

Currently,

Thus,

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Concepts and Semantics of Programming Languages 1

Concepts and Semantics of Programming Languages 1

Therese Hardin, Mathieu Jaume, Francois Pessaux, Veronique Viguie Donzeau-Gouge
Programming C# 10

Programming C# 10

Ian Griffiths

Publisher Resources

ISBN: 9781284222739