You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following error when I follow the README for talos (with one change, README says to run it via cabal run talos -- -n 4 tests/T003.ddl but that fails so I used cabal run exe:talos -- -n 4 tests/T003.ddl. Note that daedalus tool does work and have used it to generate C++ parser.
> cabal run exe:talos -- -n 4 tests/T003.ddl
talos: You have encountered a bug in Daedalus's implementation.
*** Please create an issue at https://github.com/GaloisInc/daedalus/issues
%< ---------------------------------------------------
Revision: 7dd6d30d94109159b0c8a1d91cf7193186ab522c
Branch: master
Location: ddlGetFName
Message: Unknown name
module: T003
fun: Main
CallStack (from HasCallStack):
panic, called at src/Daedalus/Panic.hs:17:9 in daedalus-utils-0.1.0.0-inplace:Daedalus.Panic
panic, called at src/Daedalus/Driver.hs:521:15 in daedalus-0.1.0.0-inplace:Daedalus.Driver
%< ---------------------------------------------------
The text was updated successfully, but these errors were encountered:
Thanks for reporting this! This is a pretty terrible error message we should certainly fix it. talos is complaining that it can't find a definition for Main, which by default is what it assumed to be the root of the grammar. There's a flag called --entry that can be used to specify the entry point explicitly, for example, like this:
cabal run exe:talos -- -n 4 tests/T003.ddl --entry=List
I get the following error when I follow the README for talos (with one change, README says to run it via
cabal run talos -- -n 4 tests/T003.ddl
but that fails so I usedcabal run exe:talos -- -n 4 tests/T003.ddl
. Note that daedalus tool does work and have used it to generate C++ parser.The text was updated successfully, but these errors were encountered: