[WIP] use go-lex to lex the config, and a hand made cursor