I would like to start with a THANK YOU to all those that answered my previous question on Compiling multiple languages together. Now I want to know whether or not it's possible to Compile multiple languages together so that they would run on different platforms.
...
I am learning C# and I know the advantages and ease of using Visual Studio but basically I want to learn the mechanics of C# the old school way.
I understand that I need to the least .NET Framework and Notepad to compile C# code which I have already. Now I have created the small app as myApp.cs and I want to know how should I compile it ...
Can anyone give some sample program in Lex and Yacc.
Thanks.
...
The following line
Generates the following error:
Error 4 ICE80: This 64BitComponent GlobalScopePackages uses 32BitDirectory blablabla c:\development\...\file.wxs
Error is described on this page
http://msdn.microsoft.com/en-us/library/aa369034%28VS.85%29.aspx
How do I fix this or suppress the warning? Is it safe to simply supres...
I've been trying to convince a friend of mine to avoid using dynamically allocated arrays and start moving over to the STL vectors. I sent him some sample code to show a couple things that could be done with STL and functors/generators:
#include <iostream>
#include <vector>
#include <algorithm>
#include <iterator>
#define EVENTS 100000...
Hi all ,
Is there any body who can tell how to create symbol table for compiler using C.
...
What are the alignment of sections and memory within an EXE file I need to specify when creating using in the Mosa IL compiler?
Thanks.
...
Hi,
I recently heard of a language that gives the same functionality as ActionScript (creating flash SWF files) with a certain speed increase. The language was called something along the lines of 'hex'.
Does anyone have any idea what this language is?
Thanks
...
We've got a reasonable sized C++ application that's pretty old at this stage, so it's got a few quirks.
One of these quirks is in how it deals with C++ compilers that use a pre-standisation standard library. There's one header file that's supposed to resolve any differences between a standards compliant compiler and this one non-compl...
One example of a common Clojure programming error is expecting a lazy expression to be evaluated for side-effects. On the surface it appears checking for unused lazy expressions would be helpful. What would be the best approach to identifying this and other common mistakes? Should the core compiler check for these situations, or should i...
The commandline for CUDA.rules file is:
echo [CompilerPath] [Keep]
[CInterleavedPTX] [ExtraNvccOptions]
[Arch] -ccbin
"$(VCInstallDir)bin"
[Emulation] [FastMath] [Defines]
-Xcompiler "/EHsc [Warning] /nologo [Optimization] /Zi
[RuntimeChecks] [Runtime] [TypeInfo]
[ExtraCppOptions]" [Include]
[MaxRegCount] [PtxAsOption...
I'm looking for a compiler to translate Java bytecode to platform-independent C code before runtime (Ahead-of-Time compilation).
I should then be able to use a standard C compiler to compile the C code into an executable for the target platform. I understand this approach is suitable only for certain Java applications that are modified...
Is there any substantial optimization when omitting the frame pointer?
If I have understood correctly by reading this page, -fomit-frame-pointer is used when we want to avoid saving, setting up and restoring frame pointers.
Is this done only for each function call and if so, is it really worth to avoid a few instructions for every funct...
So I'm writing a programming language in C++. I've written pretty much all of it except for one little bit where I need to turn my tokens into a parse tree.
The tokens are already type labeled and ready to go, but I don't want to go through the effort of making my own parse tree generator. I've been looking around for apps to do this bu...
Which complier is used in Blackberry development to make .cod files? Is it rapc?
...
Hello
I am using Visual Studio 2005 Proffesional Edition.
In the following example SomeClass is class that is defined in third party dll library I am using.
SomeClass has virtual methods. I noticed that the operator typeid gives different results when applied to the type itself, and when applied to object of the type. Is this normal be...
I want to make the automata to accept following regular expression using lex and yacc. The regular expression is R = (ab + a)* .
Can anyone help me to construct this automata using lex and yacc.
Thanks.
...
I need to set additional options for C compiler, e.g. add flag to turn all warnings ON, depending on the type of the compiler. E.g. for MSVC I should use
env.Append(CPPFLAGS = "/Wall")
but for mingw (gcc) I need to use:
env.Append(CCFLAGS = "-Wall")
How can I do this in scons way?
...
How much time would it take to write a C++ compiler using lex/yacc?
Where can I get started with it?
...
I am currently working on a compiler under C and I am abit lost at the part where we construct the data structure for AST, especially for the part where we construct stucture for IDs, it is called "Symbol Table Entry"
I see structures over net such as:
struct ste {
struct id *name; /* pointer into hash table for assoc. id */
st...