Skip to content

A Squeak/Smalltalk VM and Polyglot Programming Environment for the GraalVM.

License

Notifications You must be signed in to change notification settings

hpi-swa/trufflesqueak

Repository files navigation

TruffleSqueak

Latest Release Slack Twitter Build Status Codacy Coverage License

A Squeak/Smalltalk VM and Polyglot Programming Environment for the GraalVM.

Getting Started

  1. Download and extract the latest TruffleSqueak standalone for your platform.

  2. Run the following in a terminal to start TruffleSqueak:

    bin/trufflesqueak [<option>...] [<imageName> [<argument>...]]
  3. (Optional) Install additional languages (only available in a JVM standalone):

    # Evaluate the following from within TruffleSqueak
    Polyglot installLanguage
    
    # or run the following on the command line
    bin/trufflesqueak-polyglot-get js # or ruby, python, java, llvm, wasm

Demos

TruffleSqueak: Polyglot Notebooks (Demo)
TruffleSqueak: Polyglot Notebooks
TruffleSqueak: Workspace, Inspector, and Explorer (Demo)
TruffleSqueak: Workspace, Inspector, and Explorer
TruffleSqueak: Live Plots with ggplot2 (Demo)
TruffleSqueak: Live Plots with ggplot2
TruffleSqueak: Polyglot User Interfaces (Demo)
TruffleSqueak: Polyglot User Interfaces
TruffleSqueak: Polyglot Code Editor (Demo)
TruffleSqueak: Polyglot Code Editor
TruffleSqueak: Polyglot Code Finder (Demo)
TruffleSqueak: Polyglot Code Finder
TruffleSqueak vs. OpenSmalltalkVM: Bouncing Atoms
TruffleSqueak vs. OpenSmalltalkVM: Bouncing Atoms
TruffleSqueak: CallTargetBrowser (Demo)
TruffleSqueak: CallTargetBrowser
TruffleSqueak: Polyglot Workspace (Demo)
TruffleSqueak: Polyglot Workspace

Talks

Some Smalltalk with Fabio Niephaus and Thomas Würthinger (~1h10min, GraalVM Stream on Twitch, 2021)
Some Smalltalk with Fabio Niephaus and Thomas Würthinger
(~1h10min, GraalVM Stream on Twitch, 2021)
Exploiting Dynamic Run-time Data with TruffleSqueak (~30min, Virtual Machine Meetup, 2021)
Exploiting Dynamic Run-time Data with TruffleSqueak
(~30min, Virtual Machine Meetup, 2021)
Polyglot Programming with TruffleSqueak and GraalVM (~21min, HPI Symposium at SAP, 2021)
Polyglot Programming with TruffleSqueak and GraalVM
(~21min, HPI Symposium at SAP, 2021)
Polyglot Notebooks with Squeak/Smalltalk on the GraalVM (~28min, ESUG 2019)
Polyglot Notebooks with Squeak/Smalltalk on the GraalVM
(~28min, ESUG 2019)

Community Support

If you have a question, need some help, or want to discuss a new feature, feel free to open an issue or join the #trufflesqueak channel on the GraalVM Slack.

Documentation

Documentation is available in docs/.

Development

Active development is done in the main branch. Please feel free to open a pull request if you'd like to contribute a bug-fix, documentation, or a new feature. For more information, for example on how to build TruffleSqueak from source or set up a development environment, please refer to the development.md.

Contributing

Please report any issues here on GitHub and open pull requests if you'd like to contribute code or documentation.

Publications

To cite this work, please use the GraalSqueak paper presented at MPLR'19.

2020

  • Fabio Niephaus, Patrick Rein, Jakob Edding, Jonas Hering, Bastian König, Kolya Opahle, Nico Scordialo, and Robert Hirschfeld. Example-based Live Programming for Everyone: Building Language-agnostic Tools for Live Programming With LSP and GraalVM. In Proceedings of the ACM Symposium for New Ideas, New Paradigms, and Reflections on Everything to do with Programming and Software (Onward!) 2020, co-located with the Conference on Object-oriented Programming, Systems, Languages, and Applications (OOPSLA), pages 108-124, Chicago, United States, November 17-18, 2020, ACM DL.
    doi Preprint
  • Jan Ehmueller, Alexander Riese, Hendrik Tjabben, Fabio Niephaus, and Robert Hirschfeld. Polyglot Code Finder. In Proceedings of the Programming Experience 2020 (PX/20) Workshop, companion volume to International Conference on the Art, Science, and Engineering of Programming (‹Programming›), co-located with the International Conference on the Art, Science, and Engineering of Programming (‹Programming›), 6 pages, Genova, Italy, April 1, 2019, ACM DL.
    doi Preprint
  • Alexander Riese, Fabio Niephaus, Tim Felgentreff, and Robert Hirschfeld. User-defined Interface Mappings for the GraalVM. In Proceedings of the Interconnecting Code Workshop (ICW) 2020, companion volume to the International Conference on the Art, Science, and Engineering of Programming (‹Programming›), co-located with the International Conference on the Art, Science, and Engineering of Programming (‹Programming›), pages 19-22, Porto, Portugal, March 23, 2020, ACM DL.
    doi Preprint

2019

  • Fabio Niephaus. Smalltalk with the GraalVM. In the JVM Programming Advent Calendar, December 7, 2019.
  • Fabio Niephaus, Tim Felgentreff, and Robert Hirschfeld. GraalSqueak: Toward a Smalltalk-based Tooling Platform for Polyglot Programming. In Proceedings of the International Conference on Managed Programming Languages and Runtimes (MPLR) 2019, co-located with the Conference on Object-oriented Programming, Systems, Languages, and Applications (OOPSLA), 12 pages, Athens, Greece, October 21, 2019, ACM DL.
    doi Preprint
  • Daniel Stolpe, Tim Felgentreff, Christian Humer, Fabio Niephaus, and Robert Hirschfeld. Language-independent Development Environment Support for Dynamic Runtimes. In Proceedings of the Dynamic Languages Symposium (DLS) 2019, co-located with the Conference on Object-oriented Programming, Systems, Languages, and Applications (OOPSLA), 11 pages, Athens, Greece, October 20, 2019, ACM DL.
    doi Preprint
  • Fabio Niephaus. HPI Polyglot Programming Seminar. In the GraalVM Blog, October 11, 2019.
  • Fabio Niephaus, Tim Felgentreff, Tobias Pape, and Robert Hirschfeld. Efficient Implementation of Smalltalk Activation Records in Language Implementation Frameworks. In Proceedings of the Workshop on Modern Language Runtimes, Ecosystems, and VMs (MoreVMs) 2019, companion volume to International Conference on the Art, Science, and Engineering of Programming (‹Programming›), co-located with the International Conference on the Art, Science, and Engineering of Programming (‹Programming›), 3 pages, Genova, Italy, April 1, 2019, ACM DL.
    doi Preprint
  • Tobias Pape, Tim Felgentreff, Fabio Niephaus, and Robert Hirschfeld. Let them fail: towards VM built-in behavior that falls back to the program. In Proceedings of the Salon des Refusés (SDR) 2019 Workshop, companion volume to International Conference on the Art, Science, and Engineering of Programming (‹Programming›), co-located with the International Conference on the Art, Science, and Engineering of Programming (‹Programming›), 7 pages, Genova, Italy, April 1, 2019, ACM DL.
    doi Preprint
  • Fabio Niephaus, Eva Krebs, Christian Flach, Jens Lincke, and Robert Hirschfeld. PolyJuS: A Squeak/Smalltalk-based Polyglot Notebook System for the GraalVM. In Proceedings of the Programming Experience 2019 (PX/19) Workshop, companion volume to International Conference on the Art, Science, and Engineering of Programming (‹Programming›), co-located with the International Conference on the Art, Science, and Engineering of Programming (‹Programming›), 6 pages, Genova, Italy, April 1, 2019, ACM DL.
    doi Preprint

2018

License

TruffleSqueak is released under the MIT license.