Location:
Search - Tiny
Search list
Description: tiny编译器,编译<编译原理实践>书中定义的tiny程序,采用一次扫描算法,采用gnu版权发布-tiny compiler, compiler lt; Compiler Principle practice gt; The tiny book definition of procedures, using a scanning algorithm, using copyright release gnu
Platform: |
Size: 15017 |
Author: chai |
Hits:
Description: 这是一个基于命令行的编译器,它是在一个国外教学使用的编译器tiny基础上改写的。
这个代码对理解编译器有不错的作用-This is a command-line compiler, which is the use of teaching a foreign compiler tiny based on the rewrite. The code compiler for understanding the role of a good
Platform: |
Size: 293299 |
Author: 梁立平 |
Hits:
Description: Tiny Machine的源码,一个简单易学习的-Tiny Machine source code, simple is easy the east which
studies east
Platform: |
Size: 4372 |
Author: 周水斌 |
Hits:
Description: TINY+编译器源码
语言表达式的定义
(1) <表达式> ::= <算术表达式>|<逻辑表达式>
(2) <算术表达式> ::= <项>±<算术表达式>|±<项>|<项>
(3) <项> ::= <因子>*<项>|<因子>/<项>|<因子>
(4) <因子> ::= <算术量>
(5) <算术量> ::= <标识符>|<整数>
(6) <逻辑表达式> ::= <布尔项> or <逻辑表达式>|<布尔项>
(7) <布尔项> ::= <布尔因子> and <布尔项> |<布尔因子>
(8) <布尔因子> ::= <布尔量>|not<布尔因子>
(9) <布尔量> ::= <逻辑表达式> | <布尔常数>|<标识符> |<算术表达式><关系符><算术表达式>
(10) <关系符> ::= <|>|<>|<=| >=| =
Platform: |
Size: 112733 |
Author: lane |
Hits:
Description: salvo-tiny-avr是一个用在AVR上的开销极小的OS.
Platform: |
Size: 1872220 |
Author: 森淼 |
Hits:
Description: tiny 编译器-tiny compiler
Platform: |
Size: 25577 |
Author: 瞿忠 |
Hits:
Description: 一个编译器,可将名为TINY的语言转化为等价的C语言-a compiler can be called TINY language into the equivalent of C language
Platform: |
Size: 1769698 |
Author: 冼华 |
Hits:
Description: 一个小型C语言编译器- A small C language compiler
Platform: |
Size: 56320 |
Author: |
Hits:
Description: http://www.programmersheaven.com/zone6/cat700/16060.htm A tiny BASIC interpreter with C++ sourcecode
Platform: |
Size: 210944 |
Author: 何福保 |
Hits:
Description: rtx-tiny源码-rtx-tiny FOSS
Platform: |
Size: 7168 |
Author: 祥子 |
Hits:
Description: Tiny Machine的源码,一个简单易学习的-Tiny Machine source code, simple is easy the east which
studies east
Platform: |
Size: 4096 |
Author: 周水斌 |
Hits:
Description: tiny 编译器-tiny compiler
Platform: |
Size: 254976 |
Author: 瞿忠 |
Hits:
Description: 一个编译器,可将名为TINY的语言转化为等价的C语言-a compiler can be called TINY language into the equivalent of C language
Platform: |
Size: 1769472 |
Author: 冼华 |
Hits:
Description: tiny编译器,编译<编译原理实践>书中定义的tiny程序,采用一次扫描算法,采用gnu版权发布-tiny compiler, compiler lt; Compiler Principle practice gt; The tiny book definition of procedures, using a scanning algorithm, using copyright release gnu
Platform: |
Size: 253952 |
Author: chai |
Hits:
Description: 这是一个基于命令行的编译器,它是在一个国外教学使用的编译器tiny基础上改写的。
这个代码对理解编译器有不错的作用-This is a command-line compiler, which is the use of teaching a foreign compiler tiny based on the rewrite. The code compiler for understanding the role of a good
Platform: |
Size: 292864 |
Author: 梁立平 |
Hits:
Description: TINY+编译器源码
语言表达式的定义
(1) <表达式> ::= <算术表达式>|<逻辑表达式>
(2) <算术表达式> ::= <项>±<算术表达式>|±<项>|<项>
(3) <项> ::= <因子>*<项>|<因子>/<项>|<因子>
(4) <因子> ::= <算术量>
(5) <算术量> ::= <标识符>|<整数>
(6) <逻辑表达式> ::= <布尔项> or <逻辑表达式>|<布尔项>
(7) <布尔项> ::= <布尔因子> and <布尔项> |<布尔因子>
(8) <布尔因子> ::= <布尔量>|not<布尔因子>
(9) <布尔量> ::= <逻辑表达式> | <布尔常数>|<标识符> |<算术表达式><关系符><算术表达式>
(10) <关系符> ::= <|>|<>|<=| >=| =-err
Platform: |
Size: 112640 |
Author: lane |
Hits:
Description: 这是一个小型语言tiny的编译器,包括词法分析、语法分析、语义分析、代码生成等功能-This is a tiny mini-language compiler, including lexical analysis, syntax analysis, semantic analysis, code generation and other functions
Platform: |
Size: 284672 |
Author: 陈星 |
Hits:
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:
Description: tiny 算法 试下简单的语法分析
需要分析的字符 输入至input.txt
结果输出与output.txt-tiny algorithm for the simple test of grammatical analysis requires analysis of the results of characters input to output output.txt input.txt
Platform: |
Size: 1065984 |
Author: 刘峰 |
Hits:
Description: 此是Tiny编译器的一个模版,很经典的编程,从最近的扫描,语法分析,到语义分析,再到代码的生成,每一步都比较完美!-This is a template compiler Tiny, classic programming from the recent scan, syntax analysis, to the semantic analysis, code generation and then, every step of the more perfect!
Platform: |
Size: 2156544 |
Author: |
Hits:
« 12
3
4
5
6
7
8
9
10
...
47
»