Nestor

所属分类:自然语言处理
开发工具:JavaScript
文件大小:21KB
下载次数:0
上传日期:2017-02-15 13:39:37
上 传 者sh-1993
说明:  一种基于句子的编程语言。
(A sentence based programming language.)

文件列表:
LICENSE (35141, 2017-02-15)
grammer.txt (782, 2017-02-15)
package.json (196, 2017-02-15)
src (0, 2017-02-15)
src\interpreter.js (4580, 2017-02-15)
src\lexer.js (4374, 2017-02-15)
src\main.js (920, 2017-02-15)
src\nativemethodhandler.js (660, 2017-02-15)
src\parser.js (7513, 2017-02-15)
src\token.js (415, 2017-02-15)
src\tokentype.js (1087, 2017-02-15)
src\tokentypelocator.js (1995, 2017-02-15)
src\utils.js (293, 2017-02-15)
test_nestor_code.nt (813, 2017-02-15)

# Nestor A sentence based programming language. This project is not completely finished. 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. ```

近期下载者

相关文件


收藏者