hhzl 4289f4bf15 Upd comments for writefile %!s(int64=9) %!d(string=hai) anos
..
benchfib 29c51ad2b0 Making nodejs examples build and run. %!s(int64=10) %!d(string=hai) anos
hello 29c51ad2b0 Making nodejs examples build and run. %!s(int64=10) %!d(string=hai) anos
meta 29c51ad2b0 Making nodejs examples build and run. %!s(int64=10) %!d(string=hai) anos
pystone 29c51ad2b0 Making nodejs examples build and run. %!s(int64=10) %!d(string=hai) anos
trivialserver 29c51ad2b0 Making nodejs examples build and run. %!s(int64=10) %!d(string=hai) anos
writefile 4289f4bf15 Upd comments for writefile %!s(int64=9) %!d(string=hai) anos
.gitignore a979e3a896 Removed unused depenecies as per mkroehnert:Gruntfile.js, package.json %!s(int64=11) %!d(string=hai) anos
Gruntfile.js 61901c75a4 node filesystem fs example %!s(int64=10) %!d(string=hai) anos
README.md 4289f4bf15 Upd comments for writefile %!s(int64=9) %!d(string=hai) anos
package.json 6736329d43 use ^ in package.json for grunt %!s(int64=10) %!d(string=hai) anos

README.md

Server side Amber Smalltalk examples

These are some experiments of using Amber together with Node.js:

To run these examples do

npm install

grunt amberc:hello
grunt amberc:benchfig
grunt amberc:trivialserver
grunt amberc:pystone
grunt amberc:meta   
grunt amberc:writefile
  • hello Hello world example with a simple Makefile.
  • writefile Shows how to use the nodejs fs library.
  • benchfib Port of tinybenchmarks from Squeak.
  • trivialserver A slightly larger example.