1
0

Amber is an implementation of the Smalltalk language that runs on top of the JavaScript runtime.

Manfred Kroehnert 7368590bb8 Announcer: add >>on: aClass doOnce: aBlock 11 роки тому
bin 0e8a0e4c5b Moving things out of bin. 11 роки тому
cli f47a729e22 makes release scripts executable 11 роки тому
css 26d88e7049 More font changes to Helios code widget 11 роки тому
grunt 0e8a0e4c5b Moving things out of bin. 11 роки тому
images fb4335e4e5 helios: new package icon 11 роки тому
js 7368590bb8 Announcer: add >>on: aClass doOnce: aBlock 11 роки тому
st 7368590bb8 Announcer: add >>on: aClass doOnce: aBlock 11 роки тому
support 5c58345bed Tries to fix loading amber from deeply nested pages. 11 роки тому
test 9f0d7f69eb Testrunner: use amberc 'main' feature (fixes #620) 11 роки тому
.gitignore 5d1d304030 fix gitignore to take bower into account 11 роки тому
.travis.yml 529df069ce Travis tests both on node 0.8 and 0.10. 11 роки тому
API-CHANGES.txt 8e60b6628e API-CHANGES.txt 11 роки тому
CHANGELOG 6558378c38 CHANGELOG: add missing ' in popupHelios statement 11 роки тому
Gruntfile.js 0e8a0e4c5b Moving things out of bin. 11 роки тому
LICENSE e9d2f1e009 Update years in LICENSE 11 роки тому
README.md ae25c46400 README.md: Building amber includes bower dependencies 11 роки тому
bower.json a3b26abf58 Working on 0.13.0 11 роки тому
favicon.ico 8b43eb58f1 Add a favicon 11 роки тому
helios.html 502c9372fb defaultAMDNamespace -> defaultAmdNamespace 11 роки тому
index.html 502c9372fb defaultAMDNamespace -> defaultAmdNamespace 11 роки тому
package.json a3b26abf58 Working on 0.13.0 11 роки тому

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

Amber depends on some web libraries to work in browser, using bower to manage these dependencies. To install bower, run:

npm install -g bower

To get all dependencies, run:

cd ${Amber_DIR}
bower install   # dependencies for the web
npm install     # dependencies for the cli development

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