dollabs / pamela

Probabalistic Advanced Modeling and Execution Learning Architecture
Apache License 2.0
233 stars 13 forks source link

Grammar analyze and pamela disagree #2

Closed pmdoll closed 8 years ago

pmdoll commented 8 years ago

analyze reports success for a pamela file but pamela fails to generate json.

analyze sequence.infeasible.pamela 
Analyzing PAMELA file: /Users/prakash/projects/github/pamela/src/test/pamela/sequence.infeasible.pamela
Checking grammar for: sequence.infeasible.pamela
  Success! parse tree in:  /Users/prakash/projects/github/pamela/src/test/pamela/sequence.infeasible.txt
  parse diagram in:  /Users/prakash/projects/github/pamela/src/test/pamela/sequence.infeasible.png

pamela -f json -i sequence.infeasible.pamela -o sequence.infeasible.json tpn
Compiling ClojureScript...
16-05-27 21:28:49 prakash-retina DEBUG [io.netty.util.internal.logging.InternalLoggerFactory:71] - Using SLF4J as the default logging framework
16-05-27 21:28:49 prakash-retina DEBUG [io.netty.util.internal.PlatformDependent0:76] - java.nio.Buffer.address: available
16-05-27 21:28:49 prakash-retina DEBUG [io.netty.util.internal.PlatformDependent0:76] - sun.misc.Unsafe.theUnsafe: available
16-05-27 21:28:49 prakash-retina DEBUG [io.netty.util.internal.PlatformDependent0:71] - sun.misc.Unsafe.copyMemory: available
16-05-27 21:28:49 prakash-retina DEBUG [io.netty.util.internal.PlatformDependent:76] - sun.misc.Unsafe: available
16-05-27 21:28:49 prakash-retina DEBUG [io.netty.util.internal.PlatformDependent:71] - Javassist: available
ERROR caught exception: clojure.lang.ArityException: Wrong number of args (0) passed to: pclass/defpmethod, compiling:(null:1:1)
tmarble commented 8 years ago

This was fixed in 725d20 (the commit message accidently said #3)