Welcome![Sign In][Sign Up]
Location:
Search - lexical syntax error

Search list

[ELanguagePIO2

Description: PL/0语言是Pascal语言的一个子集,我们这里分析的PL/0的编译程序包括了对PL/0语言源程序进行分析处理、编译生成类PCODE代码,并在虚拟机上解释运行生成的类PCODE代码的功能。   PL/0语言编译程序采用以语法分析为核心、一遍扫描的编译方法。词法分析和代码生成作为独立的子程序供语法分析程序调用。语法分析的同时,提供了出错报告和出错恢复的功能。在源程序没有错误编译通过的情况下,调用类PCODE解释程序解释执行生成的类PCODE代码。以下源程序是以清华大学出版社《编译原理》中的源代码为基础作了少量改动而成。 程序在Turbo Pascal 7.0上编译运行通过。 -PL / 0 language Pascal language is a subset of, we have here the analysis of PL / 0 compilers including the right PL / 0 language source analysis, category PCODE compiler code generation and the virtual machine running on to explain the formation PCODE category code functions. PL / 0 language compiler to use syntax analysis of the core, the compiler again scanning methods. Lexical analysis, and code generation as an independent for the subroutine call syntax analysis procedures. Grammatical analysis at the same time, provided a report errors and error recovery functions. The source did not compile the wrong circumstances, PCODE category called to explain the interpretation and implementation of procedures generated PCODE category code. Following is the source Qinghua University Press, &quo
Platform: | Size: 19052 | Author: 姚紫欣 | Hits:

[Other resourceyufafenxiqigouzhao

Description: 语法分析器构造 借助于词法分析程序提供的分析结果,编写一个算符优先语法分析程序,程序能进行语法结构分析和错误检查并产生相应的归约信息。同时给出出错信息和错误类型,从而加深对语法分析的理解。 -parser using lexical analysis procedure for the analysis of results prepare a priority operator syntax analysis procedures, procedures for structural analysis and syntax error checking and produce corresponding reduction information. Also given wrong information and the wrong types, so as to enhance the understanding of syntax analysis.
Platform: | Size: 11939 | Author: duoduo | Hits:

[ELanguagepl0back

Description: 在本编译程序中,源语言为PL/0语言,目标语言为假想栈式计算机的汇编语言.PL/0语言是Pascal语言的一个子集,PL/0的编译程序包括了对PL/0语言源程序进行分析处理、编译生成类PCODE代码,并在虚拟机上解释运行生成的类PCODE代码的功能。   PL/0语言编译程序采用以语法分析为核心、一遍扫描的编译方法。词法分析和代码生成作为独立的子程序供语法分析程序调用。语法分析的同时,提供了出错报告功能。在源程序没有错误编译通过的情况下,调用类PCODE解释程序解释执行生成的类PCODE代码。 该软件为PL/0语言编译程序,所实现的扩充功能如下: 1.增加单词:保留字 ELSE,FOR,TO, DOWNTO 2.增加运算 +=,-=,++,-- 3.不等号# 改为 <> 4.增加条件语句的ELSE子句 5.扩充语句: ①FOR <变量>:=<表达式> TO <表达式> DO <语句> ②FOR <变量>:=<表达式> DOWNTO<表达式> DO <语句> 其中,语句①的循环变量的步长为1, 语句②的循环变量的步长为-1。 概述 源文件: *.plo 目标文件: *.COD 实现平台:C++ Builder6.0 -the compiler, the source language of PL / 0 language, target language of the imaginary stack of computer assembly language. PL / 0 language Pascal language is a subset of, PL / 0 compilers including the right PL / 0 language source analysis, category PCODE compiler code generation and the virtual machine running on to explain the formation PCODE category code functions. PL / 0 language compiler to use syntax analysis of the core, the compiler again scanning methods. Lexical analysis, and code generation as an independent for the subroutine call syntax analysis procedures. Grammatical analysis at the same time, provided the error reporting function. The source did not compile the wrong circumstances, Call category PCODE explain the interpretation and implementation of procedures generated P
Platform: | Size: 383061 | Author: mayfar | Hits:

[ELanguagegrammaranalyse12222

Description: 进行语法的分析,与词法分析器共同构成一个程序的分析器,检查程序错误等-syntax analysis, and the lexical analyzer together constitute a process analyzers, error checking procedures
Platform: | Size: 15509 | Author: daniao | Hits:

[ELanguagePL0Backup

Description: 《PL/0的编译器》:PL/0语言是Pascal语言的一个子集,《PL/0的编译器》实现了把客户用PL/0语言编写的程序编译成类PCODE代码,并能虚拟机上解释运行生成的类PCODE代码的功能。《PL/0的编译器》采用以语法分析为核心、一遍扫描的编译方法。词法分析和代码生成作为独立的子程序供语法分析程序调用。语法分析的同时,提供了出错报告和出错恢复的功能。-"PL / 0 compiler" : PL / 0 Pascal language is a language subset, "PL / 0 compiler" achieved the customers using PL / 0 language procedures compiled PCODE category code and the virtual machine can explain the operation generated PCODE category code functions. "PL / 0 compiler" to use syntax analysis of the core, the compiler again scanning methods. Lexical analysis and code generation as an independent for the subroutine call syntax analysis program. Grammatical analysis at the same time, provided a report errors and error recovery functions.
Platform: | Size: 383937 | Author: 李建龙 | Hits:

[ELanguage词法分析Lex

Description: 名称:C语言词法分析器 功能:1)从C语言源代码文件中提取所有词素 2)检测程序的词法错误,给出错误行号及提示 3)语法分析器的预备程序 文件:分析器代码(Lex.c)、测试文件(test.c)、状态转换图、可执行程序 输出:错误记录文件、符号表文件、标识符文件-Name lexical analyzer for C language function: 1)Extract all lexems from C Language source code 2)Examine the syntax errors of the program and provide the line number of error line and note 3)preprocessed program file of the lexical analyzer source code of the analyzer(Lex.c), test file(test.c),status transformation chart,excutable program. Output: Error-recording file, symbol table file and identifier file.
Platform: | Size: 192513 | Author: 张永胜 | Hits:

[OtherThe C Programming Language-C语言详解英文版

Description: 这是一本讲解C语言的书,是英文编写,十分经典,是大部分公司的新职员入职之前必须要看的书籍之一,很多公司都以它作为培训教材,帮助你更快了解C语言的奥妙。 Contents l Preface l Preface to the first edition l Introduction 1. Chapter 1: A Tutorial Introduction 1. Getting Started 2. Variables and Arithmetic Expressions 3. The for statement 4. Symbolic Constants 5. Character Input and Output 1. File Copying 2. Character Counting 3. Line Counting 4. Word Counting 6. Arrays 7. Functions 8. Arguments - Call by Value 9. Character Arrays 10. External Variables and Scope 2. Chapter 2: Types, Operators and Expressions 1. Variable Names 2. Data Types and Sizes 3. Constants 4. Declarations 5. Arithmetic Operators 6. Relational and Logical Operators 7. Type Conversions 8. Increment and Decrement Operators 9. Bitwise Operators 10. Assignment Operators and Expressions 11. Conditional Expressions 12. Precedence and Order of Evaluation 3. Chapter 3: Control Flow 1. Statements and Blocks 2. If-Else 3. Else-If 4. Switch 5. Loops - While and For 6. Loops - Do-While 7. Break and Continue 8. Goto and labels 4. Chapter 4: Functions and Program Structure 1. Basics of Functions 2. Functions Returning Non-integers 3. External Variables 4. Scope Rules 5. Header Files 6. Static Variables 7. Register Variables 8. Block Structure 9. Initialization 10. Recursion 11. The C Preprocessor 1. File Inclusion 2. Macro Substitution 3. Conditional Inclusion 5. Chapter 5: Pointers and Arrays 1. Pointers and Addresses 2. Pointers and Function Arguments 3. Pointers and Arrays 4. Address Arithmetic 5. Character Pointers and Functions 6. Pointer Arrays; Pointers to Pointers 7. Multi-dimensional Arrays 8. Initialization of Pointer Arrays 9. Pointers vs. Multi-dimensional Arrays 10. Command-line Arguments 11. Pointers to Functions 12. Complicated Declarations 6. Chapter 6: Structures 1. Basics of Structures 2. Structures and Functions 3. Arrays of Structures 4. Pointers to Structures 5. Self-referential Structures 6. Table Lookup 7. Typedef 8. Unions 9. Bit-fields 7. Chapter 7: Input and Output 1. Standard Input and Output 2. Formatted Output - printf 3. Variable-length Argument Lists 4. Formatted Input - Scanf 5. File Access 6. Error Handling - Stderr and Exit 7. Line Input and Output 8. Miscellaneous Functions 1. String Operations 2. Character Class Testing and Conversion 3. Ungetc 4. Command Execution 5. Storage Management 6. Mathematical Functions 7. Random Number generation 8. Chapter 8: The UNIX System Interface 1. File Descriptors 2. Low Level I/O - Read and Write 3. Open, Creat, Close, Unlink 4. Random Access - Lseek 5. Example - An implementation of Fopen and Getc 6. Example - Listing Directories 7. Example - A Storage Allocator l Appendix A: Reference Manual 1. Introduction 2. Lexical Conventions 3. Syntax Notation 4. Meaning of Identifiers 5. Objects and Lvalues 6. Conversions 7. Expressions 8. Declarations 9. Statements 10. External Declarations 11. Scope and Linkage 12. Preprocessor 13. Grammar l Appendix B: Standard Library 1. Input and Output: 1. File Operations 2. Formatted Output 3. Formatted Input 4. Character Input and Output Functions 5. Direct Input and Output Functions 6. File Positioning Functions 7. Error Functions 2. Character Class Tests: 3. String Functions: 4. Mathematical Functions: 5. Utility Functions: 6. Diagnostics: 7. Variable Argument Lists: 8. Non-local Jumps: 9. Signals: 10. Date and Time Functions: 11. Implementation-defined Limits: and l Appendix C: Summary of Changes
Platform: | Size: 570630 | Author: wukoo0901@qq.com | Hits:

[ELanguage词法分析Lex

Description: 名称:C语言词法分析器 功能:1)从C语言源代码文件中提取所有词素 2)检测程序的词法错误,给出错误行号及提示 3)语法分析器的预备程序 文件:分析器代码(Lex.c)、测试文件(test.c)、状态转换图、可执行程序 输出:错误记录文件、符号表文件、标识符文件-Name lexical analyzer for C language function: 1)Extract all lexems from C Language source code 2)Examine the syntax errors of the program and provide the line number of error line and note 3)preprocessed program file of the lexical analyzer source code of the analyzer(Lex.c), test file(test.c),status transformation chart,excutable program. Output: Error-recording file, symbol table file and identifier file.
Platform: | Size: 192512 | Author: 张永胜 | Hits:

[ELanguagePIO2

Description: PL/0语言是Pascal语言的一个子集,我们这里分析的PL/0的编译程序包括了对PL/0语言源程序进行分析处理、编译生成类PCODE代码,并在虚拟机上解释运行生成的类PCODE代码的功能。   PL/0语言编译程序采用以语法分析为核心、一遍扫描的编译方法。词法分析和代码生成作为独立的子程序供语法分析程序调用。语法分析的同时,提供了出错报告和出错恢复的功能。在源程序没有错误编译通过的情况下,调用类PCODE解释程序解释执行生成的类PCODE代码。以下源程序是以清华大学出版社《编译原理》中的源代码为基础作了少量改动而成。 程序在Turbo Pascal 7.0上编译运行通过。 -PL/0 language Pascal language is a subset of, we have here the analysis of PL/0 compilers including the right PL/0 language source analysis, category PCODE compiler code generation and the virtual machine running on to explain the formation PCODE category code functions. PL/0 language compiler to use syntax analysis of the core, the compiler again scanning methods. Lexical analysis, and code generation as an independent for the subroutine call syntax analysis procedures. Grammatical analysis at the same time, provided a report errors and error recovery functions. The source did not compile the wrong circumstances, PCODE category called to explain the interpretation and implementation of procedures generated PCODE category code. Following is the source Qinghua University Press, &quo
Platform: | Size: 18432 | Author: 姚紫欣 | Hits:

[Education soft systemyufafenxiqigouzhao

Description: 语法分析器构造 借助于词法分析程序提供的分析结果,编写一个算符优先语法分析程序,程序能进行语法结构分析和错误检查并产生相应的归约信息。同时给出出错信息和错误类型,从而加深对语法分析的理解。 -parser using lexical analysis procedure for the analysis of results prepare a priority operator syntax analysis procedures, procedures for structural analysis and syntax error checking and produce corresponding reduction information. Also given wrong information and the wrong types, so as to enhance the understanding of syntax analysis.
Platform: | Size: 382976 | Author: duoduo | Hits:

[ELanguagepl0back

Description: 在本编译程序中,源语言为PL/0语言,目标语言为假想栈式计算机的汇编语言.PL/0语言是Pascal语言的一个子集,PL/0的编译程序包括了对PL/0语言源程序进行分析处理、编译生成类PCODE代码,并在虚拟机上解释运行生成的类PCODE代码的功能。   PL/0语言编译程序采用以语法分析为核心、一遍扫描的编译方法。词法分析和代码生成作为独立的子程序供语法分析程序调用。语法分析的同时,提供了出错报告功能。在源程序没有错误编译通过的情况下,调用类PCODE解释程序解释执行生成的类PCODE代码。 该软件为PL/0语言编译程序,所实现的扩充功能如下: 1.增加单词:保留字 ELSE,FOR,TO, DOWNTO 2.增加运算 +=,-=,++,-- 3.不等号# 改为 <> 4.增加条件语句的ELSE子句 5.扩充语句: ①FOR <变量>:=<表达式> TO <表达式> DO <语句> ②FOR <变量>:=<表达式> DOWNTO<表达式> DO <语句> 其中,语句①的循环变量的步长为1, 语句②的循环变量的步长为-1。 概述 源文件: *.plo 目标文件: *.COD 实现平台:C++ Builder6.0 -the compiler, the source language of PL/0 language, target language of the imaginary stack of computer assembly language. PL/0 language Pascal language is a subset of, PL/0 compilers including the right PL/0 language source analysis, category PCODE compiler code generation and the virtual machine running on to explain the formation PCODE category code functions. PL/0 language compiler to use syntax analysis of the core, the compiler again scanning methods. Lexical analysis, and code generation as an independent for the subroutine call syntax analysis procedures. Grammatical analysis at the same time, provided the error reporting function. The source did not compile the wrong circumstances, Call category PCODE explain the interpretation and implementation of procedures generated P
Platform: | Size: 384000 | Author: mayfar | Hits:

[ELanguagegrammaranalyse12222

Description: 进行语法的分析,与词法分析器共同构成一个程序的分析器,检查程序错误等-syntax analysis, and the lexical analyzer together constitute a process analyzers, error checking procedures
Platform: | Size: 156672 | Author: daniao | Hits:

[ELanguageCompilerConstruction

Description: 全面的c语言编译器,包括词法分析语法分析有报错 -Comprehensive c language compilers, including lexical analysis Syntax analysis error
Platform: | Size: 41984 | Author: Leo | Hits:

[ELanguagebian-yi-yuan-li-kechengsheji

Description: 编译原理课程设计:建立文法及其LL(1)分析表表示的数据结构,设计并实现相应的预测分析器,对源程序经词法分析后生成的二元式代码流进行预测分析,如果输入串是文法定义的句子则输出“输入串分析成功”,否则输出“输入串语法错误”。-Principles of Course Design Compiler: A Grammar and LL (1) of the table that the data structure, design and implement the corresponding prediction analyzer, on the source code generated by the lexical analysis to predict the binary type code flow analysis, if the input string is the definition of sentence grammar, the output " input string of success" , or output " input string syntax error."
Platform: | Size: 101376 | Author: | Hits:

[Othercifafenxi

Description: c++编写的词法分析器,能够对简单的语法错误进行检测和报错!-written in c++ lexical analyzer can be a simple syntax error detection and error!
Platform: | Size: 915456 | Author: zhong | Hits:

[ELanguagesyntax

Description: 基于对类Pascal语言的词法分析的基础上,用C实现的对词法分析程序所提供的单词序列进行语法分析和检查,对不符合语法规则的进行报错。-Class Pascal language lexical analysis based on word sequence of lexical analysis procedures implemented in C syntax analysis and inspection, do not conform to the rules of grammar error.
Platform: | Size: 476160 | Author: 马倩 | Hits:

[ELanguageproject

Description: 词法分析器,接收源程序,得到该程序的token串-Simple design of a simple language compiler, we realize that the symbol table design, the design of lexical analysis, syntax analysis and semantic analysis of the design, and ultimately produce quaternion type. Lexical analysis is complete token strings, check fill in the symbol table, check the lexical errors, and determine the scope of Ascii code symbols, such as: Comment not closed, illegal characters (if the Chinese way of parenthesis ()) and more than Ascii code range of characters (if NULL) and the like and to handle errors and the error location and the symbol set. Syntax analysis is done to check syntax error: checking a program statement, assignment (: =), begin statement, for statement, while statement, if statements, call statements, and integer program body, real program body, procedure program body, etc., There is a lack of symbols: With the left parenthesis and no closing parenthesis and so on. And to determine the location of a syntax error. Semantic analysis can genera
Platform: | Size: 528384 | Author: mutian | Hits:

[ELanguage3

Description: 将实验一“词法分析器”与实验二“语法分析器”之间的衔接方式由独立一遍改为独立子程序。   于语法正确的表达式,报告“语法正确”;   对于语法错误的表达式,报告“语法错误”, 指出错误原因。 -The Cohesion experiment " lexical analyzer" and Experiment II " parser" between independent again to separate subroutine. Grammatically correct expressions in the report " grammatically correct" expression for syntax errors, the report " Syntax Error" , pointed out the wrong reasons.
Platform: | Size: 5414912 | Author: 盛俊 | Hits:

[ELanguage2

Description: 上海大学编译原理实验二 词法分析 pl/0将实验一“词法分析”的输出结果,作为表达式语法分析器的输入,进行语法解析,对于语法正确的表达式,报告“语法正确”;    对于语法错误的表达式,报告“语法错误”, 指出错误原因。-Compiler theory Shanghai University Experiment II Lexical analysis pl/0 to experiment a "lexical analysis" of the output, as the expression parser s input, parsing, for the grammatically correct expression, the report "grammatically correct" expression for syntax errors, the report "Syntax error ", pointed out the wrong reasons.
Platform: | Size: 2489344 | Author: 盛俊 | Hits:

[OtherLexical-and-grammar-analyzer

Description: 实现词法分析生成二元式,并通过语法分析生成变量名表,报告错误类型与位置-Realize of lexical analysis generated binary type, and through the syntax analysis to generate variable watches, report an error type and location
Platform: | Size: 2347008 | Author: 陈桥 | Hits:
« 12 »

CodeBus www.codebus.net