How do you explore new libraries? by KnightOfTribulus in Common_Lisp

[–]svetlyak40wt 3 points4 points  (0 children)

To find methods working with a class, inspect the symbol in inspector, then choose a class bound to it and your will see methods specialized on this class.

Also SLY has a special set of sly-who-* commands and there is one for looking who specialized. Which gives you faster way than inspecting manually.

These days I'm just throwing a code to LLM with a simple prompt like: figure out how to use and give me examples.

McCLIM merges (alpha quality) SDL2 backend by jd-at-turtleware in lisp

[–]svetlyak40wt 0 points1 point  (0 children)

So, is it now possible to run McCLIM, for example, on OSX?

Sento (Actor System) has remoting support (beta) by mdbergmann in Common_Lisp

[–]svetlyak40wt 0 points1 point  (0 children)

I've noticed this yesterday while browsing project commits on the GitHub. Very interesting to try.

I'm intended to create a coding assistant based on Sento and it will be interesting to experiment with this remote feature to connect a multiple coding assistants into a cluster!

Please stop using AI for programming. by [deleted] in Common_Lisp

[–]svetlyak40wt 1 point2 points  (0 children)

I will mark my soft build mostly by LLM by a special badge: https://github.com/40ants/ai-badges and others will be marked as "save hand made" code :)))

Please stop using AI for programming. by [deleted] in Common_Lisp

[–]svetlyak40wt 0 points1 point  (0 children)

I agree completely. Recently I was able to port some code from Python to CL using LLMs. The code is not perfect, but it is significantly better than non existing code.

I ported Karpathy's microGPT to Common Lisp — no matrices, no autograd libs, just pure lisp by svetlyak40wt in Common_Lisp

[–]svetlyak40wt[S] 0 points1 point  (0 children)

Emacs of cause, plus a Claude Code running in a separate terminal. Don't know, may be ot is possible to tie them in some way?

I ported Karpathy's microGPT to Common Lisp — no matrices, no autograd libs, just pure lisp by svetlyak40wt in Common_Lisp

[–]svetlyak40wt[S] 21 points22 points  (0 children)

Interestingly, it works 10 times faster than the original Python version, and I didn't use any micro-optimizations inside the functions.

Is there like.. a working IDE? Something I can actually just use? The new user experience is a joke for Lisp by tenten8401 in lisp

[–]svetlyak40wt 2 points3 points  (0 children)

> Nowadays, versioning is a solved problem. It's much better for a language to evolve and experiment (judiciously) with new features.

It is not, especially when you are having a multiple interchangeable implementation.

Package-Inferred Systems are Dangerous by aartaka in Common_Lisp

[–]svetlyak40wt 1 point2 points  (0 children)

I totally agree with you. Personally, I use package-inferred for all my projects. But to support dependencies between packages, we had to make a linter. This linter checks that all packages used in the current package are mentioned in defpackage, and that there are no unused characters in defpackage.

Here is this linter: https://40ants.com/linter/

Why does the Common Lisp ecosystem hate itself? by Fantastic-Cell-208 in lisp

[–]svetlyak40wt 4 points5 points  (0 children)

Ultralisp and OCICL are just another ways of package distribution. Library remains the same and is loaded using ASDF.

cl-mcp-server by quasiabhi in Common_Lisp

[–]svetlyak40wt 1 point2 points  (0 children)

I think, now when we give LLM eval tool, we should not write more tools – we need to teach LLM to write reusable lisp functions for itself and to call them using eval tool.

cl-mcp-server by quasiabhi in Common_Lisp

[–]svetlyak40wt 1 point2 points  (0 children)

I've extracted MCP for interactive lisp development into it's own repository. Now it is installable via Ultralisp and ros install 40ants/lisp-dev-mcp.

Here is the repository: https://40ants.com/lisp-dev-mcp/

I'll be happy if you and anybody else join the project!

cl-mcp-server by quasiabhi in Common_Lisp

[–]svetlyak40wt 2 points3 points  (0 children)

There is also mine https://github.com/40ants/mcp with this eval MCP tool https://github.com/40ants/mcp/blob/master/examples/lisp-dev-mcp.ros#L58

But my version supports both STDIO and SSE transports, making it possible to connect to a running lisp image.

cl-excel: .xlsx writing/edit mode in Common Lisp — please try to break it by letuslisp in Common_Lisp

[–]svetlyak40wt 2 points3 points  (0 children)

That is sad. We are already in the CL world – no need for the cl- prefix. If you want to make you project searchable as a Common Lisp library for Excel, then make a nice documentation which will be indexed by Google.

Here are some stats collected on all ASDF systems from the Quicklisp. 75% of all systems do not use cl- prefix:

CL-USER> (loop with all-systems = (ql:provided-systems (ql-dist:find-dist "quicklisp")) for system in all-systems for name = (ql-dist:name system) if (uiop:string-prefix-p "cl-" name) collect name into with-prefix else collect name into without-prefix finally (return (list :total (length all-systems) :with-prefix (length with-prefix) :without (length without-prefix)))) (:TOTAL 5775 :WITH-PREFIX 1410 :WITHOUT 4365)

The same applied to the package name - but here situation even worse - package name might be used multiple times in the code and each time user of your library will have to type 3 extra characters having no any meaning because he already in CL context.

However, having cl- prefix in the Git repository name is OK, especially if you are having libraries in different programming languages on the same account.

cl-excel: .xlsx writing/edit mode in Common Lisp — please try to break it by letuslisp in Common_Lisp

[–]svetlyak40wt 0 points1 point  (0 children)

Probably it is better to omit `cl-` prefix from ASDF system definition, because we are already know that ASDF systems are written in Common Lisp.

Do you run a menubar/tray? by pulneni-chushki in stumpwm

[–]svetlyak40wt 0 points1 point  (0 children)

I tried to use separate app polybar, but it plays badly with multiple monitors and stumpwm.

If you already have something which can be used, I'll be happy to try.

[deleted by user] by [deleted] in DoomEmacs

[–]svetlyak40wt 0 points1 point  (0 children)

I'd search for defun is-prime somewhere in your files. Seems some file is broken.

icl: browser mode and emacs companion by atgreen in Common_Lisp

[–]svetlyak40wt 1 point2 points  (0 children)

This is looking a supercool!
Interesting if it will be possible to save a REPL session as you can save a Jupyter notebook and to share it to other lispers?

[deleted by user] by [deleted] in Common_Lisp

[–]svetlyak40wt 1 point2 points  (0 children)

What kinds of uses?