Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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

thartman@ubuntu:~/haskellInstalls/Pugs-6.2.13.14/src>ghci Main.hs

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
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.

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?)")


In reply to how to hack on pugs in ghci? how to use perl6 regexen and grammars in haskell? by tphyahoo

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-25 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found