Skip to content

Commit

Permalink
Add var names in repl
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Sep 6, 2023
1 parent 46309b3 commit 6001a17
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions repl/repl.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ var keywords = []string{
}

func main() {
env := fuzz.NewEnv()
for name := range env {
keywords = append(keywords, name)
}
home, err := os.UserHomeDir()
if err != nil {
panic(err)
Expand All @@ -38,8 +42,6 @@ func main() {
}
defer rl.Close()

env := fuzz.NewEnv()

var memUsage uint64
var program *vm.Program

Expand Down

0 comments on commit 6001a17

Please sign in to comment.