-
Notifications
You must be signed in to change notification settings - Fork 2
expr_stmt
bergsma edited this page Jul 31, 2014
·
2 revisions
A HyperScript program is a sequence of statements, or expressions separated by semicolons. Expressions consist of numbers, names, and operators.
HyperScript statements are parsed using a recursive descent algorithm; as soon as both operands of a (sub)expression are known, the expression is evaluated.
For details on operators, expressions, and statements, see:
- Operators: Operators and operator precedence.
- Expressions: Types of expressions and their evaluation.
- Statements: Decision, iteration, handler, and other statement types.
- Parsing: How statements are parsed and executed.