-
Notifications
You must be signed in to change notification settings - Fork 1
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
Sven Dedeene
authored and
Sven Dedeene
committed
Apr 24, 2016
1 parent
f52c50d
commit 15d93db
Showing
1 changed file
with
34 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Nestor | ||
A sentence based programming language. | ||
This project is not finished and still currently being developed. | ||
|
||
Some example code for the current version 0.0.1: | ||
``` | ||
Create container aNumber. | ||
Create container mySecondNumber. | ||
Fill aNumber with 10. | ||
Fill mySecondNumber with 90. | ||
Create container result. | ||
Fill result with first aNumber added to mySecondNumber then divided by 2. | ||
Do action Show with result as items. | ||
Start action creation of CustomSum with needed items nr1 and nr2. | ||
End action with nr1 added to nr2. | ||
End action creation. | ||
Start action creation of MultiplyTheSum with needed items number1 and number2. | ||
End action with | ||
Do action CustomSum with number1 and number2 as items | ||
multiplied by | ||
Do action CustomSum with number1 and number2 as items. | ||
End action creation. | ||
Create container customMultiplyResult. | ||
Fill customMultiplyResult with Do action MultiplyTheSum with 5 and 5 as items. | ||
Do action Show with customMultiplyResult as items. | ||
``` | ||
|