summary refs log tree commit diff stats
path: root/examples/cross_calculator/readme.txt
blob: 55c403d0eb5009d801e4f3b33f7f661c479fd78a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
The cross platform calculator illustrates how to use Nimrod to create a backend
called by different native user interfaces.

Since the purpose of the example is to show how the cross platform code
interacts with Nimrod the actual backend code is just a simple addition proc.
By keeping your program logic in Nimrod you can easily reuse it in different
platforms.

To avoid duplication of code, the backend code lies in a separate directory and
each platform compiles it with a different custom build process, usually
generating C code in a temporary build directory.

For a more ellaborate and useful example see the cross_todo example.