Jump to content

User:Michaelxu1988/sandbox

From Wikipedia, the free encyclopedia
Amber Smalltalk
Original author(s)Nicolas Petton
Developer(s)Amber Community
Initial releaseSeptember 13, 2011; 13 years ago (2011-09-13)
Stable release
0.14.17 / October 6, 2015; 9 years ago (2015-10-06)
Written inSmalltalk, JavaScript
Operating systemCross-platform
TypeObject-oriented programming language, IDE
LicenseMIT license
Websitewww.amber-lang.net

Amber Smalltalk, formerly known as Jtalk, is an implementation of the Smalltalk-80 language that runs on the JavaScript runtime of a web browser. It is designed to enable client-side development using the Smalltalk programming language.[1]

Amber includes an integrated development environment with a class browser, workspace, transcript, object inspector and debugger. Amber is written in itself, including the compiler, and compiles into JavaScript, mapping one-to-one with the JavaScript equivalent. Amber was created by Nicolas Petton.[2]

Amber was influenced by an earlier Smalltalk in browser project, called "Clamato", created by Avi Bryant.[2][3] Both Amber and Clamato use Parsing Expression Grammar (PEG) libraries for parsing Smalltalk sourcecode. Amber uses the JavaScript based PEG.js library[4]Cite error: The <ref> tag has too many names (see the help page). written by David Majda and Clamato uses PetitParser, a Smalltalk based library written by Lukas Renggli.[2] Both Clamato and Amber were influenced by earlier work by Dan Ingalls in developing the Lively Kernel implementation of Morphic in the web browser using JavaScript.[2][5]

Started with version 0.12.0, Amber modules are compiled to AMD modules. Starting in version 0.12.6, the development helper CLI tool is extracted to dedicated module 'amber-cli', which can be installed from npm; and setting up the project and its JS ecosystem (bower, npm, grunt) is greatly simplified using this CLI tool by issuing 'amber init' and answering a few questions. This makes Amber Smalltalk easier to use for people coming from Smalltalk world having little JS experience. new text here

See also

[edit]

References

[edit]
  1. ^ Smalltalk Implementations (brief comparative summaries describing Smalltalk dialects)
  2. ^ a b c d Schuster, Werner (August 22, 2011). "Smalltalk IDEs Come to the Browser: Jtalk, tODE, Lively Kernel 2.0". Retrieved October 20, 2011.
  3. ^ "Clamato". (Home page for the Clamato Smalltalk project)
  4. ^ "PEG.js". (Home page for the PEG.js JavaScript parser generator project)
  5. ^ Shuster, Werner (June 22, 2010). "Dan Ingalls on the History of Smalltalk and the Lively Kernel". Retrieved October 26, 2011.
[edit]

Category:Smalltalk programming language family