>> make tag! "foo" == <foo>
Tag! values represent markup language tags and elements.
Tag! is a member of the following typesets:
Tag! values can be created using literal syntax, or at runtime by using a
make constructor or
>> to tag! 'bar == <bar>
3. Literal syntax
One or more characters enclosed by a open angle bracket
< and closing angle bracket
The first character after the opening angle bracket cannot be
Literal whitespace is not allowed between the opening angle bracket and the first character, as the lexer will interpret it as an invalid comparison operator.
>> < foo> *** Script Error: < operator is missing an argument *** Where: catch *** Stack:
All comparators can be applied on
=, ==, <>, >, <, >=, <=, =?. In addition,
max are also supported.
5. Testing values
tag? to check if a value is of the
>> tag? <foo> == true
type? to return the datatype of a given value.
>> type? <foo> == tag!
6. Pre-defined words