Skip to content

Formal Language Grammar

Jack Lloyd-Walters edited this page Aug 18, 2021 · 4 revisions

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

Formal Grammar

Symbols

General

. - Decimal point, and sentence termination

, - None yet

" - Force string format (requires two either side of expression)

' - As above

( - Combining operations with high precedence (requires two either side)

) - Closing the above

\t - Indentation (or four spaces)

Mathematical

+ - Addition

- - Subtraction and negation

* - Multiplication

/ - Division

Datatypes

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.

Keywords

show - Display output to screen

Clone this wiki locally