You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JsSOM - The SOM (Simple Object Machine) Smalltalk implemented in JavaScript
Introduction
SOM is a minimal Smalltalk dialect used to teach VM construction. It
was originally built at the University of Århus (Denmark) where it was used for
teaching and as the foundation for Resilient Smalltalk. Later is was also
used for instance at the Hasso Plattner Institute (Potsdam, Germany).
In addition to JsSOM, other implementations exist for Java (SOM,
TruffleSOM), C (CSOM), C++ (SOM++), Python (PySOM), RPython (RPySOM,
RTruffleSOM) and Squeak/Pharo Smalltalk (AweSOM).
A simple Hello World looks like:
Hello= (
run = (
'Hello World!' println.
)
)
This repository contains a JavaScript-based implementation of SOM, including
SOM's standard library and a number of examples. JsSOM is a simple abstract
syntax tree interpreter. It isn't optimized or tuned for performance. However,
some aspects were easier to implement by doing node-replacement in a
self-optimizing interpreter style.
To clone the repository, please use the --recursive option to load all
submodules: