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 into C/C++ source code, to simplify syntax and/or enhance functionality?
Examples include VBScript, c#, Matlab, Microfocus COBOL, and IBM's mainframe, AIX, and linux compilers. There are also programming languages that are used inside a company, but the compiler is not made available outside the company, or has very limited distribution. IBM's PL/S and its derivatives are a classic example.
Javascript has a reasonably C-like syntax, and it's a very popular language. Javascript has a lot of quirks, but it has one powerful similarity to C - it's simple.
No. C++ -> C was used only in the earliest phases of C++'s development and evolution. Most C++ compilers today compile directly to assembler or machine code. Borland C++ compiles directly to machine code, for example.
The C language is not a piece of software but a defined standard, so one wouldn't say that it's open-source, but rather that it's an open standard. There are a gazillion different compilers for C however, and many of those are indeed open-source.
The language Haxe can output to C++, C#, Java, JavaScript, Python(experimental), PHP, Flash and NekoVM.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With