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

Both the latest JVM and standalone versions only include the Smalltalk language. #176

Closed
lkyhfx opened this issue Jan 13, 2024 · 2 comments
Assignees

Comments

@lkyhfx
Copy link

lkyhfx commented Jan 13, 2024

image

How can I add another language to TruffleSqueak?

Also, I'm really excited about Smalltalk on GraalVM, as it makes a huge number of libraries written in other languages like Java and Python available to Smalltalk. So, how do I use third-party libraries from other languages in TruffleSqueak?

@fniephaus
Copy link
Member

fniephaus commented Feb 16, 2024

Hey @lkyhfx, thanks for raising this ticket. GraalVM has changed quite a bit in the last couple of months. For example, the GraalVM Updater was removed and all language implementations now ship as normal Maven dependencies.

We haven't had the time to integrate this into TruffleSqueak. So the easiest way to set up a polyglot environment currently is to use an older version of TruffleSqueak, for example version 22.3.0.

The next release of TruffleSqueak will also ship TruffleSqueak Maven artifacts, so it will be possible to use Smalltalk in a Maven project, like the polyglot-embedding-demo. Ultimately, it would be cool if we could find a way to integrate the languages from Maven, so that it is possible to "install" them into a TruffleSqueak JVM standalone.

Hope this helps!

-- Fabio

@fniephaus fniephaus self-assigned this Feb 16, 2024
fniephaus added a commit that referenced this issue Feb 16, 2024
fniephaus added a commit that referenced this issue Feb 16, 2024
fniephaus added a commit that referenced this issue Feb 16, 2024
@fniephaus
Copy link
Member

I've added support for Polyglot installLanguage and bin/trufflesqueak-polyglot-get to install additional languages. Will ship with the next TruffleSqueak release :)

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

2 participants