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

Align Enso launcher with Truffle's AbstractLanguageLauncher #10335

Closed

Conversation

JaroslavTulach
Copy link
Member

Pull Request Description

Closes #5298 by extending AbstractLanguageLauncher and thus inheriting all its functionality common for other Truffle language implementations.

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • All code follows the
    Scala,
    Java,
  • Unit tests have been written where possible.

@JaroslavTulach JaroslavTulach requested a review from radeusgd June 21, 2024 12:43
@JaroslavTulach JaroslavTulach self-assigned this Jun 21, 2024
@JaroslavTulach JaroslavTulach marked this pull request as draft June 21, 2024 12:43
@@ -2517,6 +2517,7 @@ lazy val `engine-runner` = project
commands += WithDebugCommand.withDebug,
inConfig(Compile)(truffleRunOptionsSettings),
libraryDependencies ++= Seq(
"org.graalvm.sdk" % "launcher-common" % graalMavenPackagesVersion,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using launcher-common is not easy. It is not a nicely designed API. Rather an abstraction of common functionality found among various Truffle language launchers. Some things aren't even possible/easy - for example get list of unprocessed arguments.

@JaroslavTulach
Copy link
Member Author

Rather than using launcher-common, let's continue with

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

Successfully merging this pull request may close these issues.

Integrate our launcher with Truffle launcher
1 participant