-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
43 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
The cross platform calculator illustrates how to use Nimrod to create a backend | ||
The cross platform calculator illustrates how to use Nim 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 | ||
By keeping your program logic in Nim 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. | ||
For a more elaborate and useful example see the cross_todo example. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters