examples/calculator: intro a README.md file
authorAlexis Laferrière <alexis.laf@xymus.net>
Fri, 28 Aug 2015 16:32:41 +0000 (12:32 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Fri, 28 Aug 2015 16:32:41 +0000 (12:32 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

examples/calculator/README.md [new file with mode: 0644]

diff --git a/examples/calculator/README.md b/examples/calculator/README.md
new file mode 100644 (file)
index 0000000..9028013
--- /dev/null
@@ -0,0 +1,15 @@
+Portable calculator built using _app.nit_
+
+# Project structure
+
+* `calculator_logic` defines `CalculatorContext` with all the business logic of a calculator.
+  It takes as input operations and numbers, and outputs the text to display.
+* `calculator` implements the portable graphical interface using the _app.nit_ framework
+* `calculator_test` test `CalculatorContext` as a black box.
+
+# Usage
+
+1. Compile with a call to `make`.
+2. Run with either:
+       1. The desktop version, `bin/calculator`.
+       2. The Android version by install the APK at `bin/calculator.apk`.