-
Notifications
You must be signed in to change notification settings - Fork 0
Formal Language Grammar
The following page lists the formal grammar of the Verboscript language, as it has been defined
For a list of example syntax, including feature ideas and those that have not yet been implemented, see the following two pages here and here
.
- Decimal point, and sentence termination
,
- None yet
"
- Force string format (requires two either side of expression)
'
- As above
=
- assignemnt (not implemented yet)
(
- Combining operations with high precedence (requires two either side)
)
- Closing the above
\t
- Indentation (or four spaces)
!
- Logical not
==
- Equality
>
- Greater comparison
<
- Less than comparison
+
- Addition
-
- Subtraction and negation
*
- Multiplication
/
- Division
20.04
- Floats - numbers are represented with a characteristic and mantissa
True
- Booleans - Values are represented as Truthy or Falsey
None
- Null typing - A base value that corresponds to nothingness.
None
- add the Null type
False
- Use the boolean false
show
- Display output to screen
True
- Use the boolean true
Not
- invert the following boolean
Equals
- assignment
Equal to
- equality
Less than
- less comparitive
Greater than
- greater comparitive