Nicolas Petton
Work @Inria and @Objectfusion
npm install amber
It's risky!
git clone git@github.com:amber-smalltalk/amber.git
cd amber
npm install
bower install
./bin/amber serve
Go to http://localhost:4000
./bin/amber repl
master
foo true ifTrue: [ ^ self ]. if(assert(true)) { return self; }
foo a := true ifTrue: [ 1 ] ifFalse: [ 2 ]. if(assert(true)) { a := 1; } else { a := 2; }
AMD
loader (requirejs)
Package named: 'Compiler-Core' transport: (AmdPackageTransport namespace: 'amber_core')
They are AMD
mobules
amber/devel
amber/deploy
<script type='text/javascript' src='support/amber.js'></script> <script type='text/javascript' src='support/requirejs/require.min.js'></script> <script type='text/javascript'> require( ["amber/devel"], function (smalltalk) { smalltalk.initialize(); // Custom code here } ); </script>
By Matthias Springer