cling
rellic
Our great sponsors
cling | rellic | |
---|---|---|
19 | 5 | |
3,329 | 511 | |
1.7% | 2.0% | |
8.6 | 5.5 | |
12 days ago | 3 months ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cling
- Cling 1.0 Released
- Cling: Interactive C++ Interpreter
-
Interactive GCC (igcc) is a read-eval-print loop (REPL) for C/C++
More recent activity, but based on clang: https://github.com/jupyter-xeus/xeus-cling https://github.com/root-project/cling
-
It's 2023, so of course I'm learning Common Lisp
> The repl driven workflow is amazing and the lisp images are rock solid and highly performant.
do people not realize that basically everything vm/interpreted language has a repl these days?
https://www.digitalocean.com/community/tutorials/java-repl-j...
https://github.com/waf/CSharpRepl
https://pub.dev/packages/interactive
not to mention ruby, python, php, lua
hell even c++ has a janky repl https://github.com/root-project/cling
-
Compiled and Interpreted Languages: Two Ways of Saying Tomato
Interactive C++ with Cling, https://blog.llvm.org/posts/2020-11-30-interactive-cpp-with-cling/, https://github.com/root-project/cling/, Relaxing the One Definition Rule in Interpreted C++, https://dl.acm.org/doi/10.1145/3377555.3377901 (PDF: https://www.researchgate.net/publication/339463915_Relaxing_the_one_definition_rule_in_interpreted_C)
-
dont want online ones
Want to see your mind blown? Check out cling, a (sort of) C and C++ interpreter (it's a REPL). Or the work in progress, live-developed clauf, a real C interpreter.
-
How to cling for execute code plugin?
Cling: https://github.com/root-project/cling
-
Do you use Wokwi to test/simulate/debug your ESP32/Arduino code, or are there other dev tools a better fit for the ESP32?
Wanting to just test pure c or c++ functions that are hardware independent -> (solution that I'm using): cling just in time compiler, gives a shell that you can just experiment with C++ expressions
-
gcc is pre installed but g++ not?
C++ source cannot contain a shebang, but you can make them executable with binfmt-misc, and have the kernel pass them to a C++ interpreter such as Cling upon execution. Pretty much the same as running Python or Bash scripts.
- Fête à bord d’un avion de Sunwing | L’organisateur s’explique sur l’origine de sa fortune
rellic
- Understanding Objective-C by transpiling it to C++
-
An Algorithm for Structuring Flowgraphs (1977) [pdf]
Rellic[0] is a decompiler that uses a similar, more modern approach to turn LLVM IR into goto-free C code
[0]: https://github.com/lifting-bits/rellic
-
Decompiler Explorer
Rellic [1] implements an algorithm that generates goto-free control flows (citation in README), which would be a significant improvement against what Ghidra/IDA generates currently.
Unfortunately it looks like the maintenance state of the pieces around Rellic isn't very good, and it's quite rocket science to get it building. It doesn't have as much UI/GUI as Ghidra either so it's a bit far from accessible right now.
[1]: https://github.com/lifting-bits/rellic
- Snowman native code to C/C++ decompiler for x86/x86_64/ARM
-
Q: Irreducible Control Flow Graph in current compilers?
Worthlooking into "No more gotos" paper, you can find a copy here: https://github.com/lifting-bits/rellic/blob/master/docs/NoMoreGotos.pdf
What are some alternatives?
termux-ndk - android-ndk for termux
rz-ghidra - Deep ghidra decompiler and sleigh disassembler integration for rizin
xeus-cling - Jupyter kernel for the C++ programming language
faust - Functional programming language for signal processing and sound synthesis
femtolisp - a lightweight, robust, scheme-like lisp implementation
lumen - A private Lumina server for IDA Pro
cppreference-doc - C++ standard library reference
ghidra - Ghidra is a software reverse engineering (SRE) framework
sectorlisp - Bootstrapping LISP in a Boot Sector
mull - Practical mutation testing and fault injection for C and C++
foth - Tutorial-style FORTH implementation written in golang
snowman - Snowman decompiler