-
Notifications
You must be signed in to change notification settings - Fork 0
Grammar
flofreud edited this page Apr 16, 2013
·
25 revisions
This article is a draft and work in progress. Feel free to comment and discuss on the issue tracker.
Several questions have to be addressed:
- What is the definition of "id“, "num", "basic", "real" und "string"?
- What is the semantic of "if (assign)" for "assign" -> "loc = assign"?
- The grammar is ambiguous for "if else" (Dangling Else). How to solve it (prioritoes)?
- What is the difference between "id" and "loc.id" for "loc"?
- What is the semantic for "break" outside of a loop?
(Author: Sven, Translator: Flo)
program -> decls stmts