src/scanner.js
function scan(text) {
    let sr = SReader.create(text);
    let tokens = [];
    while (!sr.isDone()) {
        tokens.push(readNext(sr));
    }
    return tokens;
}
function scan(text) {
    let sr = SReader.create(text);
    let tokens = [];
    while (!sr.isDone()) {
        tokens.push(readNext(sr));
    }
    return tokens;
}
function scan ( text ) { let sr = SReader . create ( text ) ; let tokens = [ ] ; while ( ! sr . isDone ( ) ) { tokens . push ( readNext ( sr ) ) ; } return tokens ; }
string => array
string = > array