compiler-theory
What knowledge is required/recommended before approaching compiler development?
There is a question on stackoverflow about Learning to write a compiler. I have looked at it and I think it\'s an undertaking I want to tackle. I think (like many others) the knowledge will be invalua[详细]
2023-04-10 18:39 分类:问答Help with Compiler Design [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: Learning to write a compiler[详细]
2023-03-23 11:47 分类:问答Pragmatically is there any popular interpretive language that first generates the Syntax tree when parsing?
It seems all scripting languages like PHP ,Perl doesn\'t build any syntax tree,but interpret it directly(no separate syntax parsing & code generation):[详细]
2023-03-22 18:05 分类:问答Unambiguous grammar for arithmetic expression with Unary + and -
I have just started self-studying the Dragon book of Compiler Design. I am working on a problem that says to design grammar for an expression containin开发者_JAVA技巧g binary +,-,*,/ and unary +,-[详细]
2023-03-20 04:14 分类:问答Producing executables within Linux (in relation to implementing a compiler)
For my university, final-year dissertation, I am going to implement a compiler for a skeletal form of the C programming language, then go about extending it until it resembles something a little more[详细]
2023-03-17 18:53 分类:问答Assembly Performance Tuning
I am writing a compiler (more for fun than anything else), but I want to try to make it as efficient as possible.For example I was told that on Intel architecture the use of anyregister other than EAX[详细]
2023-03-16 08:23 分类:问答SLR(1) Parser and epsilon involved
Let\'s suppose I have the following grammar: S → X X → a | ϵ If that grammar wouldn\'t have ϵ involved, I would construct the first state like:[详细]
2023-03-16 06:10 分类:问答Grammar to recognize postfix formulas
I\'m trying to create a postfix to infix converter, and I\'m unable to create the grammar for postfix formulas. I\'ve been also looking for it for a while without success..[详细]
2023-03-16 02:44 分类:问答Live values in LLVM
Suppose I have in my CFG (among others) two basic blocks A and B, with an edge from A to B. I need to do the following:[详细]
2023-03-12 17:23 分类:问答Dynamic Dispatch Implementations
I am currently looking for various ways to impl开发者_如何学Cement dynamic dispatch. As far as I know, there are two \"easy\" ways to implement this:[详细]
2023-03-05 05:31 分类:问答