cling
cppreference-doc
Our great sponsors
cling | cppreference-doc | |
---|---|---|
19 | 7 | |
3,310 | 511 | |
2.5% | - | |
8.6 | 2.1 | |
4 days ago | 8 months ago | |
C++ | HTML | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 only |
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
-
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
Similar to Cling[1] from ROOT.
-
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
-
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.
- Fête à bord d’un avion de Sunwing | L’organisateur s’explique sur l’origine de sa fortune
-
Interpreter vs Compiler
"Exclusively" may be a tough claim. C++ has the Cling interpreter, for example. You could say that "most C++ implementations are compilers". My understanding with Python is that it is challenging to write a compiler for because it's a "dynamic" language. For example, it's possible to create a new datatype at runtime, or even to build strings and tell the interpreter to execute them as source code.
-
Python switch statement ftw (finally)
https://root.cern/cling/ https://github.com/root-project/cling
-
Getting information about classes, methods and variables in C++?
cling(https://github.com/root-project/cling) a c++ interpreter may help, or you can use an IDE or https://en.cppreference.com/ (on duckduckgo you can search directly on it with the !cpp bang, or use firefox 'add a keyword for this search' feature which is really great)
-
Wisp: A light Lisp written in C++
It has been done several times, at least.
http://www.hanno.jp/gotom/Cint.html
https://github.com/root-project/cling
https://www.softintegration.com
You can argue whether some of those are strictly interpreters, versus just a REPL hooked up to a compiler (as in the case of Cling). But they do exist.
cppreference-doc
-
Is there any C++ tutorials that don't assume this is your first language?
A couple tips: * To look up info about the C++ language and standard libraries, cppreference is fantastic. * The godbolt compiler explorer is very cool for investigating "is this code legal" and "what assembly does this compile to" type questions.
-
What are some C++ specific antipatterns that might be missed by C#/Java devs?
Learn as much of the stl as possible (https://en.cppreference.com/)
-
Super unpopular opinion incoming.
Actually, en.cppreference.com/ is OK. I often lookup here every time I write C++.
What are some alternatives?
termux-ndk - android-ndk for termux
xeus-cling - Jupyter kernel for the C++ programming language
telescope-vimwiki.nvim - look through your vimwiki with your telescope
femtolisp - a lightweight, robust, scheme-like lisp implementation
sectorlisp - Bootstrapping LISP in a Boot Sector
cppreference-doc - C++ standard library reference
foth - Tutorial-style FORTH implementation written in golang
magic_get - std::tuple like methods for user defined types without any macro or boilerplate code
mal - mal - Make a Lisp
OpenSceneGraph - OpenSceneGraph git repository
rellic - Rellic produces goto-free C output from LLVM bitcode
CPython - The Python programming language