package
0.0.0-20220930082050-67fbc49d198a
Repository: https://github.com/akyoto/q.git
Documentation: pkg.go.dev

# README

token

This package takes an input file and turns the code into tokens that are easier to work with.

Example

The following code...

main() {
	print("Hello World")
}

...would produce the following tokens:

  • Identifier main
  • GroupStart (
  • GroupEnd )
  • BlockStart {
  • Newline
  • Identifier print
  • GroupStart (
  • Text Hello World
  • GroupEnd )
  • Newline
  • BlockEnd }
  • Newline