Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CmdLex = &cli.Command{ Hidden: true, Name: "lex", Usage: "lex Wa source code and print token list", Action: func(c *cli.Context) error { if c.NArg() == 0 { fmt.Fprintf(os.Stderr, "no input file") os.Exit(1) } err := Lex(c.Args().First()) if err != nil { fmt.Println(err) os.Exit(1) } return nil }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.