From: Alexis Laferrière Date: Sat, 14 Jun 2014 11:18:41 +0000 (-0400) Subject: example: intro an emscripten wrapper around fibonacci X-Git-Tag: v0.6.6~28^2~3 X-Git-Url: http://nitlanguage.org example: intro an emscripten wrapper around fibonacci Signed-off-by: Alexis Laferrière --- diff --git a/examples/emscripten/fibonacci/Makefile b/examples/emscripten/fibonacci/Makefile new file mode 100644 index 0000000..4ec01ea --- /dev/null +++ b/examples/emscripten/fibonacci/Makefile @@ -0,0 +1,2 @@ +emscripten: + ../../../bin/nitg -o www/fibonacci.js ../../fibonacci.nit -m emscripten diff --git a/examples/emscripten/fibonacci/www/index.html b/examples/emscripten/fibonacci/www/index.html new file mode 100644 index 0000000..e0195f6 --- /dev/null +++ b/examples/emscripten/fibonacci/www/index.html @@ -0,0 +1,73 @@ + + + + + Fibonacci + + + + + + + +
+

Fibonacci calculator

+ Nit source
+ HTML source + +

Status

+

Loading...

+ +

Program Input

+ + +

Program Output

+ + + +
+ + +