|go ahead... be a heretic|
how to hack on pugs in ghci? how to use perl6 regexen and grammars in haskell?by tphyahoo (Vicar)
|on Mar 15, 2009 at 18:48 UTC||Need Help??|
tphyahoo has asked for the
wisdom of the Perl Monks concerning the following question:
I asked this question long ago at can you use perl6 from haskell?
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
when I attempt to run the ghci command in the unzipped Pugs-6 distro directory copied from where cabal installed it.
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.
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?)")