thirteen-letters
cling
thirteen-letters | cling | |
---|---|---|
2 | 19 | |
3 | 3,351 | |
- | 1.2% | |
7.7 | 8.4 | |
10 months ago | 6 days ago | |
Common Lisp | C++ | |
GNU Affero General Public License v3.0 | GNU General Public License v3.0 or later |
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.
thirteen-letters
-
It's 2023, so of course I'm learning Common Lisp
Note that Common Lisp doesn’t require functional programming. Mutation, side effects, etc. are fine. I just write imperative code for the most part.
My code was quick and dirty, so I don’t think anyone will learn anything from it, but it’s here: https://github.com/jaredkrinke/thirteen-letters
-
Show HN: Multiplayer Word Scramble in Browser, Using Common Lisp
Thirteen Letters is a web-based, competitive word scramble game I made for the Lisp Game Jam (Spring 2023) [0].
The gameplay isn't novel, but it's a multiplayer browser game that's written in 100% Common Lisp (cf. the source code [1]). The front end uses Parenscript, Spinneret, and cl-css to translate s-expressions to JavaScript, HTML, and CSS, respectively. The back end is built using the Hunchentoot web server, Hunchensocket for WebSockets, and yason for JSON, running on SBCL.
I'm fairly new to Common Lisp, so I'm not qualified to dispense advice, but I found having a REPL on the live service to be convenient for monitoring activity, toggling settings, and fixing minor bugs on the fly. It's a lot of fun for hobby projects, although I'd be much more cautious with anything important--I definitely broke the live service a few times by not being careful! I posted a more thorough braindump elsewhere [2].
Let me know what you think! I'm happy to answer any questions. I'll play for a while, to hopefully give people a moderately worth opponent :)
[0] https://itch.io/jam/spring-lisp-game-jam-2023/rate/2103016
[1] https://github.com/jaredkrinke/thirteen-letters
[2] https://log.schemescape.com/posts/game-development/lisp-game...
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
What are some alternatives?
ql-https - HTTPS support for Quicklisp via curl
termux-ndk - android-ndk for termux
slyblime - Interactive Lisp IDE with REPL, Inspector, Debugger and more for Sublime Text 4.
xeus-cling - Jupyter kernel for the C++ programming language
tools.decompiler - A decompiler for clojure, in clojure
femtolisp - a lightweight, robust, scheme-like lisp implementation
yesod-persistent - A RESTful Haskell web framework built on WAI.
cppreference-doc - C++ standard library reference
CSharpRepl - A command line C# REPL with syntax highlighting – explore the language, libraries and nuget packages interactively.
sectorlisp - Bootstrapping LISP in a Boot Sector
alive - Common Lisp Extension for VSCode
foth - Tutorial-style FORTH implementation written in golang