smallballoon
TypeScript icon, indicating that this package has built-in type declarations

1.0.19 • Public • Published

SmallBalloon

A Smalltalk interpreter for JavaScript/TypeScript. A quick example:

i := 0.
[i lessOrEqual:5] whileTrue:[
	Transcript show:i.
	i := i plus:1.
].

100% interoperable with JS:

(JS get:"console") log:"Hello JavaScript!".
new STLoader().runSTCode('Transcript show:"Hello Smalltalk!"');

Dependencies

  • TypeScript 2.8.1 (development)
  • ES5 (target)
  • Node.js (only used to open files)

Setup using npm

npm install -g typescript

npm install

Compile sources

tsc (Optionally enable the -w flag to automatically compile changes.)

The JS sources will appear in the build folder

Run main sources

npm run main -- path/to/your/smalltalk/app.st

Run test sources

npm run test

Readme

Keywords

Package Sidebar

Install

npm i smallballoon

Weekly Downloads

1

Version

1.0.19

License

ISC

Unpacked Size

193 kB

Total Files

123

Last publish

Collaborators

  • fwcd