Showing posts with label compiler. Show all posts
Showing posts with label compiler. Show all posts

Friday, June 8, 2012

How to translate between programming languages


I am setting out to do a side project that has the goal of translating code from one programming language to another. The languages I am starting with are PHP and Python (Python to PHP should be easier to start with), but ideally I would be able to add other languages with (relative) ease. The plan is:

Wednesday, May 16, 2012

Compiling an AST back to source code


I'm currently in the process of building a PHP Parser written in PHP, as no existing parser came up in my previous question . The parser itself works fairly well.

Thursday, May 10, 2012

CoffeeScript-like language written in Python


Are there any languages targeting JavaScript (like CoffeeScript) and written in Python? I found Pyjamas , but it’s GWT of Python as I see. I want a language that doesn’t need heavy runtime library and is able to be compiled to JavaScript. I found Mascara also, and it very satisfies my requirements except it’s license. CoffeeScript is ideal for me except it’s written in CoffeeScript itself. I have to compile [CoffeeScript-like language] source codes into JavaScript statically in Python application.

Wednesday, May 2, 2012

ECMAScript:Harmony / ES6 to JavaScript compiler


After reading Peter's article on JavaScript I noticed




Brendan Eich stated that one the goals for Harmony is to be a better target for to-JavaScript compilers.


Wednesday, April 25, 2012

What causes java.lang.IncompatibleClassChangeError?


I'm packaging a Java library as a JAR, and it's throwing many java.lang.IncompatibleClassChangeError s when I try to invoke methods from it. These errors seem to appear at random. What kinds of problems could be causing this error?

Sunday, February 12, 2012

Can Emscripten compile LLVM to JavaScript?


I'd like to know if Emscripten is self-hosting in such a way, that it can compile LLVM to JavaScript?