Welcome![Sign In][Sign Up]
Location:
Search - tiny-parse

Search list

[ELanguagetiny-parse

Description: Syntax of TINY+ An EBNF grammar for TINY+ is as follows (Strings in bold are terminals): 1. program -> declarations stmt-sequence 2. declarations -> decl declarations |² 3. decl -> type-specifi er varlist 4. type-specifi er -> int | bool | string 5. varlist -> identifi er { , identifi er } 6. stmt-sequence -> statement { statement } 7. statement -> if-stmt | repeat-stmt | assign-stmt | read-stmt | write-stmt | while-stmt 8. while-stmt -> while bool-exp do stmt-sequence end 9. if-stmt -> if bool-exp then stmt-sequence [else stmt-sequence] end 10. repeat-stmt -> repeat stmt-sequence until bool-exp 11. assign-stmt -> identifi er := exp 12. read-stmt -> read identifi er 13. write-stmt -> write exp 14. exp -> arithmetic-exp | bool-exp | string-exp 15. arithmetic-exp -> term { addop term } 16. addop -> + | --Syntax of TINY+ An EBNF grammar for TINY+ is as follows (Strings in bold are terminals): 1. program-> declarations stmt-sequence 2. declarations-> decl declarations |² 3. decl-> type-specifi er varlist 4. type-specifi er-> int | bool | string 5. varlist-> identifi er { , identifi er } 6. stmt-sequence-> statement { statement } 7. statement-> if-stmt | repeat-stmt | assign-stmt | read-stmt | write-stmt | while-stmt 8. while-stmt-> while bool-exp do stmt-sequence end 9. if-stmt-> if bool-exp then stmt-sequence [else stmt-sequence] end 10. repeat-stmt-> repeat stmt-sequence until bool-exp 11. assign-stmt-> identifi er := exp 12. read-stmt-> read identifi er 13. write-stmt-> write exp 14. exp-> arithmetic-exp | bool-exp | string-exp 15. arithmetic-exp-> term { addop term } 16. addop->+ |-
Platform: | Size: 1269760 | Author: gavinfeng | Hits:

[ELanguagecompile

Description: 这是一个带MFC界面的tiny+语言编译器,当中实现了17个关键字,包括词法分析,语法分析,语义分析,生成语法分析树等功能-This is a tiny+ with MFC interface language compiler, which achieved a 17 keywords, including lexical analysis, syntax analysis, semantic analysis, generating parse trees and other functions
Platform: | Size: 14141440 | Author: 罗洛 | Hits:

[xml-soap-webserviceXmlTree

Description: MFC把xml文档解析,显示在一个树形控件中,可进行增删改,保存操作,用到tiny库-MFC parse the xml document displayed in a tree control, add or delete can be changed, the save operation, use the tiny library
Platform: | Size: 21402624 | Author: hongwei | Hits:

[Internet-Networktiny

Description: 最简单的WEB服务器,自动解析资源,实现调用静态网页-The easiest Web server automatically parse resources to achieve call static pages
Platform: | Size: 50176 | Author: andy yang | Hits:

CodeBus www.codebus.net