Skip to content
flofreud edited this page Apr 16, 2013 · 25 revisions

Document Status: Draft / Work in Progress

This article is a draft and work in progress. Feel free to comment and discuss on the issue tracker.

Remarks

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)

Grammar rules

program -> decls stmts
Clone this wiki locally