Until recently, you needed to use a Java decompiler and all of them were either unstable, obsolete, unfinished, or in the best case all of the above. And, if not, then they were commercial. The obsoleteness was typically proved by the fact that they can only decompile JDK 1.3 bytecode. The only so-so working solution was to take the.class file and pre-process it, so it becomes JDK 1.3 compatible, and then run Jad over it (one of those older, but better decompilers). But recently, a new wave of decompilers has forayed onto the market: Procyon, CFR, JD, Fernflower, Krakatau, Candle.
The compiler is able to compile itself. You can see its code both as an implementation of the C language and as an example of what this compiler is able to compile. 8cc's source code is carefully written to be as concise and easy-to-read as possible, so that the source code becomes good study material to learn about various techniques used in. Oct 29, 2018 - Online compilers are one type of tools that allows to compile the source code and execute it. Online compilers execute in a various.
Here's a list of decompilers presented on this site: CFR Free, no source-code available, Author: Lee Benfield Very well-updated decompiler! CFR is able to decompile modern Java features - Java 9 modules, Java 8 lambdas, Java 7 String switches etc. It'll even make a decent go of turning class files from other JVM langauges back into java! JD free for non-commercial use only, Author: Emmanuel Dupuy Updated in 2015.
Has its own visual interface and plugins to Eclipse and IntelliJ. Written in C, so very fast. Supports Java 5. Procyon open-source, Author: Mike Strobel Updated in 2015. Handles language enhancements from Java 5 and beyond, up to Java 8, including:. Enum declarations. Enum and String switch statements.
![Open source online code compiler Open source online code compiler](/uploads/1/2/5/5/125504908/984219519.png)
Local classes (both anonymous and named). Annotations.
Java 8 Lambdas and method references (i.e., the:: operator). Java 7 is required to run. Fernflower open-source, Author: Egor Ushakov Updated in 2015. Very promising analytical Java decompiler, now becomes an integral part of IntelliJ 14. Supports Java up to version 6 (Annotations, generics, enums) JAD given here only for historical reason.
Free, no source-code available, Author: Pavel Kouznetsov Probably, this is the most popular Java decompiler, but primarily of this age only. Written in C, so very fast. Outdated, unsupported and does not decompile correctly Java 5 and later. Need to know what traffic your competitors are generating? Check out my new service.
8cc C Compiler 8cc is a compiler for the C programming language. It's intended to support all C11 language features while keeping the code as small and simple as possible. The compiler is able to compile itself. You can see its code both as an implementation of the C language and as an example of what this compiler is able to compile. 8cc's source code is carefully written to be as concise and easy-to-read as possible, so that the source code becomes good study material to learn about various techniques used in compilers.
You may find the lexer, the preprocessor and the parser are already useful to learn how C source code is processed at each stage. It's not an optimizing compiler. Generated code is usually 2x or more slower than GCC.
I plan to implement a reasonable level of optimization in the future. 8cc supports x86-64 Linux only. I have no plan to make it portable until I fix all known miscompilations and implement an optimization pass. As of 2015, I'm using Ubuntu 14 as my development platform. It should work on other x86-64 Linux distributions though. Note: Do not have high expectations on this compiler.
If you try to compile a program other than the compiler itself, there's a good chance to see compile errors or miscompilations. This is basically a one-man project, and I have spent only a few months of my spare time so far. Build Run make to build: make 8cc comes with unit tests. To run the tests, give 'test' as an argument: make test The following target builds 8cc three times to verify that stage1 compiler can build stage2, and stage2 can build stage3. It then compares stage2 and stage3 binaries byte-by-byte to verify that we reach a fixed point.
Make fulltest Author Rui Ueyama Links for C compiler development Besides popular books about compiler, such as the Dragon Book, I found the following books/documents are very useful to develop a C compiler. Note that the standard draft versions are very close to the ratified versions. You can practically use them as the standard documents. LCC: A Retargetable C Compiler: Design and Implementation,. TCC: Tiny C Compiler,.
C99 standard final draft. C11 standard final draft. Dave Prosser's C Preprocessing Algorithm. The x86-64 ABI.