code-translation Questions

1

Solved

I am trying to construct a translator that could convert PL/SQL code to Java using Antlr 4 and StringTemplate 4. I have the grammar of PL/SQl and have already build a parser for PL/SQL but i have n...
Cusk asked 12/12, 2013 at 10:35

2

Solved

I was wondering between the transpiler and compiler. For example, I have a language('let's call it foo') and it will be transpiled to javascript. foo -----transpiled-----> javascript However...
Taurus asked 25/12, 2013 at 10:35

3

Solved

How can I build an AST (Abstract Syntax Tree) from gcc C code in order to make some modifications, like converting some int variables to float, and reproduce(generate) the code to C syntax again af...
Hydrolyze asked 27/11, 2013 at 18:53

2

Solved

I found this article on CodeProject: http://www.codeproject.com/Articles/512956/NET-Shell-Extensions-Shell-Context-Menus and thought it would be nice to give it a try, but in F#. So I came up with...
Factotum asked 21/7, 2013 at 21:16

4

What is the best tool out there at the moment to convert java to c#? Apart from j2ctranslator j# I use IKVM at the moment.
Millda asked 22/5, 2009 at 8:27

2

Solved

Because I want to use Lisp's syntax and Python's libraries. Maybe some tools like Parenscript but generates Python code instead of Javascript.
Numen asked 31/8, 2013 at 5:41

2

Solved

I wrote a game using coffeescript but I would have preferred to write it in typescript. The brute force way to resolve this is to convert the code by hand. But I'm wondering if there's a way ...
Janelljanella asked 18/6, 2013 at 20:29

6

I have some C++ code. In the code there are many classes defined, their member functions, constructors, destructors for those classes, few template classes and lots of C++ stuff. Now I need t...
Argentous asked 10/4, 2009 at 10:30

2

Solved

I have been trying to find a way to convert .py source file to .cpp source (as a time saver from doing it manually). I've never used python before and was hoping for a quick way to convert it...
Ulani asked 8/3, 2013 at 20:54

1

Solved

I found this article about converting english sentences to Scheme, but can't seem to find any efforts to do the inverse (i.e. Scheme to english sentences): ftp://ftp.cs.utexas.edu/.snapshot/h...
Hieronymus asked 12/2, 2013 at 19:19

6

Solved

I am not looking for a necessarily super-robust solution with a 10-year track record, but for something that can be used in a real applications, and goes beyond just being able to run an Hell...
Agnostic asked 7/6, 2011 at 22:13

1

Solved

This code: #define __STDC_FORMAT_MACROS #include <inttypes.h> #include <stdio.h> #include <stdlib.h> #include <stdint.h> int main(int argc,char **argv) { uint64_t val=1234...
Plumb asked 8/8, 2012 at 17:5

10

Solved

I always asked myself if it would be possible to make a Java to C++ converter. Maybe a tool that converts the Java syntax to the C++ syntax? I am aware that the languages differ, but simple...
Uncritical asked 17/2, 2009 at 13:36

2

Is there any source-to-source converter (translator) from Ada (95, 2005) to C? How full they are (can they convert every feature of Ada into gnu c99 + pthreads + POSIX)? Is it possible to us...
Bergeron asked 30/5, 2012 at 13:30

3

Solved

Let me say first that I'm NOT searching for automagical solutions here. I want to translate code from Python to Smalltalk because I've noticed some very simple sentences can be automatically transl...
Schappe asked 23/4, 2012 at 0:40

1

Before someone shoots me down, I am aware of the Java to binary compilers and I'm not after one of those. I also know there will be no perfect tool that converts everything without any probl...
Tandi asked 12/4, 2012 at 1:36

1

Solved

I need to convert x86 assembly source code to LLVM human-readable .ll file (aka LLVM assembly language). How can I do this? If there is no direct solution would it be possible to implement on...
Chiapas asked 26/1, 2012 at 5:20

1

Solved

I have a twig file and a yml, in which I define the variables for translation e.g.: YML File - variable.for.translation: Disponible, para tí Content of Twig File - <h2>"Hola, Follow {...
Connatural asked 4/1, 2012 at 12:8

1

Solved

I been debugging REP STOS DWORD PTR ES:[EDI] for a while now From my conclusion it always uses ECX as counter. EAX as the value that will be copied over EDI and then appended ECX times so after...
Kampala asked 14/10, 2011 at 5:52

14

I'm using CoffeeScript to make JavaScript development easier. It's a language with clean syntax that compiles into JavaScript. So, what are the established programming languages that compile...
Schroder asked 27/6, 2011 at 20:55

2

Solved

Hey folks, I have the following piece of code from C++. for (int i=0; i < nObstacles; i++) { int x,y; bool bAlreadyExists; do { x = rand() % nGridWidth; y = rand() % nGridHeight; } whi...
Camus asked 22/3, 2011 at 23:31

2

Solved

I've got a bunch of math/dsp algorithms in C. Single functions, one function per file, no fancy linking or includes or preprocessor directives, only c99 and standard library calls (mainly mem...
Trichinopoly asked 18/11, 2010 at 1:21

1

Solved

I'd like to save some simple data. On the iPhone, I can do it with NSUserDefaults in Objective-C. What is the similar command here in Android? I'm just saving a few variables, to be reused as lon...
Ariadne asked 27/8, 2010 at 12:49

3

Solved

I used to use OpenC++ (http://opencxx.sourceforge.net/opencxx/html/overview.html) to perform code generation like: Source: class MyKeyword A { public: void myMethod(inarg double x, inarg const ...
Deerstalker asked 24/5, 2010 at 3:33

5

Reasoning: I'm trying to convert a large library from Scheme to Python Are there any good strategies for doing this kind of conversion? Specifically cross-paradigm in this case since Python is mor...
Prescind asked 23/5, 2010 at 20:29

© 2022 - 2024 — McMap. All rights reserved.