compiler-construction
Allocation of memory ( C++ ) Compile-time/Run-time?
I am not sure how appropriate is this question, but - I am curious about how the compiler sets memory aside for an object (allocation of memory) even before it is constructed (before even the constru[详细]
2023-04-04 11:46 分类:问答A good AST design for a c-like language (for llvm)
I am trying to use llvm to implement a simple, du开发者_JAVA技巧mb c-like language. And i\'m stucked at designing a good AST.[详细]
2023-04-04 07:51 分类:问答cl.exe wrapper in Visual Studio 2008
I created a wrapper in C++ for the cl.exe (the Visual Studio compiler). To do this, I changed the PATH environment variable so that Visual Studio finds my cl.exe first. In my cl.exe, I then create a p[详细]
2023-04-04 06:41 分类:问答What is the difference between LR(0) and SLR parsing?
I am working on my compilers concepts however I am a l开发者_StackOverflowittle confused... Googling got me nowhere to a definite answer.[详细]
2023-04-04 06:16 分类:问答What's a Good Way to Test that Identifiers aren't Being Truncated and Thereby Mixed Up?
In C++ class today, we discussed the maximum possible length of identifiers, and how the compiler will eventually stop treating variables as different, after a certain length. (My professor seems to h[详细]
2023-04-04 05:22 分类:问答Good language to implement for senior project? [closed]
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.[详细]
2023-04-04 05:01 分类:问答Strange compiler error due to use of xml in c++ comments
I\'m working on a proprietary unix-like os (I don\'t know if that\'s relevant though) and compiling with g++.[详细]
2023-04-04 02:42 分类:问答VC++: Weird compiler errors
I\'m working in visual studio with DirectX and today I\'ve gotten some weird compiler errors that don\'t make any sense (to me at least)...[详细]
2023-04-04 01:22 分类:问答Is there any way to use LLVM 3 in Xcode 4.1?
I wonder, since LLVM 3.0 is readily available and officially released, is there a way to compile with LLVM 3 when using Xcode 4.1. It would help alot since I used ARC and my app development turned out[详细]
2023-04-03 23:08 分类:问答Implementing a C preprocessor
Much has been written over the years on implementing pars开发者_开发技巧ers, but the C preprocessor is not quite the same as any of the stages of a typical parser, and implementation thereof doubtless[详细]
2023-04-03 22:46 分类:问答