prototype repl

This commit is contained in:
Aidan 2020-06-21 01:30:54 -07:00
parent 30481d4f78
commit c40aea7326
No known key found for this signature in database
GPG key ID: 327711E983899316
7 changed files with 233 additions and 35 deletions

View file

@ -20,10 +20,10 @@ package main
import (
"strings"
"os"
"git.callpipe.com/aidan/shs/io"
"git.callpipe.com/aidan/shs/log"
"git.callpipe.com/aidan/shs/ast"
)
func main() {
io.PrintSExpression(ast.Lex(strings.Join(os.Args[1:], " ")))
log.PrintSExprsIndividually(ast.Lex(strings.Join(os.Args[1:], " ")))
}