Tags: ianh/owl
Tags
Release notes:
* The new built-in `integer` token type matches 64-bit unsigned integer values.
* Owl now supports regexp-like `pattern{n, m}` syntax for explicitly-counted
repetitions. As an extension, you can use this syntax for delimited lists as
well: `pattern{delimiter}`. Thanks to Jeff Walker for proposing this syntax.
Release notes: * Custom whitespace is now supported. Use the '.whitespace' keyword to specify strings that will be parsed as whitespace. * The `OWL_WHITESPACE` constant can also be returned from a custom parsing function to indicate whitespace. * Escaping the characters b, f, n, r, or t within a string will now produce the corresponding control character. * The '-h'/'--help' option now works properly. * To prevent conflicts with keywords that begin with a hyphen character, identifiers can no longer end with a hyphen.
Release notes:
* Owl now supports custom tokens using the '.token' keyword. See the
documentation for more information.
* The 'line-comment-token' keyword is now '.line-comment-token' for
consistency with '.token'.
* A token type (like number, string, or identifier) is no longer matched
if it doesn't appear in the grammar. This means the grammar
a = '1' '.0'
will match the text "1.0" instead of matching a number and giving an
error.