Our great sponsors
trial | Fennel | |
---|---|---|
10 | 91 | |
832 | 2,289 | |
6.4% | - | |
9.9 | 9.3 | |
4 days ago | 9 days ago | |
Common Lisp | Fennel | |
zlib License | MIT 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.
trial
- Trial Game Engine Issue
-
Submissions to Spring Lisp Game Jam 2023
Little Spark - made with Trial
- Show HN: Kandria, an action RPG made in Common Lisp is now out
-
Kandria, an action RPG written in Common Lisp releases in a week on January 11!
The engine is called Trial. https://github.com/shirakumo/trial.
- Lisp-Stick on a Python
-
interested in learning lisp, (specifically for games, but also for everything else including tui and gui applications for linux. currently have next to no programming knowledge, can i get forwarded some resources and some tips on what exactly i should do? any videos i should watch?
I don't know what the situation is like for 3D game programming in CL. Shinmera recently kickstarted a game but it's 2D I think and I don't know if his engine (https://github.com/Shirakumo/trial) does 3D. But regardless of what you're using, going into learning how to program while also trying to learn how to use the game engines available in the CL world will probably be a recipe for getting overwhelmed and discouraged. I'd recommend going through the Steve Losh post first and reading A Gentle Introduction to Symbolic Computation and/or Practical Common Lisp to get some solid general familiarity with using CL. Both are available online for free. You can also browse through the Cookbook: https://lispcookbook.github.io/cl-cookbook/
-
Common lisp game development libraries
For graphics there's a lot of different variants and options. I use Trial, but that doesn't have any docs yet, I'm afraid.
- Trial: A fully-fledged Common Lisp game engine
-
Our Lisp game, Eternia: Pet Whisperer is now out on Steam!
Kandria and Eternia both are built on top of the game engine Trial, which I and a few others at Shirakumo have been working on for some years now. Trial itself makes use of a bunch of lower level libraries like cl-opengl, GLFW, pngload, harmony, etc. but a huge amount of the codebase was written by me. If you're interested in its development, I recommend hopping by the #shirakumo channel on the Freenode IRC network. I'd be happy to answer questions there!
-
Idiomatic way to handle non GC objects, i.e. OpenGL textures ?
A good way to do it is to keep a staging area of sorts that keeps track of the manually allocated objects and their state. When you allocate you batch all objects to allocate together and then execute the load in one go, updating the records in the staging area. Then, when you're ready to switch to a different scene or whatever, you diff the staging area against the current set of objects that need to be live and deallocate everything else in one go.
Fennel
-
Did we lose our way in making efficient software? – ~30 MB doc file vs. browser
It's interesting: minimal software is out there, but folks don't tend to choose it. I spend a fair amount of time thinking about how to be conservative in my dependencies, and this encourages a lightweight stack that tends to perform pretty well. These days, I'm favoring tools like Lua, SQLite, Fennel[0], Althttpd[1], Fossil[2], and the Mako Server[3] and find that great, lightweight, stable, efficient software is to be had, for free, but you have to go a bit off the beaten path. This isn't stuff you hear about on Stack Overflow.
In terms of frontend, which the post focuses on (Google Docs and a 30MB doc), I guess I'm conflicted. While I tend to favor native apps + web pages, I'm also a daily Tiddlywiki user, and I really think web apps have their place (heck, one idea I'm working on is a lightweight local server that lets you run web apps like Tiddlywiki). But without a doubt, Tiddlywiki is more resource intensive than Emacs (my go-to for notetaking when I'm not on TW). My tab for a 6MB Tiddlywiki file uses 155MB of RAM, and my (heavily customized, dozens of open buffers) Emacs session uses 88MB. So I do think the author has a good point.
[0]: https://fennel-lang.org/
-
Pluto, a Modern Lua Dialect
Eh it's not just luajit and luajit didn't create that problem either. It's a symptom of lua actually succeeding at its design goal of being easily embedded as an extension language. A significant number of incompatible runtimes are more popular than the most recent puc lua, including I believe the older official lua 5.2 released in 2011.
I've done a fair bit of professional lua development and I don't think I've ever written standalone up-to-date puc lua except maybe for some tooling & scripts. It's such a small language and used in such a way that the runtime, distribution method, and available APIs have much more impact on your use (and compatibility) than the version.
Virtually everyone shipping a lua environment is also shipping changes to it that make it a unique target, if only extensions to the standard library. This is why I think syntax layer-only approach like fennel's is the correct choice for improving on lua. It mirrors lua's runtime semantics exactly, and allows you to access the implementation peculiars on their own terms and so can just be run on time of any lua system.
https://fennel-lang.org
-
LÖVE: a framework to make 2D games in Lua
Just learned about https://fennel-lang.org/ , could have probably used that as well to avoid Lua.
-
The Bipolar Lisp Programmer
> I’m positive that there is a Lispy language out there (actually in existence, or the aether) that is appropriate for embedded work, but the constraints of the target make it difficult to envision.
Perhaps Fennel* fits the bill?
* https://fennel-lang.org/
-
The Future of the Vim Project
I've also seen neovim plugins written in fennel [0], so if you want something lispy, that's possible now.
[0]: a Lisp that compiles to Lua, https://github.com/bakpakin/Fennel
- Qual a linguagem que vocês mais gostam de programar?
- Can I use elixir as the scripting language of my game engine?
-
TimL: Clojure-like Lisp dialect that runs on and compiles down to Vimscript
Something similar: Fennel (https://fennel-lang.org/) is a lisp that compiles into Lua, which nvim can use as plugins, so you can write nvim plugins in a lisp. Aniseed (https://github.com/Olical/aniseed) makes this really easy.
-
Announcing automation-service: write and schedule home automation scripts in Lua
If you want a more FP language on the Lua runtime, you might be interested in Fennel. I wrote a post about adding Fennel compiler to a hslua interpreter a while back, which might be useful for you.
- 916 Days of Emacs
What are some alternatives?
raylib - A simple and easy-to-use library to enjoy videogames programming
janet - A dynamic language and bytecode vm
ulubis - A Wayland compositor written in Common Lisp
urn - Yet another Lisp variant which compiles to Lua
Panda3D - Powerful, mature open-source cross-platform game engine for Python and C++, developed by Disney and CMU
nvim-lspconfig - Quickstart configs for Nvim LSP
trivial-gamekit - Simple framework for making 2D games
Lua-RTOS-ESP32 - Lua RTOS for ESP32
cffi - The Common Foreign Function Interface
lua-languages - Languages that compile to Lua
magnum - Lightweight and modular C++11 graphics middleware for games and data visualization
webassembly-lua - Write and compile WebAssembly code with Lua