Sha256: 73a4e604dc457fd0ab45addb81664a683ddbddbd9f97125dcc5c877bb0a6c133
Contents?: true
Size: 644 Bytes
Versions: 1
Compression:
Stored size: 644 Bytes
Contents
# # Context free grammar of tokens (terminal # nodes) for the Emerald language. # grammar Tokens rule base_keyword 'images' / 'metas' / 'scripts' / 'styles' end rule special_keyword 'images' / 'scripts' / 'styles' end rule tag [a-z] [a-z1-9]* end rule attr [a-z\-_]+ end rule event 'onabort' / 'onclick' / 'onhover' / 'onbeforeprint' / 'onbeforeunload' end rule equals '=' end rule comma ',' end rule lparen '(' end rule rparen ')' end rule lbrace "{" end rule rbrace "}" end rule space ' ' end rule newline [\n] <Node> end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
emerald-lang-1.0.0 | lib/emerald/grammar/tokens.tt |