cakelisp
urn
Our great sponsors
cakelisp | urn | |
---|---|---|
11 | 6 | |
327 | 362 | |
- | - | |
7.2 | 0.0 | |
over 1 year ago | over 5 years ago | |
C++ | Common Lisp | |
GNU General Public License v3.0 or later | BSD 3-clause "New" or "Revised" License |
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.
cakelisp
-
LISP for UNIX-like systems
You might be interested in CakeLisp.
-
Best Lisp/scheme for OSDev?
Cakelisp
-
Interesting or distinctive lisps?
"Cakelisp is a metaprogrammable, hot-reloadable, non-garbage-collected language ideal for high performance, iteratively-developed programs (especially games). It is a transpiler which generates C/C++ from an S-expression syntax. Cakelisp takes some inspiration from Lisp, but is not compatible and does not aspire to become 'a Lisp'."
-
How about https://github.com/rust-lang/rust/labels/I-unsound? I think everyone saying Rust is "high quality" or whatever is delusional until there are zero bugs on their GitHub. I also don't want to know about your 3 year old's ugly drawings.
This is a bug. Literally unusable.
-
Suggestions for a functional language for videogames
Also look into Gamelisp's state machines which are an awesome way of modeling stateful in-game objects. Cakelisp is another cool language made specifically for gamedev.
-
Hitting a wall: the importance of learning without a game engine
I wrote a language primarily to make that sort of feature easy to create, via compile time code generation and execution. See Cakelisp.
-
Is there any c lisp dialect with features of nim or ziglang
cakelisp has no GC and is meant for games programming.
-
Cakelisp A Programming Language For Games
I've added a roadmap with items from my to-do list. I'm happy to receive ideas for features not on that list as well :).
urn
-
Using other languages
There's many different languages that can compile to Lua: - TypeScript is probably the most well-known and most compatible language for Lua. The TypeScriptToLua compiler lets you compile TypeScript code into Lua with a mostly 1:1 conversion. You can use the @jackmacwindows/craftos-types and @jackmacwindows/cc-types NPM packages to add typing declarations for CraftOS APIs and modules. Alternatively, use my template repo for a more ready-to-go setup. - Haxe was built with compilation to Lua in mind, and so you can write code for it and have it run just fine in CC. There's some declarations for it available online, and I also have my own typing set for it (which I should really upload somewhere - DM me if you want it for now). - C# can also compile to Lua, but it's a bit tough to get working right in CC, as it has a huge default library and abuses the global table in a way that CC has trouble with. However, it's possible to use, and I've gotten it working in the past (unfortunately, I don't know how anymore). - Urn is a Lisp dialect that was built by two CC devs and was designed to run in CC. However, I wouldn't recommend it unless you're good with functional programming.
-
C-Lisp Implementations for microcontrollers?
Also, if the microcontroller you're working with is an ESP32 chip, you may be able to use use one of the lisp-to-Lua transpiled languages (urn or fennel) with something like Lua RTOS or NodeMCU. Not entirely sure how well this works in practice, but in theory it should be possible. Of the two, Fennel's probably more likely to behave well when used like this because it's more like a thin translation layer on top of Lua, but Urn's probably going to feel more comfortable to use because it feels like this weird mix of CL and Racket design.
-
Interesting or distinctive lisps?
Urn Lisp, A Lisp implementation on top of Lua: https://urn-lang.com
-
Trying Fennel for GTK apps and it's surprisingly good
I don't know how much of reloading you need. I did something like that many moons ago. See here: https://github.com/SquidDev/urn/issues/12
-
Urn for CC?
Clone Urn: wget run https://gist.githubusercontent.com/SquidDev/e0f82765bfdefd48b0b15a5c06c0603b/raw/clone.lua https://github.com/SquidDev/urn.git (or similar)
What are some alternatives?
lobster - The Lobster Programming Language
Fennel - Lua Lisp Language
phel-lang - Phel is a functional programming language that transpiles to PHP. A Lisp dialect inspired by Clojure and Janet.
LiveSplit - A sleek, highly customizable timer for speedrunners.
liz - Lisp-flavored general-purpose programming language (based on Zig)
medley - The main repo for the Medley Interlisp project. Wiki, Issues are here. Other repositories include maiko (the VM implementation) and Interlisp.github.io (web site sources)
ulisp-arm - A version of the Lisp programming language for ARM-based boards.
magnum - Lightweight and modular C++11 graphics middleware for games and data visualization
flitter - A Livesplit-inspired speedrunning split timer for Linux/macOS terminal. Supports global hotkeys.
cl-comfy-6502 - Baker's COMFY compiler for the 6502 ported to Common Lisp
Penlight - A set of pure Lua libraries focusing on input data handling (such as reading configuration files), functional programming (such as map, reduce, placeholder expressions,etc), and OS path management. Much of the functionality is inspired by the Python standard libraries.