SBCL debugger invoked on a FLOATING-POINT-INVALID-OPERATION in thread
Reddit » Lisp
by /u/MadScientistCarl
2h ago
I am trying to do some FFI to Raylib just to test the water, but I immediately get a floating point invalid operation error. I did not do any floating point operation, so I can only guess that SBCL traps something from the underlying library. This is all the code I have: (load-shared-object "../vendor/raylib/build/raylib/libraylib.dylib") (define-alien-routine ("InitWindow" init-window) void (width int :in) (height int :in) (title c-string :in)) (define-alien-routine ("CloseWindow" close-window) void) Yeah it's Mac OS, so to test this you need to change the shared object path. Don't use Sl ..read more
Visit website
Lispy thoughts from a rust gamedev
Reddit » Lisp
by /u/ramenbytes
7h ago
submitted by /u/ramenbytes [visit reddit] [comments ..read more
Visit website
Lem on the cloud: Powerful web-based Editor with Collaborative Editing
Reddit » Lisp
by /u/dzecniv
2d ago
Rooms is a product that runs Lem, a text editor created in Common Lisp, in the Cloud and can be used by multiple users. https://www.youtube.com/watch?v=IMN7feOQOak If you are interested, please refer to the following link: Lem: https://github.com/lem-project/lem GitHub Sponsors: https://github.com/sponsors/cxxxr @cxxxr submitted by /u/dzecniv [visit reddit] [comments ..read more
Visit website
The Evolution of Lisp
Reddit » Lisp
by /u/arthurno1
3d ago
submitted by /u/arthurno1 [visit reddit] [comments ..read more
Visit website
Spritely Goblins v0.13.0: Object Persistence and Easier IO!
Reddit » Lisp
by /u/paroneayea
3d ago
submitted by /u/paroneayea [visit reddit] [comments ..read more
Visit website
Guile Optimization Gotchas: There Is No Free Beer, Only Cheap
Reddit » Lisp
by /u/aartaka
3d ago
submitted by /u/aartaka [visit reddit] [comments ..read more
Visit website
Realization of Parallel Lisp using Multiprocessing
Reddit » Lisp
by /u/sym_num
4d ago
Hello everyone, it's been a while. I've been working on parallel Lisp using multiprocessing. Realization of Parallel Lisp using Multiprocessing | by Kenichi Sasagawa | Apr, 2024 | Medium submitted by /u/sym_num [visit reddit] [comments ..read more
Visit website
CLOG sponsors
Reddit » Lisp
by /u/tluyben2
5d ago
As many here know, David Botton is working hard on CLOG and his efforts are impressive to say the least. It would be great to see his 20 sponsor goal made as he is tirelessly working on dev journals and making excellent progress. Even for $2 it will help. https://github.com/sponsors/rabbibotton I have no affiliation with mr Botton, besides that I find the work he does awe inspiring. If you don’t know CLOG, try it out today: it’s easy if you run emacs and sbcl and it’s impressive for a one person operation. submitted by /u/tluyben2 [visit reddit] [comments ..read more
Visit website
How to get compiler warning when function redefinition cause mismatch in the number of arguments?
Reddit » Lisp
by /u/No-Check7471
6d ago
Sorry for a noob question. My first definition for function add: ``` (defun add (arg1 arg2) (+ arg1 arg2)) (defun main () (add 2 2)) ``` Now I changed the add function to accept three arguments. I recompiled the function. Now I want the sbcl compiler to issue warning regarding the number of arguments mismatch inside main function. submitted by /u/No-Check7471 [visit reddit] [comments ..read more
Visit website
How does backquote work?
Reddit » Lisp
by /u/Playful-Quarter-3108
1w ago
Is there a formal definition of it? I tried looking at the hyperspec but it seems like it only rigorously covers unnested backquotes, because the algorithm they give states that ``(,,x) = `(backquote ,,x) should become (append (list `backquote) (list ,x)) = (append (list 'backquote) (list ,x)) = (backquote ??). I don't understand what ,x is formally. Is it syntactic sugar for something like (unquote x)? In that case, why does (unquote x) evaluate to (unquote (eval x))? submitted by /u/Playful-Quarter-3108 [visit reddit] [comments ..read more
Visit website

Follow Reddit » Lisp on FeedSpot

Continue with Google
Continue with Apple
OR