-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Rui Ventura edited this page Apr 3, 2017
·
15 revisions
XPL is an imperative language and is intuitively presented in this manual. The language's basic characteristics are presented, such as data types, names manipulation, lexical conventions, structure/syntax, function specification, instruction semantics, expression semantics, and, finally, a few examples.
Show/Hide
- 1 Data Types
- 2 Names Manipulation
- 3 Lexical Convetions
- 3.1 Blank characters
- 3.2 Comments
- 3.3 Keywords
- 3.4 Types
- 3.5 Expression operators
- 3.6 Delimiters and terminators
- 3.7 Identifiers (names)
- 3.8 Literals
- 4 Syntax
- 4.1 Types, identifiers, literals, and expression definitions
- 4.2 Left-values
- 4.3 Files
- 4.4 Variable declarations
- 4.5 Global symbols
- 4.6 Initialization
- 5 Functions
- 6 Statements
- 6.1 Blocks
- 6.2 Conditional statement
- 6.3 Iteration statement: while
- 6.4 Iteration statement: sweep
- 6.5 Termination statement: stop
- 6.6 Continuation statement: next
- 6.7 Return statement: return
- 6.8 Expressions as statements and printing operations
- 7 Expressions
- 8 Examples