func NewScanner(r io.Reader) *Scanner {
	return &Scanner{r: bufio.NewReader(r), pos: TokenPos{Char: 0, Lines: []int{}}}
}
NewScanner returns a new instance of Scanner.
package parser
import (
	"bufio"
	"bytes"
	"io"
	"strconv"
)
type Scanner struct {
	r   *bufio.Reader
	pos TokenPos
}