Start here

Amber is Smalltalk for the web. You write classes and methods in Smalltalk. Amber compiles them to JavaScript, and the code runs in the browser or in Node.js. Amber is written in Amber, its compiler included.

You develop in Helios, a Smalltalk IDE that runs in the browser beside your application. When you save a method in Helios, the running page has it at once. When you commit the package, Helios writes the source to disk, as a .st file with its compiled .js beside it.

Amber uses JavaScript libraries as they are. A JavaScript object understands Smalltalk messages, and JavaScript code can call a Smalltalk object.

What you need

The short way in

npm install -g grunt-cli grunt-init @ambers/cli
mkdir helloamber
cd helloamber
amber init
amber serve

Open http://localhost:4000/. The page shows a sample application, and a dialog offers you the two IDEs. Install Amber and make your first project takes you through these steps one by one.

Try Amber without installing

The front page of amber-lang.net has a button that opens the classic IDE in your browser. Prof Stef teaches Smalltalk syntax there in a few minutes, in a workspace on the page.

What this site covers

Where to ask

This site

These pages describe Amber 0.32.0. The site lives in the amber-documentation repository on lolg.it, under the MIT License. Its README says how to build the site, and its writing-style.md says how a page is worded. A fix or a new page is welcome as a pull request.