This website works better with JavaScript
Inicio
Explorar
Axuda
Rexistro
Iniciar sesión
amber
/
amber-examples
Seguir
2
Destacar
1
Fork
1
Ficheiros
Incidencias
11
Pull Requests
0
Wiki
Árbore:
4deae3dde9
Ramas
Etiquetas
gh-79
gh-80
gh55-7
gh58
issue55-presentation-6th
issue59-trysmalltalk
master
amber-examples
/
nodejs
/
hello
Manfred Kroehnert
4d0fcdbf37
nodejs/hello: add #!/bin/bash to shell script
%!s(int64=12) %!d(string=hai) anos
..
Hello.st
351236314a
Moved amber examples
%!s(int64=12) %!d(string=hai) anos
README
a52a00d32d
Nodejs examples WIP
%!s(int64=12) %!d(string=hai) anos
hello
4d0fcdbf37
nodejs/hello: add #!/bin/bash to shell script
%!s(int64=12) %!d(string=hai) anos
README
Trivial Node.js example in Amber. To compile execute:
grunt amberc:hello
Hello.st - source code.
hello - trivial bash script to run resulting program.
Hello.js - compiled from Hello.st.
Program.js - compile from Hello.st and includes Amber, can run from node.
To compile and run.
grunt amberc:hello
./hello