shithub: mc

ref: 8bc429fb93070938b8bc5d459da4f2664c00abae
dir: /mparse/main.myr/

View raw version
use std

use "tok.use"

const main = {
	var ts

	ts = parse.tokinitf(0)
	while true
		match parse.toknext(ts)
		| `parse.Teof:	break
		| tok:	std.put("{}\n", tok)
		;;
	;;
}