A compiler is a program which translates one language into another. The tag [compiler] should be applied to questions concerning the programming of compilers or for questions about the detailed inner workings of compilers. Don't use [compiler] for questions about options and settings for a ...

learn more… | top users | synonyms (2)

5
votes
0answers
139 views

System.Plugins loader seems to assume failure after seeing a failure once

I am currently working on a haskell program which takes a users input from a text box, then compiles and loads it using the System.Plugins library in order to extract a picture to draw to the screen. ...
4
votes
0answers
194 views

Delphi 7 Compiling components on every build

I usually don't show compiler progress when compiling, but I decided to turn it on. I noticed that when my program compiles, it is also compiling the components that it uses. For example it uses ...
4
votes
0answers
202 views

Can Visual Studio tell me the SSE2 register spill count of compiled code?

I do not have any real compiler knowledge, and I used to hand-code SSE2 functions for selected pieces of code. I know how to read the generated machine code, but largely unaware of the crazy ...
4
votes
0answers
849 views

Error: Junk character at end of line, first unrecognized character valued 0x7F

I am a newbie to Android NDK, I am using android-ndk-r5 to build the Gearoid source code. After several warning of the following type warning: null characters ignored the assembler terminates with ...
3
votes
0answers
195 views

Python compiler for simple language to java vm code algorithm

I have a simple language that I am trying to write a compiler for (yes it is homework) to compile a simple language I shall describe if necessary to java vm code. It currently works pretty well I've ...
3
votes
0answers
911 views

time complexity trade offs of nfa vs dfa

(i found the answer, its below in comments for anyone else) i am looking for a discussion on which is better used and in what circumstanes in a compiler an nfa or dfa. what are the time complexity ...
2
votes
0answers
84 views

How to compile for the Erlang VM

I'm trying to implement a small description language for user scripting in an application. Basically users describe how objects are created from other objects. (Not really a programming language). I ...
2
votes
0answers
173 views

What is the simplest way of parsing C++ source code (extracting meta-info) in Java?

I need to extract classes, methods and parameters from .c/.cpp files in Java code. I've reviewed: Antlr (can't find any ready c++ grammar for Java target), gccxml (probably works but i can't test ...
2
votes
0answers
85 views

Using Stacks for Symbol Tables or not

I'm working on creating a compiler and have come across some text that suggests two different ways of implementing symbol tables. With one, there is a symbol table for each level of nesting which is ...
2
votes
0answers
109 views

GCC plugin adding a pass to introduce new keyword

I have just started exploring into the world of GCC plugins API and I'm trying to extend GCC for the following example. class Foo { ... }; Foo* f = __construct Foo(); // __construct is meant to be a ...
2
votes
0answers
170 views

Putting source information into LLVM bitcode files for debugging compiler errors

I'm making a basic compiler and want to put the source lines of code somewhere near the llvm code that is produced for easy debugging. For example: proc f(a:Int, b:Int):Int { return a + b; } ...
2
votes
0answers
236 views

BLAS library incompatible with Fortran 77 compiler settings

I'm trying to install Octave-3.6.2 from source on Ubuntu 12.04 with KDE desktop but when I run the Octave configure script I get this error BLAS library was detected but found incompatible with your ...
2
votes
0answers
361 views

Create data flow graph of a basic block from Gimple representation

the Gimple internal representation (IR) of GCC provides some data flow analysis for each basic block in the SSA (Static Single Assignment) form. I would like to take the GCC-generated Gimple file as ...
2
votes
0answers
142 views

llvm JIT target assembly instruction count

I want to print the total number of NATIVE TARGET instructions executed while executing a program using the JIT. My plan was to add a instruction (which increment a variable in memory) after EVERY ...
2
votes
0answers
183 views

scala nsc IMain bind() speed and memory issues

We are using tools.nsc.interpreter.IMain's bind() and interpret() method to execute scala scripts on a server. This is on on scala 2.9.1 and Java 7u2. After repeatedly using the same IMain instance, ...

1 2 3 4 5 55
15 30 50 per page