use Go scanner and tokenizer