refactored to correctly use module structure
This commit is contained in:
parent
640dbb183e
commit
cf3255f015
9 changed files with 60 additions and 83 deletions
|
|
@ -20,9 +20,10 @@ package main
|
|||
import (
|
||||
"strings"
|
||||
"os"
|
||||
"git.callpipe.com/aidan/shs"
|
||||
"git.callpipe.com/aidan/shs/io"
|
||||
"git.callpipe.com/aidan/shs/ast"
|
||||
)
|
||||
|
||||
func main() {
|
||||
shs.PrintSExpression(shs.Lex(strings.Join(os.Args[1:], " ")))
|
||||
io.PrintSExpression(ast.Lex(strings.Join(os.Args[1:], " ")))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue