Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ufo grok perl6-j (Rakudo on the JVM) #8

Open
masak opened this issue Oct 27, 2013 · 2 comments
Open

Make ufo grok perl6-j (Rakudo on the JVM) #8

masak opened this issue Oct 27, 2013 · 2 comments

Comments

@masak
Copy link
Owner

masak commented Oct 27, 2013

<moritz> TODO: teach ufo about perl6-j
<masak> mind if I file a github issue about that?
<moritz> masak: it's your project; the correct question is if *you* mind :-)
<masak> moritz: what needs to be done for the issue to be closed?
<moritz> masak: 'ufo && make test' should succeed even when the default 'perl6' is a perl6-j
@moritz
Copy link
Collaborator

moritz commented Oct 27, 2013

Possible approach:

  • always use perl6-p executable (I wouldn't recommend that)
  • Detect at ufo run time if stuff should be compiled to .pir or .jar
  • Generate a much more clever Makefile (no idea how it would look like)

@arnsholt
Copy link
Contributor

I guess the simplest way would be detecting whether we want PIR or JAR at runtime?

Detecting the backend is a simple matter of peeking in $*VM, so that's easy. Does the JVM module loader look for JAR files in the same way the Parrot one looks for PIR files though?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants