The language is composed of types, literals and statements. Types are a definition of what a literal can be.
- Number
- String
- Function body with prototype
- Reference to variable
- Initialized template
- Comment
<name> [( [Text] )];
<name> [( [Text] )] <FunctionBody>
<Expression> [( [<Expression>,...] )];
<name> [<ExpressionOperator>]= <Expression>;
[(] <name> [)]
[(] <Expression> <ExpressionOperator> <Expression> [)]
.
+
-
*
/
~
<<
>>
^
%
^^
<return type> [name] ([<Type> <name>,...]) [Template] <FunctionBody>
and Function Bodies:
{
<Type> <name> [ = <Literal>];
<Type>
<name> [ = <literal>],
<name> [ = <literal>];
<Function body>
<Statement>
}
<!> [( TemplateArg,... )] [ if (<Expression>,...) ]
and TemplateArg:
<Type>
<TypeSpecialization2>
<Type> = <Type> [ : <Type> ]
is( <TypeSpecialization2> )
and TypeSpecialization2 is:
<Type> : <Type>