Common Lisp Compiler

Open-source Common Lisp projects categorized as Compiler

Top 13 Common Lisp Compiler Projects

  • clasp

    clasp Common Lisp environment (by clasp-developers)

  • Project mention: A Road to Common Lisp | news.ycombinator.com | 2024-05-22

    It's a great article. Since 2018 though, we have more tools and resources so we can enhance it. (I copy/edit a comment of mine from last thread)

    ## 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, Atom/Pulsar, VSCode, the Jetbrains suite or Jupyter notebooks, you can get pretty good to very good support. See https://lispcookbook.github.io/cl-cookbook/editor-support.ht...

    > 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

    ## 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, sento (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 (Dexador instead of Drakma) and another JSON library (jzon or shasht), new ones since 2018 too, but that's a detail.

    BTW, see also a list of companies: https://github.com/azzamsa/awesome-lisp-companies/ (nothing official, we add when we find one)

    ## Other resources

    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 last 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... You'll learn CL efficiently and support an active Lisper.

    ## Web Development

    See the Cookbook, and the awesome list. 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. I have a working Django-like DB admin dashboard, I have to finish the remaining 20%…

    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, published on Steam, all done in CL: https://kandria.com/

    ## 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) 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

    ## 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 More are in the making…

    We got dynamic library delivery tool for SBCL (sbcl-librarian). There's a rumor from the European Lisp Symposium that a feature beginning in "co" and lasting in "routine" is coming to SBCL.

    Allegro CL (proprietary) got a new version running in the browser…

    Crazy Lisp world <3

  • sbcl

    Mirror of Steel Bank Common Lisp (SBCL)'s official repository

  • Project mention: A Road to Common Lisp | news.ycombinator.com | 2024-05-22

    The real reason to learn SBCL, is because that is an existence proof that garbage-collected multi-paradigm (procedural, functional, object-oriented) dynamic languages don't have to suck performance wise (speed and memory usage). I'm going to go off the rails and say that 'defmacro' isn't the reason one should use a lisp. ~90% of 'defmacro' instances are really just to prevent evaluating expressions, which could also have been done with a lighter syntax (e.g. reader macro) for lambda. Why didn't lisp catch on? Some 30-40% of people really hate parenthesis with a passion. There is no accounting for taste I guess. Lisp advocates also spent too many decades comparing lisp to C (instead of Python or Haskell or Java). And it seems like there was at one time a faction that looked down on free-software/GPL for a while, so there wasn't as much activity that people (especially college students) could see and engage with. The standard library is sparse and could use a CLOSified refresh, but everyone disagrees on how that should look. Too many lofty promises of 10x or greater productivity gains, and not enough wins showing it. Who knows, I haven't looked as common lisp in a while, maybe there are now vectorized/parallel array libraries targeting GPU's now that everyone uses, because things "just work" out of the box. Or a polished off McClim, or other lispy gui, instead of wrapping Tk. That combined with the usual network effects.

    https://www.sbcl.org/

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • jscl

    A Lisp-to-JavaScript compiler bootstrapped from Common Lisp

  • Project mention: All Web frontend lisp projects | /r/lisp | 2023-05-23

    JSCL - A CL-to-JS compiler designed to be self-hosting from day one. Lacks CLOS, format and loop.

  • ccl

    Clozure Common Lisp

  • Project mention: Don't Invent XML Languages (2006) | news.ycombinator.com | 2024-03-08

    There's plenty of history of s-expression formats for documentation. One example is: https://github.com/Clozure/ccl/tree/master/doc/manual

    But, also, there's plenty of uses of XML that are not "artcles and books". For example, Maven's pom.xml and log4j2.xml.

  • quilc

    The optimizing Quil compiler.

  • CLPython

    An implementation of Python in Common Lisp

  • one-more-re-nightmare

    A fast regular expression compiler in Common Lisp

  • Project mention: Needle: A DFA Based Regex Library That Compiles to JVM ByteCode | news.ycombinator.com | 2024-05-08

    https://github.com/telekons/one-more-re-nightmare

    And the pretty hard to find blog post about it:

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • Concrete-Syntax-Tree

    Concrete Syntax Trees represent s-expressions with source information

  • Cleavir

    an implementation-independent framework for creating Common Lisp compilers

  • Yotta

    Basic Linear Algebra compiler with C and Common Lisp backends

  • scheme-desugarer

    A scheme desugarer

  • compiler-web-service

    a common lisp web service with two compilers as api endpoints

  • zettapy

    a Python (like language) to x86 AST compiler

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Common Lisp Compiler related posts

Index

What are some of the best open-source Compiler projects in Common Lisp? This list will help you:

Project Stars
1 clasp 2,524
2 sbcl 1,781
3 jscl 874
4 ccl 824
5 quilc 446
6 CLPython 365
7 one-more-re-nightmare 135
8 Concrete-Syntax-Tree 56
9 Cleavir 45
10 Yotta 16
11 scheme-desugarer 15
12 compiler-web-service 6
13 zettapy 4

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com