cl-lsp VS clasp

Compare cl-lsp vs clasp and see what are their differences.

cl-lsp

An implementation of the Language Server Protocol for Common Lisp (by cxxxr)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
cl-lsp clasp
13 47
200 2,508
- 1.4%
0.0 9.7
about 1 year ago 3 days ago
TypeScript Common Lisp
MIT License -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

cl-lsp

Posts with mentions or reviews of cl-lsp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-30.
  • Show HN: Common Lisp Vim Compiler Plug-In
    2 projects | news.ycombinator.com | 30 Dec 2023
    How this compares to using cl-lsp[1] with Neovim?

    [1]: https://github.com/cxxxr/cl-lsp

  • Lisp language server
    3 projects | /r/lisp | 22 Feb 2023
    Does this count? https://github.com/cxxxr/cl-lsp
  • Common Lisp language server?
    1 project | /r/Common_Lisp | 31 Dec 2022
  • Emacs-like editors written in Common Lisp
    11 projects | news.ycombinator.com | 2 Oct 2022
  • From Common Lisp to Julia
    11 projects | news.ycombinator.com | 6 Sep 2022
  • A Road to Common Lisp (2018)
    12 projects | news.ycombinator.com | 6 Jun 2022
    It's a great article. Since then, we have more tools and resources so we can enhance it:

    Pick and Editor

    The article is right that you can start with anything. Just `load` your .lisp file in the REPL. But even in Vim, Sublime Text, and Atom [and also VSCode] you can get pretty good to very good support. See https://lispcookbook.github.io/cl-cookbook/editor-support.ht... (also Lem, a CL editor that works for other languages, Jupyter notebooks, Eclipse (basic support) and LispWorks (proprietary, advanced graphical tools).

    > if anyone is interested in making a Common Lisp LSP language server, I think it would be a hugely useful contribution to the community.

    Here's a new project used for VSCode: https://github.com/nobody-famous/alive-lsp There's also https://github.com/cxxxr/cl-lsp

    Other resources

    I already linked to it, but the Cookbook (to which I contribute) is a useful reference to see code and get things done, quickly. https://lispcookbook.github.io/cl-cookbook/

    While I'm at it, my first shameless plug: after my tutorials written for the Cookbook and my blog, I wanted to do more. Explain, structure, demo real-world Common Lisp. I'm creating this course (there are some free videos): https://www.udemy.com/course/common-lisp-programming/?coupon... (ongoing -50% coupon for June).

    Web Development

    See the Cookbook, and the awesome list (see below). We have many libraries, you still have to code for things taken for granted in other big frameworks. I have some articles on my blog.

    We have new very cool kids in town, especially CLOG, that is like a GUI for the browser. Check it out: https://github.com/rabbibotton/clog

    Game Development

    See again the awesome-cl list. And the Kandria game, in the making, all done in CL: https://kandria.com/ (it just got accepted for a Swiss grant, congratulations).

    Unit Testing

    We have even more test frameworks since 2018! And some are actually good O_o

    Projects

    To create a full-featured CL project in one command, look no further, here's my (shameless plug again) project skeleton: https://github.com/vindarel/cl-cookieproject you'll find the equivalent for a web project, lighter alternatives in the README, and a demo video: https://www.youtube.com/watch?v=XFc513MJjos&feature=youtu.be

    Libraries

    He doesn't mention this list, what a shame: https://github.com/CodyReichert/awesome-cl => the CL ecosystem is probably bigger than you thought. Sincerely, only recently, great packages appeared: CLOG, cl-gserver (actors concurrency), 40ants-doc, official CL support on OVH through Platform.sh, great editor add-ons (Slite test runner, Slime-star modules…), Coalton 1.0 (Haskell-like ML on top of CL), April v1.0 (APL in CL), a Qt 5 "library" (still hard to install), many more… (Clingon CLI args parser, Lish, a Lisp Shell in the making, the Consfigurator deployment service, generic-cl)…

    His list is OK, I'd pick another HTTP client and another JSON library (new ones since 2018 too), but that's a detail.

    BTW, see also a list of companies: https://github.com/azzamsa/awesome-lisp-companies/

    Community

    We are also on Discord: https://discord.gg/hhk46CE and on Libera Chat.

    Implementations

    CLASP (CL for C++ on LLVM) reached its v1.0, congrats. https://github.com/clasp-developers/clasp/releases/tag/1.0.0

  • is CLISP still recommended to use ?
    2 projects | /r/lisp | 4 Mar 2022
    If you’re already a vs-code user, then I get that. And the facilities do exist to do Common Lisp in vs-code: https://github.com/cxxxr/cl-lsp
  • Common lisp LSP. Why there is no such a thing?
    1 project | /r/neovim | 6 Jan 2022
    Third hit on DuckDuckGo https://github.com/cxxxr/cl-lsp
  • Why there is no new "modern" (Common) Lisp IDE?
    7 projects | /r/lisp | 21 Nov 2021
    You mean like cl-lsp, or the Alive Visual Studio Code extension? These are admittedly works in progress, but I'm sure you'd be very welcome to contribute since you care so much about it!
  • Common Lisp Study Group : Introduction to ASDF
    1 project | /r/lisp | 23 Oct 2021
    By the way, there is already https://github.com/cxxxr/cl-lsp that provides some LSP support for Common Lisp. I believe there is no need to support LSP from asdf side ... you just need to write a bridge for it. I know the author personally and since he surely does not use VS code himself, I don't know that was his motivation in making this one.

clasp

Posts with mentions or reviews of clasp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-15.
  • I Accidentally a Scheme
    2 projects | news.ycombinator.com | 15 Nov 2023
    I accidentally a Common Lisp that interoperates with C++ (https://github.com/clasp-developers/clasp.git). We would also like to move beyond BDWGC and Whiffle looks interesting. I will reach out to you and maybe we can chat about it.
  • Val, a high-level systems programming language
    10 projects | news.ycombinator.com | 18 Jul 2023
    Clasp might be such a language, it seems.

    https://github.com/clasp-developers/clasp

  • The jank programming language (by Jeaye Wilkerson)
    1 project | /r/Clojure | 22 Jun 2023
    /u/jeaye are you aware of CLASP? https://github.com/clasp-developers/clasp https://www.youtube.com/watch?v=mbdXeRBbgDM
  • Clasp v2.3.0 · Bytecode compiled images, preliminary Apple Silicon support, LLVM16.
    1 project | /r/lisp | 5 Jun 2023
  • Proof of Concept clang plugin that automatically binds C/C++ -> Lua
    3 projects | /r/cpp | 3 Jun 2023
    Sounds to me like CLASP; it automatically exports C++ objects to be used from Common Lisp also via llvm.
  • Running Lisp in production @ grammarly
    1 project | /r/lisp | 24 Jan 2023
    Now, the difference of compiling speed of SBCL and CCL is not so big. Look at cl-benchmark, LispWorks is really fast, CCL is on par with Allegro, SBCL is close to CCL. Or https://github.com/clasp-developers/clasp/wiki/Relative-Compile-Performance-of-clasp, it depends on specific project (SBCL sometimes faster, slower, alike), overall difference is not big.
  • What help is needed for Lisp community in order to make Lisp more popular?
    2 projects | news.ycombinator.com | 25 Dec 2022
    So..

    "Why do you want to make Lisp more popular? If you were sucessful, what would be different in the world, and why is that desirable to you?"

    Normally at this point I'd listen to the response, and ask more questions based on that. That would wind up with a very, very deep thread, so I'll break a cardinal rule and pre-guess at some answers.

    This kind of question comes up pretty frequently. In many cases, I suspect the motivation behind the question is "Wow! Here's this cool tool I've discovered. I want to make something really useful with it. I want to do it as part of a community effort; share my excitement with others, share in their excitement, and know that what I'm making is useful because others find it desirable and are excited by it." The field could be cooking, sports, old machine tools, tiny homes, or demo scene. Its the fundemental driver for most content on HN, YouTube, Instructables, and such. It is a Good Thing.

    If that is your motivator, then my suggestion is to find something that bugs you and fix it. You've already decided you're only interested in code, not other aspects. You said you preferred vim, but the emacs ecosystem has a very rich set of sharp edges that need filing off, and a rich set of tools with which to attack them.

    One example: even after 50 years there's no open IDE which allows you to easily globally rename a Lisp identifier. I don't know about LispWorks or other proprietary environments, but you can't in emacs or vim do a right-click on "foo" in "(defun foo ()...)" and select a command which automatically renames it in all invocations. [Queue lots of "but you can..." replies here.] I don't think vim is up to the task of doing this internally. It would be possible in emacs; but would require a huge effort with lots of help from other people. If you emerged alive from that rabbit warren you'd join the company of Certified "How Hard Could it Be?" Mad Scientists such as Dr. "I just want to draw molecules" Meister [1] and "Wouldn't an OS in Lisp be Cool" Froggey [2].

    [1] https://github.com/clasp-developers/clasp

    [2] Mezzano https://github.com/froggey/Mezzano

  • Linux Kernel 6.1 Released with Initial Rust Code
    12 projects | /r/linux | 11 Dec 2022
    But also, there's a reason why most implementations readily make an effort to provide interoperability tools with a variety of runtimes. Clasp much like ABCL gives access to a whole library of other libraries trivially wrapped to interoperate with at little to no performance to cost (depending on how thin you make the wrappers, mainly).
  • Common Lisp Clasp v2.0.0 released
    1 project | /r/hypeurls | 28 Oct 2022
    1 project | news.ycombinator.com | 28 Oct 2022

What are some alternatives?

When comparing cl-lsp and clasp you can also consider the following projects:

clede

Wren - The Wren Programming Language. Wren is a small, fast, class-based concurrent scripting language.

ctags - A maintained ctags implementation

gdb-dashboard - Modular visual interface for GDB in Python

alive-lsp - Language Server Protocol implementation for use with the Alive extension

CL-CXX-JIT - Common Lisp and CXX interoperation with JIT

lem-opengl - OpenGL frontend for the Lem text editor

graalvm-clojure - This project contains a set of "hello world" projects to verify which Clojure libraries do actually compile and produce native images under GraalVM.

DifferentialEquations.jl - Multi-language suite for high-performance solvers of differential equations and scientific machine learning (SciML) components. Ordinary differential equations (ODEs), stochastic differential equations (SDEs), delay differential equations (DDEs), differential-algebraic equations (DAEs), and more in Julia.

SICL - A fresh implementation of Common Lisp

roswell - intended to be a launcher for a major lisp environment that just works.

maru - Maru - a tiny self-hosting lisp dialect