text/vnd.ousia
*.osml
%
%{
}%
[a-zA-Z]([a-zA-Z0-9_-]*[a-zA-Z0-9])?
\%{identifier}(:\%{identifier})*
(?P<command_cmd>\\\%{identifierWithNS})(?P<command_name>#\%{identifier})?
(?P<begin>\\begin){(?P<begin_cmd>\%{identifierWithNS})(?P<begin_name>#\%{identifier})?}
(?P<end>\\end){(?P<end_cmd>\%{identifierWithNS})}
(?P<annotation_start_cmd><\\\%{identifierWithNS})(?P<annotation_start_name>#\%{identifier})?
(?P<annotation_start_begin_char><)(?P<annotation_start_begin>\\begin){(?P<annotation_start_begin_cmd>\%{identifierWithNS})(?P<annotation_start_begin_name>#\%{identifier})?}
(?P<annotation_end_cmd>\\\%{identifierWithNS})(?P<annotation_end_name>#\%{identifier})?(?P<annotation_end_char>>)
\\(import|include)
\\[^a-zA-Z]
\%{command}
\%{begin_command}
\%{end_command}
\[
\]
\[
\]
\%{identifier}\s*=
false
true
int
double
string
bool
{
}
\%{builtin}
{(!)
\%{annotation-start}
\%{annotation-start-begin}
\\>
\%{annotation-end}