adobe / htl-spec

HTML Template Language Specification
Apache License 2.0
281 stars 147 forks source link

Not all supported operators are included in the grammar #58

Closed lachlanmcdonald closed 6 years ago

lachlanmcdonald commented 6 years ago

The grammar omits the operands listed under the "Comparison Operators" heading.

operator = '&&'
         | '||' ;

Could perhaps become:

operator = '&&'
         | '||'
         | '<='
         | '<'
         | '>'
         | '=='
         | '!=' ;
raducotescu commented 6 years ago

Added the comparison operators in b96976a. See #53 for && and ||. See #56 for in.