联合开发网   搜索   要求与建议
                登陆    注册
排序按匹配   按投票   按下载次数   按上传日期
按分类查找All 编译器/解释器(73) 
按平台查找All C/C++(73) 

[编译器/解释器] 自制编译器

本书将带领读者从头开始制作一门语言的编译器。笔者特意为本书设计了CЬ语言,CЬ可以说是C语言的子集,实现了包括指针运算等在内的C语言的主要部分。本书所实现的编译器就是C Ь语言的编译器, 是实实在在的编译器,而非有诸多限制的玩具。另外,除编译器之外,本书对以编译器为中心的编程语言的运行环境,即编译器、汇编器、链接器、硬件、运行时环境等都有所提及,介绍了程序运行的所有环节。
This book will lead readers to make a language compiler from scratch. The author specially designed the C language for this book, which can be said to be a subset of C language and realizes the main part of C language including pointer operation. The compiler implemented in this book is the compiler of C language. It is a real compiler, not a toy with many restrictions. In addition, in addition to the compiler, this book has mentioned the running environment of the compiler centered programming language, that is, compiler, assembler, linker, hardware, runtime environment, etc., and introduced all aspects of program running. (2021-01-04, C/C++, 8255KB, 下载1次)

http://www.pudn.com/Download/item/id/1609767416985759.html

[编译器/解释器] compile1

给定描述词法的文法为: 文法一:(无符号整形数值型数据)→{数字}{数字} {数字}→0|1|2|3|4|5|6|7|8|9 文法二:{算符}→+|-|*|/ 利用以上二个文法对从键盘输入的字符串进行词法分析,对符合这两个文法的字符串建立单词符号表;对不符合这两个文法的字符串给出错误信息。编程序实现该功能,并上级调试。 1.一个字符数组s,用来接受从键盘输入的字符串。 2,定义一个结构体,利用该结构体定义一个数组stable,用来存放字符串中的属性(类型class和值value)。 3.定义一个整型数组ei,大小与字符数组相同,记录对应字符是否是错误字符。
The above two grammars are used for lexical analysis of the strings input from the keyboard, and the word symbol table is established for the strings conforming to the two grammars; the error information is given for the strings not conforming to the two grammars. Program to achieve this function, and the superior debugging. 1. A character array s to accept the string input from the keyboard. 2. Define a structure, and use the structure to define an array of stable to store the attributes (type class and value) in the string. 3. Define an integer array EI with the same size as the character array, and record whether the corresponding character is an error character. (2020-04-28, C/C++, 14KB, 下载0次)

http://www.pudn.com/Download/item/id/1588080391102577.html

[编译器/解释器] 计组project1_riscv-simulator

在这个项目中,您将熟悉汇编程序的工作方式以及RISC-V指令集的实现方式。 通过这个项目,您应该学习实现处理器的原理和技术。 您的任务是为小型RISC-V指令集建模汇编器和非流水线处理器。
In this project, you will be familiar with how the assembler work and how the RISC-V instruction set is implemented. Through this project, you should learn the principles and techniques used in implementing a processor. Your assignment is to models an assembler and an unpipelined processor for a small RISC-V instruction set. (2019-12-20, C/C++, 44KB, 下载2次)

http://www.pudn.com/Download/item/id/1576821477454054.html

[编译器/解释器] code_编译器

完成编译器的代码生成部分,中间代码生成和代码优化不作要求,生成的目标代码要求为汇编语言程序。对类型检查过的语法树进行遍历,实现临时变量分配、标号生成和目标代码生成。生成目标程序(汇编程序)可借助部分MASM32的宏特性,如变量定义、输入、输出,但条件分支、循环、函数调用等MASM32宏语句不能用来直接进行目标码生成。
Complete the compiler code generation part, intermediate code generation and code optimization do not require, generated object code requirements for assembly language programs. The type checked syntax tree is traversed to realize temporary variable assignment, label generation and target code generation. Generating object program (assembler) can take advantage of some macro features of MASM32, such as variable definition, input and output, but MASM32 macro statements such as conditional branch, loop, function call can not be used to generate object code directly. (2018-10-18, C/C++, 83KB, 下载1次)

http://www.pudn.com/Download/item/id/1539823700895767.html

[编译器/解释器] 自制编译器 ,青木峰郎著 ,P445

本书将带领读者从头开始制作一门语言的编译器。笔者特意为本书设计了CЬ语言,CЬ可以说是C语言的子集,实现了包括指针运算等在内的C语言的主要部分。本书所实现的编译器就是C Ь语言的编译器, 是实实在在的编译器,而非有诸多限制的玩具。另外,除编译器之外,本书对以编译器为中心的编程语言的运行环境,即编译器、汇编器、链接器、硬件、运行时环境等都有所提及,介绍了程序运行的所有环节。
This book will lead the reader to make a language compiler from the beginning. The book is designed specifically for the C language can be said to have stood, C is a subset of C language, the realization of the main part including pointer arithmetic, C language. The book is the C language compiler have a compiler that is real in the compiler, and there are many restrictions of toys. In addition, in addition to the compiler, book on compiler centric programming language runtime environment, the compiler, assembler, linker, hardware and runtime environment are mentioned, introduces all aspects of the program run. (2018-03-12, C/C++, 7382KB, 下载2次)

http://www.pudn.com/Download/item/id/1520831794111670.html

[编译器/解释器] C-and-ASM-hybrid-programming

ARM中C和汇编混合编程及示例 在嵌入式系统开发中,目前使用的主要编程语言是C和汇编,C++已经有相应的编译器,但是现 在使用还是比较少的。在稍大规模的嵌入式软件中,例如含有OS,大部分的代码都是用C 编写的, 主要是因为C 语言的结构比较好,便于人的理解,而且有大量的支持库。尽管如此,很多地方还是要 用到汇编语言,例如开机时硬件系统的初始化,包括CPU 状态的设定,中断的使能,主频的设定, 以及RAM的控制参数及初始化,一些中断处理方面也可能涉及汇编。另外一个使用汇编的地方就是 一些对性能非常敏感的代码块,这是不能依靠C编译器的生成代码,而要手工编写汇编,达到优化的 目的。而且,汇编语言是和CPU 的指令集紧密相连的,作为涉及底层的嵌入式系统开发,熟练对应 汇编语言的使用也是必须的。
ARM in C and assembly of hybrid programming examples (2012-10-25, C/C++, 98KB, 下载5次)

http://www.pudn.com/Download/item/id/2026787.html

[编译器/解释器] LR-parser

LR分析器设计 给定说明语句的拓广文法G[S ]如下: (0) S ->S (1) S->v I:T (2) I->I,i (3) I->i (4) T->r 其中v代表终结符var,r代表real。 其识别规范句型活前缀的DFA及LR(0)分析表如下: 输入 状态 ACTION表 GOTO表 v i , : r # S I T 0 S2 1 1 acc 2 S4 3 3 S6 S5 4 r3 r3 r3 r3 r3 r3 5 S9 8 6 S7 7 r2 r2 r2 r2 r2 r2 8 r1 r1 r1 r1 r1 r1 9 r4 r4 r4 r4 r4 r4 编程实现此文法的LR分析器,并设输入的文法的句子为: var i , i , i : real 给出输出结果
LR parser design Given that statement, The Extension of the grammar G [S ] as follows: (0) S -> S (1) S-> v I: T (2) I-> I, i (3) I-> i (4) T-> r One representative of terminator v var, r representative of real. Living patterns of its identification Specification prefix DFA and LR (0) analysis as follows: Input GOTO table table status ACTION v i,: r# S I T 0 S2 1 1 acc 2 S4 3 3 S6 S5 4 r3 r3 r3 r3 r3 r3 5 S9 8 6 S7 7 r2 r2 r2 r2 r2 r2 8 r1 r1 r1 r1 r1 r1 9 r4 r4 r4 r4 r4 r4 Programming LR parser article law, and set the input sentence is the grammar: var i, i, i: real Given output (2011-04-16, C/C++, 208KB, 下载9次)

http://www.pudn.com/Download/item/id/1493649.html

[编译器/解释器] Design-of-operator-precedence

算符优先分析器设计 给定定义算术表达式的算符优先文法如下: G[E]: (1)E->E+T (2)E->E-T (3) E->T (4)T->T*F (5)T->T/F (6)T->F (7)F->P^F (8)F->P (9)P->(E) (10)P->i 编程实现此文法的算法优先分析器,并设输入的文法的句子为: (i*(i+i)-i )/i^i^i 给出输出结果
Design of operator precedence parser Given the definition of operator precedence grammar arithmetic expressions are as follows: G [E]: (1) E-> E+ T (2) E-> E-T (3) E-> T (4) T-> T* F (5) T-> T/F (6) T-> F (7) F-> P ^ F (8) F-> P (9) P-> (E) (10) P-> i Programming algorithm for precedence parser article law, and set the input of the grammar of the sentence is: (i* (i+ i)-i)/i ^ i ^ i Given output (2011-04-16, C/C++, 194KB, 下载24次)

http://www.pudn.com/Download/item/id/1493643.html

[编译器/解释器] Rabin-Miller

1.Rabin-Miller算法的素性检测的原理与测试过程。 2. 有算法流程,用程序设计语言将算法过程编程实现。 3. 对输入的随机数,选择素性检测算法进行素性检测。
1.Rabin-Miller primality testing algorithm principle and the testing process. 2. There are algorithms process programming language with the process of programming the algorithm. 3. To enter the random number, select the primality testing algorithm for primality testing. (2009-06-28, C/C++, 17KB, 下载109次)

http://www.pudn.com/Download/item/id/824077.html

[编译器/解释器] Keil_C_tutorial

分为PDF格式的Keil C编译器的使用说明和Word文本格式的keil C51详解。 包含内容: 第一章 Keil C51开发系统基本知识 第二章 Keil C51软件使用详解 第三章 Keil C51与标准C 第四章 Keil C51高级编程 第五章 Keil C51库函数参考 第六章 Keil C51例子 第七章 Keil C51的代码效率 第八章 dScope for Windows使用详解
Into PDF format Keil C compiler to use instructions and Word text format Detailed keil C51. Content: Chapter Keil C51 development system is a basic knowledge of Chapter II software using Keil C51 detailed in Chapter III Keil C51 standard C with Keil C51 Chapter IV Chapter V high-level programming Keil C51 library function reference to Chapter VI, paragraph example Keil C51 Keil C51 Chapter VII of Chapter VIII of code efficiency dScope for Windows using the Detailed (2008-11-05, C/C++, 652KB, 下载32次)

http://www.pudn.com/Download/item/id/573450.html

[编译器/解释器] keil_c51_maule

个人收藏的14篇有关KEIL C51语言编程的使用要点。 目录: C51变量或数据类型 C51 怎样将1个子程序段定位在1个固定的地址位置 C51存储模式 C语言下的单片机软件抗干扰实现的基本技巧之一---------对绝对地址的访问 DOS界面的KEIL C编译器的使用方法(^_^) keil51开发系统概述 Keil C51函数(不仅仅是函数,呵呵) Keil C51扩展关键字 Keil C51软件包中的通用文件 Keil C51指针 程序结构----KEIL C51的Bin、Inc、Lib三个子文件夹介绍 绝对地址访问------C与汇编的接口----- C51软件包中的通用文件----- 段名转换与程序优化 内存区域(Memory Areas)的定义--关键字 一个绝对地址使用的编程例子
personal collection of 14 related KEIL C51 use the programming language elements. Contents : C51 variables or data type C51 how a sub-positioning of the procedures in a fixed location address storage model C51 C language under the SCM software interference with the basic skills to achieve one of the absolute address--------- visit DOS interface KEIL C compiler to use (^_^) keil51 development system outlined Keil C51 function (not just function, huh) Keil Keil C51 C51 keyword expansion package definitive document Keil C51 program structure-pointer KEIL C51 Bin, Inc. Lib 3 subfolders introduced absolute addresses------ C and compiled by the interface C51----- generic package of documents----- convert with the procedures and optimize memory (Memory Areas), the definition-- a keyword abso (2006-03-22, C/C++, 16KB, 下载198次)

http://www.pudn.com/Download/item/id/158345.html

[编译器/解释器] nasm-0.98.39

32位汇编编译器nasm源代码,用c/asm混合编程,对于编写汇编编译器的爱好者来说是一个参考。
32 NASM compilation compiler source code, c/asm mixed programming, for the preparation of the compilation compiler lovers is a reference. (2006-03-05, C/C++, 701KB, 下载145次)

http://www.pudn.com/Download/item/id/150711.html

[编译器/解释器] 170054yufa 1234234234

定义和实现了一个栈及其操作编译的时候只要用TC2.0或者WinTC打开Main.c文件进行编译就好了。如发现有Bug请在这里贴出来或者把修改后的代码跟帖在这里:)总之,这个工程仅仅是一个简单示例,告诉大家怎么样把课堂上学到的知识运用到实际编程当中去,工程中所用到的模块化思想,数据结构等知识都是大家学过的,大三了,希望大家在最后这段时间里把写程序的本领练就出来
definition and implementation of a stack and operation of the compiler used whenever WITH TC 2.0 or WinTC open Main.c documents compiled enough. If found please Bug out here or affixed to amend the code of Columbia here :) Overall, the project is just a simple example, like to tell you how to put classroom knowledge to use them to the actual program, which works to use the modular thinking, data structure knowledge we learned, the Ruins of St. Paul, I hope you will in the final period put the ability to write procedures trained out (2005-05-30, C/C++, 184KB, 下载6次)

http://www.pudn.com/Download/item/id/1117444646728320.html
1234
总计:73