Questions tagged [compiler]

A Compiler is a program that translates a program written in a programming language into a more machine readable state. Use this tag if you are looking for a compiler for a given language.

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

Codegen for a scripting language

I'm looking to generate wasm (WebAssembly module; or wat -> wasm via wabt) or JavaScript from a compiler base I've just wrote in Java. It's for a statically-typed, ECMAScript based language. ...
1
vote
0answers
11 views

Ply VS Jflex+Cup [closed]

I'm trying to build a compiler for a Pascal like language, and trying to decide between Ply(python) or a combination of Jflex+Cup(Java). I can't find any proper materials in order to evaluate which ...
1
vote
1answer
33 views

Online IDE/Compiler for C++/CLI

I'm looking for an online IDE/compiler which supports C++/CLI. I've been hunting around and can't seem to find one: https://repl.it/ https://ideone.com https://paiza.io/ https://dotnetfiddle.net/ ...
0
votes
0answers
14 views

Converting C programs to GLSL

I need to convert some C functions to the GLSL shading language, but there are some limitations of GLSL that make this difficult. It's not possible to use tail-recursive C functions in GLSL, like this ...
2
votes
0answers
28 views

Are there free tools/setups for cached, distributed C++ compiling with CMake on Windows?

This problem touches too many topics outside of the CMake, C++, Windows world I am familiar with. I kind of hit a wall of way to many options to explore each one. Actually I am hoping for someone ...
1
vote
0answers
32 views

Compilers that can still target x86 x16 bit processors (8086,8088)

I'm looking for a compiler (preferably C, but honestly I'm interested in any high level language compiler) that can target 16 bit, x86 processors like the 8086 or 8088 and produce flat binaries. ...
1
vote
1answer
59 views

Is there any way to compile&test a win32 c/c++ code online and download executables?

Is there any way to compile&test a win32 c/c++ code online and download executables? If there is, I would be able to develop windows applications even on phone. Any links or helps are welcome! ...
0
votes
1answer
698 views

Compiler for AMD CPUs : C, C++, fortran and BLAS/LAPACK

I have been using Intel CPUs with Parallel Studio which bundles icc, icpc and ifort (compiler for C,C++ and Fortran) which are optimized for Intel. Moreover MKL (Math Kernel Library) with BLAS and ...
1
vote
0answers
8 views

Interpreter for any (hopefully popular) language written in Javascript

I have a project where I have to execute potentially unsafe code and I thought about using eval and it does work because most of the use cases imply having code written by oneself or other team ...
1
vote
1answer
46 views

Running CUDA kernel on CPU

Is there a compiler that can compile CUDA kernels to an executable running on CPU? Even if it is not accelerated and just a simulation, (for example threads run sequentially until the next synchronize,...
0
votes
0answers
3 views

Tools for model conversion and model validation

We have the following task: We have a complex, hierarchically structured user model (persisted in YAML, available as objects with attributes in RAM). This user model has to be checked against some ...
0
votes
0answers
9 views

What is the most straighforward way of writing a truly Self-Hosted program?

I have been thinking about making an application that compiles itself (primarily because it's fun and I will probably learn a lot of new stuff). After some research, I figured that this is called a ...
1
vote
0answers
20 views

Is there an auto-parallelizing compiler for Python?

I am searching for a compiler that can automatically parallelize Python programs. There is a "semi-automatic" parallelization tool called Pydron, but what I need is a fully-automatic parallelizing ...
1
vote
0answers
12 views

A C++ library used to compile C++ source code to machine code

I am looking for some compiler in form of a library that I could include in my program and use to compile C++ source. It should do something like this: const unsigned char* binary = compiler::...
0
votes
0answers
14 views

Install C++ compiler on windows 7 (live/online) without running .exe file?

How can I install software online (using command prompt) on windows without running exe file (either through GUI or cmd)? For example to install a c++ compiler on windows 7!
0
votes
0answers
2 views

Three address code tools

I'm looking for tools or software for three-address code generation in compiler project. what tools or software does it?
0
votes
0answers
6 views

How to get additional tool for MinGW-W64?

I can get additional tool easily for MinGW. Because MinGW has mingw-get.exe program. I can choose additional tools from a GUI. I want to know if there is the similar program for MinGW-W64? Because I ...
0
votes
0answers
14 views

Parser and Lex recommendations for C like language

Like mentioned I'm looking for a parser (and lex) for a c like language. However, there are some restrictions: I would prefer if the code or the development environment will be handled in c or c++. ...
5
votes
2answers
865 views

Module bundler for TypeScript in GreaseMonkey

I am writing a GreaseMonkey plugin in TypeScript. I am compiling main.ts file into main.js, and then put it on GreaseMonkey. The output file format looks like vanilla JavaScript, and GreaseMonkey ...
4
votes
0answers
19 views

Where to get specific Visual Studio older versions? [closed]

I am reverse-engineering a piece of software. I have identified the compiler used as Microsoft Visual C/C++(2003), Microsoft Linker(7.10)[EXE32] - That is Visual Studio .NET 2003 version 7.1 . I ...
2
votes
1answer
664 views

Looking for a Go to C compiler for Linux

Can someone point out a Go to C compiler to me, or does indeed none exist? A lengthy web search turned up nothing for me. In particular, I am looking for an open source Go-to-C compiler that can be ...
0
votes
1answer
60 views

A Java library for language-independent source code analysis

I'm looking for a Java library that would allow for modeling the elements of the source of an OOP programming language and performing post-parse semantic analysis on them. This library might have ...
1
vote
2answers
50 views

Inline functions in a C file and output a C file

I have a C file with functions and calls. I'm searching for a way to inline all calls. The output has to be a C file with only one function implementation. There are very few extern functions which ...
1
vote
0answers
181 views

How to convert python raw code to shellcode for specific arch and sys?

Is there any tool or python library for converting python code to shellcode for specific architecture (ex. x86) and system (ex. Windows Vista)? For instance I would like to convert: print "This is ...
0
votes
0answers
48 views

Is there a low cost C compiler for the 80C251 family?

Similar to https://stackoverflow.com/questions/978189/what-is-the-best-c-compiler-for-the-8051-family but with extended support for 251. Keil have a solution, but it's $3k. For us that investment ...
7
votes
2answers
784 views

TCC (Tiny C Compiler) (or similar) for C++

I like TCC because its small, requires no installation, and can be called to compile any .c file into any .exe thru start arguments of tcc.exe So i basically need exactly that for C++ It should need ...
1
vote
0answers
24 views

Benchmarking software for Fortran compilers

I am trying to benchmark a Fortran compiler on FreeBSD but I can't find any suitable testing suite. I found this Fortran UK: http://www.fortran.uk/fortran-compiler-comparisons/ but they only provide ...
8
votes
2answers
12k views

Offline LaTeX Editor and compiler for Android

I'm looking for an android app that allows me to write and compile LaTeX documents. It must: Work completely offline I'll probably be working at home a lot and there I only a have a dial up ...
3
votes
1answer
72 views

Merge ES6 modules

The new ES6 module syntax is very nice, but not yet supported by browsers. I'd like to use the new syntax while I'm developing, then compile the modules into one JS file which can run in browsers. I ...
2
votes
0answers
46 views

A service for checking compilability of C/C++ code by as many compilers as possible?

Let's consider a scenario where you want to see how certain code behaves when compiled by variuos compilers. My specific example, I want to check how certain construct behaves when compiled by ...
2
votes
0answers
156 views

JSP lint/validator tool

I’m looking for a static code analyzer that will check the syntax of our Java Server Pages code. We’re migrating to Tomcat 9 that is stricter and throwing errors for things like “Attribute qualified ...
0
votes
0answers
31 views

C/C++/C#/Java compilation library for Android

I want to develop compiler application in android but i am little bit confuse where to start. I have searched on google but i have not found any good example about compiler app. I want to create an ...
1
vote
2answers
376 views

Tool for distributed compilation of C++/Qt software

I am using C++/Qt/Qt Creator as IDE. Is there a tool I can use to speed up compilation by distributing the task among my other computers (in my case Win 7 machines)? Or is there even a service (on ...
3
votes
2answers
1k views

Do any compilers support the new C++17 structured bindings yet?

The (probable) final feature-set for the C++17 ISO standard has been publicized, and among these features is something called structured bindings: auto [a,b] = /* something like a tuple */; Are ...
1
vote
0answers
26 views

I want a C compiler with a configurable bit size

The C language is infamous for not specifying the size and format of the built-in types: A "byte" (char) can be anything from 8 bits and up An "int" can be any number of chars as long as it fits a ...
1
vote
1answer
107 views

Are there static language compilers that can target optimized Lua 5.1/5.2 code?

I want to compile a code written in a programming language with static semantics targetting an unique Lua equivalent optimized code (of preference, compatible with Lua 5.1/5.2). So I need a compiler ...
-2
votes
1answer
98 views

Compiler for the B language [closed]

It was mentioned that I can find a working B compiler. Is that still my best alternative for a B compiler with Linux?
2
votes
0answers
240 views

C compiler for 8086 or other 16-bit target

I'm looking for a C cross-compiler and emulator for a 16-bit processor that runs under Linux. I'd prefer for the target to be 8086 with FreeDOS or on Dosemu (then finding an emulator is not a problem)....
19
votes
5answers
85k views

Apple Swift compiler for Windows

I am looking for an Apple Swift compiler for Windows (running under Windows and producing code for Windows), without having to virtualize any OS. It needs to run at least on Windows 7 x64.
2
votes
1answer
584 views

C11 compiler for Windows

I want to know what C11 compilers exist for Windows. Even better if whatever libraries they use support native C11 threads (ie: not some hacked stuff on top of pthreads).
4
votes
2answers
167 views

Software to implement an online programming system

I know of places like Codingground, and I was wondering if a software like they use to render a complete IDE with menus, editor, console output, etc, is available so I can build something similar for ...
0
votes
1answer
54 views

C compiler for Android apps on Linux (with examples and emulator)

I would like to make some simple 2D single player games (with no need for fancy graphics) for Android devices. I am not looking for a full blown IDE, but just for a compiler that works under Linux ...
1
vote
0answers
124 views

Java code editor & compiler on iOS iPad

I'm looking for a code editor (compatible with iOS on an iPad) that has the following features: Java code editor Java code compiler Java code is shown neatly (syntax highlighting would be an added ...
0
votes
0answers
60 views

Android compiler compatible with WinForms

I have created a C# program, that we want to be installed on a mobile device. However, since we are aiming at installing this on an Android device, the .NET framework is incompatible with the Android ...
0
votes
1answer
1k views

TypeScript compiler for Python

I need a library capable of compiling TypeScript to JS for Python. Platform: Python 2.7.x. If the library depends on an external executable, the SO is Ubuntu 14.04 or upper. Otherwise, SO doesn't ...
0
votes
2answers
90 views

Windows compiler for C# project

Which software/environment could I use to run this project? It's a pretty old one, from 2007 I think. It contains .cs and .resx files. Requirements: Free As easy as possible to just compile the ...
1
vote
0answers
101 views

Memoizing build system

I'm looking for a memoizing build system*. The requirements: active development or community not tied to any particular language supports variant builds I took a look at fbuild. It seems help back ...
1
vote
1answer
765 views

Compiler, assembler and IDE on Ubuntu on ARM

I am new to ARM world. I have written a program involving a C function and also some assembly code. I cross compiled it on my x86 based system (Ubuntu) using g++-arch-linux-gnu. Now I have gotten my ...
3
votes
1answer
2k views

Atom g++ compiling package?

I would like to know if there is a g++ compiling package that allows me to compile and run my c++ programs directly in Atom. A GUI tool might be a bless. Also is there a terminal emulator cause I ...
2
votes
1answer
34 views

Tool for online source compilation?

I'm developing a mobile app that has tons of art, ~500MB. Every change the client needs to implement takes a lot of time for my upload to finish, and it's taking forever. I was wondering if there is ...