refactored to correctly use module structure

This commit is contained in:
Aidan 2020-06-17 00:28:16 -07:00
parent 640dbb183e
commit cf3255f015
No known key found for this signature in database
GPG key ID: 327711E983899316
9 changed files with 60 additions and 83 deletions

View file

@ -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:], " ")))
}