From 3bafca8f54b89af8bf82abe32817f68d3b0a809b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Fri, 28 Aug 2015 12:32:41 -0400 Subject: [PATCH] examples/calculator: intro a README.md file MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- examples/calculator/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 examples/calculator/README.md diff --git a/examples/calculator/README.md b/examples/calculator/README.md new file mode 100644 index 0000000..9028013 --- /dev/null +++ b/examples/calculator/README.md @@ -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`. -- 1.7.9.5