tphyahoo has asked for the wisdom of the Perl Monks concerning the following question:
and am asking again now because pugs is now available with cabal install and I am wondering if this changes anything.
I don't even see the option for "make ghci" target anymore (as educated_foo suggested).
Specifically, I would like to be able to do
ghci Main.hs (in pugs distro) or perhaps ghci Pugs.hs and just poke around and see how pugs works.
Currently, this fails with
thartman@ubuntu:~/haskellInstalls/Pugs-6.2.13.14/src>ghci Main.hs
when I attempt to run the ghci command in the unzipped Pugs-6 distro directory copied from where cabal installed it.Pugs/Prim/Match.hs:12:7: Could not find module `Paths_Pugs': Use -v to see a list of the files searched for. Failed, modules loaded: none. Prelude> :q
UPDATE: Checked out the svn head from http://www.perlfoundation.org/perl6/index.cgi?download_pugs
and this has a lot more files than the contents of the cabal tar, including an INSTALL file in the top dir that says there should be a make ghci target for hacking in ghci.
However,
thartman@ubuntu:~/haskellInstalls/pugs>make ghci make: *** No rule to make target `ghci'. Stop.
Also, crossposted this question to perl6-compiler mailing list. (google "Is there a reasonable way to access perl 6 regexen and grammars in haskell, via the pugs modules? (where's the make ghci target?)")
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: how to hack on pugs in ghci? how to use perl6 regexen and grammars in haskell?
by grinder (Bishop) on Mar 15, 2009 at 20:36 UTC | |
by tphyahoo (Vicar) on Mar 16, 2009 at 03:00 UTC | |
Re: how to hack on pugs in ghci?
by tphyahoo (Vicar) on Mar 15, 2009 at 19:12 UTC | |
by tphyahoo (Vicar) on Mar 15, 2009 at 19:21 UTC | |
by Yary (Pilgrim) on Mar 16, 2009 at 17:36 UTC |