Amber is an implementation of the Smalltalk language that runs on top of the JavaScript runtime. https://amber-lang.net/

Manfred Kröhnert 9ec0e6f07a Update API-CHANGES.txt há 11 anos atrás
bin 17bd9758dc amberc: add support for JS globals há 11 anos atrás
cli ee491bce1d amber-cli: recompile há 11 anos atrás
css 92fbe52b4c helios: new icons for tabs há 11 anos atrás
grunt 85cddce253 grunt-amberc.js: add support for JS globals há 11 anos atrás
images 92fbe52b4c helios: new icons for tabs há 11 anos atrás
js a1c33c2b77 Smalltalk: methods for adding/removing global JS variables há 11 anos atrás
st a1c33c2b77 Smalltalk: methods for adding/removing global JS variables há 11 anos atrás
test d2bb4b5df6 `_st(self)` replaced with `self` in Test.js há 11 anos atrás
.gitignore 3c40b3a75e .gitignore: adding grunt-produced test runner há 11 anos atrás
.travis.yml 529df069ce Travis tests both on node 0.8 and 0.10. há 11 anos atrás
API-CHANGES.txt 9ec0e6f07a Update API-CHANGES.txt há 11 anos atrás
CHANGELOG aea58c4cb9 Changelog update for release há 11 anos atrás
Gruntfile.js bc119f34dc grunt-amberc: simplify verbose flag handling há 11 anos atrás
LICENSE e9d2f1e009 Update years in LICENSE há 11 anos atrás
README.md 5603b92458 Clarify installation of Grunt.js há 11 anos atrás
favicon.ico 8b43eb58f1 Add a favicon há 11 anos atrás
helios.html eba9504671 Load Helios-Workspace-Tests when loading Helios há 11 anos atrás
index.html f389032c5c Cleanup for the release: há 11 anos atrás
package.json 0fff71b918 grunt: use grunt 0.4 and latest jshint plugin há 11 anos atrás

README.md

Amber Travis CI Status

By Nicolas Petton petton.nicolas@gmail.com and Amber contributors

Amber is an implementation of the Smalltalk language that runs on top of the JavaScript runtime. It is designed to make client-side development faster and easier.

Overview

Amber is written in itself, including the parser and compiler. Amber compiles into efficient JavaScript, mapping one-to-one with the equivalent JavaScript. There is no interpretation at runtime.

Some highlights:

  • Amber features an IDE with a Class browser, Workspace, Transcript, a ReferencesBrowser supporting senders/implementors and class references, basic Inspector and even a beginning of a Debugger and a unit TestRunner.
  • Pharo Smalltalk is considered as the reference implementation.
  • Amber includes a canvas to generate HTML, like Seaside
  • Amber can use Javascript libraries and the current IDE is built on jQuery
  • You can inline Javascript code and there are many ways to interact between Amber and Javascript

License

Amber is released under the MIT license. All contributions made for inclusion are considered to be under MIT.

Building Amber

Amber uses Grunt.js as build system since version 0.10.0.

If you already have Grunt.js v0.3.x installed locally run the following (otherwise ignore these lines):

cd ${Amber_DIR}
npm uninstall grunt

To install Grunt.js v0.4.x on the commandline execute the following commands:

npm install -g grunt-cli grunt-init
cd ${Amber_DIR}
npm install

And finally, compile Amber using the following command:

cd ${Amber_DIR}
grunt

For Windows support check the Grunt.js on Windows page.

More infos

More on the project page