Files
argon-v2/Argon.go
T
2022-06-27 23:29:59 +01:00

36 lines
470 B
Go

package main
import (
"log"
"os"
"regexp"
"strings"
)
type code struct {
code string
line int
}
func stringencode(str string) string {
output := strings.Trim(str, " ")
output = output[1 : len(output)-1]
return output
}
func makeRegex(str string) *regexp.Regexp {
Compile, err := regexp.Compile("^(" + str + ")$")
if err != nil {
log.Fatal(err)
}
return Compile
}
func main() {
if len(os.Args) == 1 {
shell()
} else {
importMod(os.Args[1])
}
}