Symbols

Operators

Fol allows user defined operators. An operator is any combination of the following characters:

=     +     -     *     /     >     .
@     $     ~     &     %     <     :
!     ?     ^     #     `     \     _

The grammar uses the terminal OP to refer to operator symbols as defined here.

Brackets

Bracket punctuation is used in various parts of the grammar. An open bracket must always be paired with a close bracket. Here are type of brackets used in FOL:

brackettypepurpose
{ }Curly bracketsCode blocks, Namespaces, Containers
[ ]Square bracketsType options, Container acces, Multithreading
( )Round bracketsCalculations, Comparisons, Argument passing
< >Angle brackets

The grammar uses the terminal BR to refer to operator symbols as defined here.