Skip to content
This repository has been archived by the owner on Nov 15, 2019. It is now read-only.

Commit

Permalink
Use NewInteractiveMachine for golog toplevel
Browse files Browse the repository at this point in the history
This gives the toplevel access to help and apropos predicates.

See #23
  • Loading branch information
mndrix committed Mar 30, 2017
1 parent 072cacb commit 613325e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/golog.go
Expand Up @@ -81,7 +81,7 @@ func warnf(format string, args ...interface{}) {

// initMachine creates a new Golog machine based on command line arguments
func initMachine() golog.Machine {
m := golog.NewMachine()
m := golog.NewInteractiveMachine()

// are we supposed to load some code into the machine?
if len(os.Args) > 1 {
Expand Down

0 comments on commit 613325e

Please sign in to comment.