dice.camp is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon server for RPG folks to hang out and talk. Not owned by a billionaire.

Administered by:

Server stats:

1.7K
active users

#commonlisp

12 posts11 participants2 posts today
Replied in thread

@iacore
at the moment, I'm just writing knowledgebases and actions, where actions are either lisp or scripts of other or primitive actions. Sofaras not-emacs, I am planning to use @akater's framagit.org/akater/cl-el/-/bl #commonLisp #elisp.

I'm really still just #dogfooding #softwareIndividuals rn. But situations [H (succ .s [paint :obj .h :as .c]) (color: .h) .c] (Holds) in the situation that normally results from the action of painting the object h with the color c, the color of h will be c
@ksaj

GitLabel.org · master · akater / cl-el · GitLabExecute Emacs Lisp in Common Lisp. The system provides a dedicated package EL (EMACS-LISP), and some definitions. [This description has been SEOed a little]

Next project I'm equally afraid and hyped about: re-implementing most of #HyperCard as #HTML form-based app. Requires:
- A working #HyperTalk (or the like) interpreter
- Card editing form that's flexible enough to build e.g. a calculator
- Script editing UI
- Smart evaluation that works well with old-school HTML-first UIs
- Server setup to handle all of these

Some of these are entirely new to me, and some don't have reasonable libs for in #CommonLisp, so I'm quite floored with the amount of work. But if I manage to make this thing, I'll have a reliable note-taking tool and a simple programming system!

(Now that I think about it, I don't really need a note-taking tool, because I use #hpda. And the simple programming system might as well be a headless HyperTalk interpreter...)

Does anyone know of a Common Lisp activitypub library that is complete enough to implement subscription to accounts, tracking subscribers and posting messages?

I want to build a small service which allows users to tag it in a message (or users can ask the serviceto subscribeto it, in which case it will absorb all mesaages), and conaume those messages, and then post updates to its main feed.

I still can't believe that most programming systems we use today are preoccupied with numbers. AFAIK, half of (R5RS?) #Scheme standard is numbers and operations on them. Same for #C, #CommonLisp, #Java—ten different types of numbers and huge libraries for them.

Humans think in images and words. Structured text-oriented languages feel like a much better fit for everyone not corrupted by C. Yet we have little to no popular attempts in that space. Structured Regular Expressions didn't catch up; #ed1 and #awk are considered mere #regex automation tools. Modal and the term rewriting systems have their Merveilles Town, but not much beyond. sh/#bash and the like are quite successful, but aren't considered real programming languages either.

Why.

Sunday project: what does it takes to define and load #CommonLisp systems? Turns out, not much. ASDF is 14k LoC, SYSDEF is 394 LoC.

Supports a minimal set of metadata, an extensible collection of components (builtin support for static files, Common Lisp source files and component groups), and two fundamental operations (build and load).

Works on Linux with SBCL, CCL and ECL.

That was fun!

github.com/galdor/sysdef

In spirit of #sharingsaturday, I'm proud to announce a new #indie #videogame project of me and my mate in the genre of turn-based roguelike: awkravchuk.itch.io/yur

We're making it in #CommonLisp, of course, and we have an ambition of eventually releasing it on Steam.

Right now there's not much to see in the demo, we've just polished basic character controls and movement, and implemented a simple enemy AI. Next thing we're going to work on is combat system, hopefully we'll finish it by next week.

itch.ioYet Unnamed Roguelike by AndrewProcedurally generated turn-based roguelike in fantasy setting

Having packages/modules be defined as single files is a fundamental programming language design error. #Python, but also #Erlang, #Scheme, the misguided package-inferred-system extension for #CommonLisp… Because no one wants a 10k lines file mixing dozens of concepts, you end up with a multitude of small packages for no good reason.

At least in Erlang you can just use whatever was loaded without manually importing every single module you need everywhere, but Python is as usual the worst.

#LispyGopherClimate #lisp #ai #peertube
communitymedia.video/w/7KpDL8d

@kentpitman #haiku

Resurrected Sandewall's #softwareIndividuals from 2014.

This episode is dedicated to general purpose interaction in the software individual / #CAISOR paradigm.

Next will be porting the dynamicwindows zetalisp zwei to McCLIM #commonlisp.

@prahou #unix_surrealism next #openbsd release art??

Also @pesco and @dougmerritt on IPE '84

co guest and join in on #lambdaMOO as always!

@mdhughes @nosrednayduj @sacha

Replied in thread

@pedromj seeing your iterative and recursive ones helped me see what I was /meant/ to do with series (which should be lazy and declarative):
``` #commonLisp #series
(defun better-fibs
(n &optional (x-1 0) (x-0 1))
(let* ((range (scan-range))
(fibonacci-series
(#M(lambda (n)
(declare (ignore n))
(psetq x-1 x-0
x-0 (+ x-1 x-0))
(values x-0))
range)))
(collect-nth n fibonacci-series)))
```
CL-USER> (better-fibs 4)
8

(Edit: (scan-range) on its own is just 𝗡)

I realized that I should have two #slime repls open, one running a Sandewallian software individual clisp-repl and one McCLIM running ecl-repl (or what have you) and things are getting weird.

This is because the software individual with a beliefbase about using McCLIM is /not/ the McCLIM lisp image itself, it is a separate lisp image that contains beliefs and actions for using McCLIM in another image. Which is trivial in #emacs with slime. #commonLisp #notThatCommonThoughTeeBeeAitch

Replied in thread

@me Personally, as a solo developer, I use CL more and more in my stack, ditching Python the more I can. I wrote about it: lisp-journey.gitlab.io/blog/ru

Instead of extending a Python software I write independent modules in CL. It works well for standalone scripts too (read a DB, process data, send everything to a FTP, to a web service, by email…) It's such a joy.

On Discord, we see some are in big tech©, wrote their personal tool in CL and now it's part of the team's stack.

Lisp journey · Running my 4th Common Lisp script in production© - you can do it too - Lisp journeyBy Lisp journey

Me encanta programar en #Lisp en mi tiempo libre. La programación funcional fomenta la abstracción y me permite construir sistemas complejos a partir de funciones simples. El REPL me abre la puerta a jugar en tiempo real con el código sin tener que reiniciar constantemente el software o forzarme a lanzar un programa de depuración. Para mi es una herramienta poderosa para afinar mis habilidades de programador, probar nuevas ideas, patrones y un espacio para la creatividad. Además tienes sabores en cualquier lugar: #Clojure para JVM, #ClojureScript para #JavaScript, #Emacs Lisp para Emacs, #CommonLisp y #Racket para ejecutar en el equipo... Aunque yo te recomiendo que te quedes en un solo lenguaje y lo domines. No es necesario aprender todos los dialectos de Lisp, pero si es bueno conocerlos para entender sus diferencias y similitudes.
Si quieres aprender más sobre #Lisp, te recomiendo uno de mis libros favoritos: "Land of Lisp" de Conrad Barski. Es un libro divertido que te enseña a programar en Lisp mientras creas juegos y aplicaciones gráficas. También puedes encontrar muchos recursos en línea, por supuesto.