package main

import (
	"fmt"
	"os"
	"io/ioutil"
	"goplan/pddl"
)

const dump = false

func main() {
	s, err := ioutil.ReadAll(os.Stdin)
	if err != nil {
		panic("Error reading standard input")
	}

	p := pddl.Parse(pddl.Lex("stdin", string(s)))
	d := p.ParseDomain()
//	d := p.ParseProblem()
	if (dump) {
		fmt.Printf("%+v\n", d)
	}
}

package main

import (
	"fmt"
	"os"
	"io/ioutil"
	"pddl"
)

const dump = false

func main() {
	s, err := ioutil.ReadAll(os.Stdin)
	if err != nil {
		panic("Error reading standard input")
	}

	p := pddl.Parse(pddl.Lex("stdin", string(s)))
	d := p.ParseDomain()
//	d := p.ParseProblem()
	if (dump) {
		fmt.Printf("%+v\n", d)
	}
}

--- 
+++ 
@@ -4,7 +4,7 @@
 	"fmt"
 	"os"
 	"io/ioutil"
-	"pddl"
+	"goplan/pddl"
 )
 
 const dump = false
Use the proper import path for goplan/pddl.
