symreg VS coalton

Compare symreg vs coalton and see what are their differences.


A Symbolic Regression engine (by danuker)


Coalton is an efficient, statically typed functional programming language that supercharges Common Lisp. (by coalton-lang)
Our great sponsors
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • SaaSHub - Software Alternatives and Reviews
symreg coalton
4 80
27 876
- 3.1%
0.0 0.0
over 2 years ago 11 days ago
Jupyter Notebook Common Lisp
MIT License 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.


Posts with mentions or reviews of symreg. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-20.
  • I Still ‘Lisp’ (and You Should Too)
    4 projects | | 20 Feb 2023
    Well, I wrote a genetic programming library, and it was fun to parse a Lisp-like representation from Python. You still have recursion and everything (albeit no tail call optimization).

    Here, `_from_source` goes from a plain array of tokens to a nested one (tree), depending on their arity:

    Lisp is almost valid Python. The exception is the single-element tuple which needs a comma: (x,)

    But I still preferred to use Python as a programming language, and Lisp as a sort of AST. It's just easier. I am curious what roadblocks you faced in your ASCII delimited parsing.

    Do you by any chance still have the two parsers? I'd love to see them. If you are worried about your anonymity, you can find my website on my HN profile, and my e-mail on my website. I promise not to disclose your identity publicly.

  • Do Simpler Machine Learning Models Exist and How Can We Find Them?
    5 projects | | 22 Dec 2022
    If interpretability is sufficiently important, you could straight-up search for mathematical formulae.

    My SymReg library pops to mind. I'm thinking of rewriting it in multithreaded Julia this holiday season.

  • I made an Entity Component System
    2 projects | /r/Python | 15 Jun 2022
    Indeed, I ran face-first into Python's GIL that prevents any useful CPU-bound multithreading, with my symbolic regression library.


Posts with mentions or reviews of coalton. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-18.
  • Show HN: Collaborative Lisp Coding on Discord
    2 projects | | 18 Sep 2023
    If you like type safety, this project would be perfect for using so your REPL supported Common Lisp out of the gate.
  • A fully-regulated, API-driven bank, with Clojure
    3 projects | | 29 Aug 2023
    Agree that you can use types to express and prove logical properties via compiler; it can be a fun way to solve a problem though too much of it tends to frustrate coworkers. It's also not exactly "low cost"; here's an old quip I have in my quotes file:

    "With Scala you feel smart having just got something to work in a beautiful way but when you look around the room to tell your clojure colleague how clever you are, you notice he left 3 hours ago and there is a post-it saying use a Map." --Daniel Worthington-Bodart

    > On the contrary, they're still the most effective technique we've found for improving program correctness at low cost.

    This is not borne out by research, such as there is any of any quality: The best intervention to improve correctness, if not already being done, is code review: This doesn't necessarily mean dynamic types are better, just that if static types are better, they aren't tremendously so to obviously show in studies, unlike code review benefit studies.

    My own bias is in favor of dynamic types, though I think the way Common Lisp does it is a lot better than Python (plus Lisp is flexible enough in other ways to let static type enthusiasts have their cake and eat it too, and Python better than PHP, and PHP better than JS. Just like not all static type systems are C, not all dynamic type systems are JS. Untyped langs like assembly or Forth are interesting but I don't have enough experience.

    I don't find the argument that valuable though, since I think just focusing on dynamic vs static is one of the least interesting division points when comparing languages or practices, and if we're trading experience takes I think Clojure's immutable-by-default prevents more bugs than any statically typed language that is mutable by default. It's not exactly a low cost intervention though, and when you really need to optimize you'll be encouraged by the profiler to replace some things with Java native arrays and so on. I don't think changing to static types would make a quality difference (especially when things like spec exist to get many of the same or more benefits) and would also not be a low cost intervention.

    Last quip to reflect on. "What's true of every bug found in the field? ... It passed the type checker. ... It passed all the tests. Okay. So now what do you do? Right? I think we're in this world I'd like to call guardrail programming. Right? It's really sad. We're like: I can make change because I have tests. Who does that? Who drives their car around banging against the guardrail saying, "Whoa! I'm glad I've got these guardrails because I'd never make it to the show on time."" --Rich Hickey (

  • Compiler Development: Rust or OCaml?
    5 projects | | 7 Aug 2023
    > Lisps can be very flexible, but they usually lack static type safety, opening a wide and horrible door to run-time errors.

    People should do basic research before writing something silly like this. Qualifying your statement with 'usually' is just a chicken sh*t approach. Common Lisp and Racket have optional strong typing, leaving the responsibility and choice to the developer. Common Lisp is great for implementing compilers. You also have thing like Typed Racket and Coalton. The latter is comletely statically typed ala MLTON

  • Why Lisp?
    17 projects | | 7 May 2023
    Coalton doesn't actually work:

    This is why it's important to always look at the issues on a repo instead of just believing what's in the README. It fails to detect type errors in some of the most basic situations

    17 projects | | 7 May 2023
    > static strong typing

    Alright, here is it:

    > small efficient native binaries

    The numbers are: with SBCL's core-compression, a web app with dozens on dependencies will weight ±30 to 40MB. This includes the compiler, the debugger, etc. Without core compression, we reach ±150MB.

    > The actor runtime?

    the actor library:

    > couldn't find a way to make money with it. I suspect many other programmers are in my boat.

    Alright. Some do, that's life. Yes, some companies go with CL even in 2023 (, they released lately; Feetr (finance):

    > Give us an HTTP (1.x & 2.0) and WebSockets libraries

    How so? We have those libraries. HTTP/2:

  • My Thoughts on OCaml
    11 projects | | 25 Apr 2023
    1. There are functional dependencies and multi-parameter type classes. No GADTs (yet?) or existential types (yet?).

    2. Records are being implemented but it's far from being a dealbreaker, in the sense that thousands of production lines of Coalton have been built without needing them. It's just not ergonomic to shuffle around and pattern match against record-like data. With pattern matching in function arguments, things are at least easier.

    3. All Coalton functions compile to Lisp functions. There's a guide that describes what is promised about interop (

    4. Since Coalton functions are Lisp functions, you can call (unconstrained) functions directly. However there's a lot of room for improvement. There's an open issue to make a dedicated Coalton REPL that can show types and not require COALTON to be typed.

    5. Coalton is developed as an open source project to build tools at HRL Laboratories, so it does receive sponsorship. Yes, HRL is hiring. Feel free to send me an email to the address in my profile.

    11 projects | | 25 Apr 2023
    Coalton [1] is a dialect of ML with S-expression syntax and integrates into Common Lisp. It works, and is used "in production" by its developers, but it's still being developed into a 1.0 product.

    Coalton made a lot of design decisions that resonate with this post.

    - Coalton dispensed with structures, signatures, and functors. No doubt a beautiful concept, and sometimes satisfying to write, but almost always unsatisfying to use. Like the author suggests, the "interface-style" of type classes, traits, and interfaces have always felt more intuitive, and that different interfaces should require different types. Coalton uses type classes.

    - Coalton has S-expression syntax. No indent rules. No precedence rules. No expression delimiters. All of the "tradition" of ML syntax is dispensed with into something that is a lot easier to write.

    - It should be no surprise that with S-expressions, you get Lisp-style macros. Macros in Coalton are just Common Lisp macros. No separate pre-processors. No additional language semantics to deal with.

    - Because it's built on Common Lisp, Coalton gets something few (if any?) other ML-derivatives get: Truly incremental and interactive development. You can re-compile types, functions, etc. and try them out immediately. There's no separate "interpreter mode"; just a Lisp REPL.

    Coalton's language features are still settling (e.g., records are being implemented) and the standard library [2] is still evolving. However, it's been used for "serious" applications, like implementing a compiler module for quantum programs [3].




  • Two-tier programming language
    6 projects | /r/ProgrammingLanguages | 19 Apr 2023
  • [ANN] Malli 0.11.0 is out - a data-driven data specification library for Clojure/Script
    4 projects | /r/Clojure | 12 Apr 2023
    Is Malli for clojure what coalton is for common lisp?
  • Adding new types and operators to Lisp
    6 projects | /r/lisp | 24 Feb 2023
    If proper abstraction, type safety, as well as performance is important, then you might want to try out Coalton.

What are some alternatives?

When comparing symreg and coalton you can also consider the following projects:

hackett - WIP implementation of a Haskell-like Lisp in Racket

awesome-lisp-companies - Awesome Lisp Companies

racket - The Racket repository

paip-lisp - Lisp code for the textbook "Paradigms of Artificial Intelligence Programming"

phel-lang - Phel is a functional programming language that compiles to PHP. A Lisp dialect inspired by Clojure and Janet.

cl-cookbook - The Common Lisp Cookbook

rakudo - 🦋 Rakudo – Raku on MoarVM, JVM, and JS

unseemly - Macros have types!

babashka - Native, fast starting Clojure interpreter for scripting

hissp - It's Python with a Lissp.

generic-cl - Generic function interface to standard Common Lisp functions

awesome-cl - A curated list of awesome Common Lisp frameworks, libraries and other shiny stuff.