Skip to content
/ RPySOM Public
forked from SOM-st/RPySOM

RPySOM - The Simple Object Machine Smalltalk implemented in RPython

License

Notifications You must be signed in to change notification settings

cfbolz/RPySOM

 
 

Repository files navigation

RPySOM - The Simple Object Machine Smalltalk implemented in RPython

Introduction

SOM is a minimal Smalltalk dialect used to teach VM construction at the Hasso Plattner Institute. It was originally built at the University of Århus (Denmark) where it was used for teaching and as the foundation for Resilient Smalltalk.

In addition to PySOM, other implementations exist for Java (SOM, TruffleSOM), C (CSOM), C++ (SOM++), and Squeak/Pharo Smalltalk (AweSOM).

A simple Hello World looks like:

Hello = (
  run = (
    'Hello World!' println.
  )
)

This repository contains the RPython-based implementation of SOM, including SOM's standard library and a number of examples. Please see the main project page for links to other VM implementations.

RPySOM's tests can be executed with:

$ ./som.sh -cp Smalltalk TestSuite/TestHarness.som

A simple Hello World program is executed with:

$ ./som.sh -cp Smalltalk Examples/Hello/Hello.som

Information on previous authors are included in the AUTHORS file. This code is distributed under the MIT License. Please see the LICENSE file for details.

Build Status

Thanks to Travis CI, all commits of this repository are tested. The current build status is: Build Status

About

RPySOM - The Simple Object Machine Smalltalk implemented in RPython

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.9%
  • Shell 0.1%