1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2024-06-17 01:29:31 +00:00

What is an expression?

This section seems to be trying to describe a BNF.
This commit is contained in:
David Schmidt 2017-12-15 01:08:08 -05:00 committed by GitHub
parent bcde8aeebb
commit 00cf842afb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -945,7 +945,7 @@ Function definitions in PLASMA are what really separate PLASMA from a low level
### Expressions and Statements
PLASMA definitions are a list of statements the carry out the algorithm. Statements are generally assignment or control flow in nature. Generally there is one statement per line. The ';' symbol separates multiple statements on a single line. It is considered bad form to have multiple statements per line unless they are very short. Expressions are comprised of operators and operations. Operator precedence follows address, arithmetic, binary, and logical from highest to lowest. Parentheses can be used to force operations to happen in a specific order.
PLASMA programs are a list of statements the carry out the algorithm. Statements are generally assignment or control flow in nature. Generally there is one statement per line. The ';' symbol separates multiple statements on a single line. It is considered bad form to have multiple statements per line unless they are very short. Expressions are comprised of operators and operations. Operator precedence follows address, arithmetic, binary, and logical from highest to lowest. Parentheses can be used to force operations to happen in a specific order.
#### Address Operators