n(lexer.STRING, lexer.range('"')))
    lex:add_rule('comment', token(lexer.COMMENT, lexer.to_eol('#')))
    lex:add_rule('number', token(lexer.NUMBER, lexer.number))
    lex:add_rule('operator', token(lexer.OPERATOR, S('+-*/%^=&lt;&gt;,.()[]{}')))

    lex:add_fold_point(lexer.OPERATOR, '{', '}')

    return lex
    </code></pre>

    <p><a id="lexer.Considerations"></a></p>

    <h3>Considerations</h3>

    <p><a id="lexer.Performance"></a></p>

    <h4>Performance</h4>

    <p>There might be some slight o