paip-lisp VS Fennel

Compare paip-lisp vs Fennel and see what are their differences.

paip-lisp

Lisp code for the textbook "Paradigms of Artificial Intelligence Programming" (by norvig)
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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
paip-lisp Fennel
67 91
7,014 2,294
- -
0.8 9.3
7 months ago 9 days ago
Common Lisp Fennel
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.

paip-lisp

Posts with mentions or reviews of paip-lisp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-03.
  • The Loudest Lisp Program
    4 projects | news.ycombinator.com | 3 May 2024
    Have you seen https://stevelosh.com/blog/2018/08/a-road-to-common-lisp/ ? "Kludges" everywhere is applicable. On the other hand, having a function like "row-major-aref" that allows accessing any multi-dimensional array as if it were one dimensional is "sweeter than the honeycomb".

    I still think CL code can be beautiful. Norvig's in PAIP https://github.com/norvig/paip-lisp is nice.

    As for the inside-out remark, while technically you do it, you don't have to, and it's very convenient to not do. Clojure has its semi-famous arrow macro that lets you write things in a more sequential style, it exists in CL too, and there's always the venerable let* binding. e.g. 3 options:

        (loop (print (eval (read))))
  • Ask HN: Guide for Implementing Common Lisp
    3 projects | news.ycombinator.com | 1 Feb 2024
    PAIP by Peter Norvig, Chapter 23, Compiling Lisp

    https://github.com/norvig/paip-lisp/blob/main/docs/chapter23...

  • The Meeting of the Minds That Launched AI
    1 project | news.ycombinator.com | 11 Sep 2023
    Emacs is so much more than a text editor! But I need to stay on topic...

    I believe your assessment of LISP (and therefore of MacArthy)'s impact on AI to be unfair. Just a few days ago https://github.com/norvig/paip-lisp was discussed on this site, for example.

  • Towards a New SymPy
    5 projects | news.ycombinator.com | 8 Sep 2023
    Sounds like a great project idea to make a toy demo of this direction you'd like to see. Maybe comparable to https://github.com/norvig/paip-lisp/blob/main/docs/chapter15... and https://github.com/norvig/paip-lisp/blob/main/docs/chapter8.... which are a few hundred lines of Lisp each, but do enough to be interesting.
  • A few newbie questions about lisp
    4 projects | /r/Common_Lisp | 21 May 2023
    You could look into Paradigms of AI Programming by Peter Norvig which might interest you regardless of Lisp content.
  • Mathematical paradigm?
    1 project | /r/AskProgramming | 13 May 2023
    Lisp has great power, examine PAIP, part II chapters 7 and 8.
  • Peter Norvig – Paradigms of AI Programming Case Studies in Common Lisp
    8 projects | news.ycombinator.com | 5 May 2023
  • Evidence that GPT-4 has a level of understanding
    1 project | /r/singularity | 18 Apr 2023
    A computer running Prolog reasons, and that only requires a couple of pages of code. So it seems feasible that the network could have learned some ability to reason within its network.
  • Conversation with Larry Masinter about Standardizing Common Lisp
    1 project | news.ycombinator.com | 13 Apr 2023
    IMHO it's because lisp shines to manipulate symbols whereas the current AI trend is crunching matrices.

    When AI was about building grammars, trees, developing expert systems builds rules etc. symbol manipulation was king. Look at PAIP for some examples: https://github.com/norvig/paip-lisp

    This paradigm has changed.

  • A lispy book on databases
    2 projects | /r/lisp | 4 Apr 2023
    Origen: Conversación con Bing, 4/4/2023(1) gigamonkey/monkeylib-binary-data - GitHub. https://github.com/gigamonkey/monkeylib-binary-data Con acceso 4/4/2023. (2) paip-lisp/chapter4.md at main · norvig/paip-lisp · GitHub. https://github.com/norvig/paip-lisp/blob/main/docs/chapter4.md Con acceso 4/4/2023. (3) bibliography.md · GitHub. https://gist.github.com/gigamonkey/6151820 Con acceso 4/4/2023.

Fennel

Posts with mentions or reviews of Fennel. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-28.
  • Did we lose our way in making efficient software? – ~30 MB doc file vs. browser
    2 projects | news.ycombinator.com | 28 Apr 2024
    It's interesting: minimal software is out there, but folks don't tend to choose it. I spend a fair amount of time thinking about how to be conservative in my dependencies, and this encourages a lightweight stack that tends to perform pretty well. These days, I'm favoring tools like Lua, SQLite, Fennel[0], Althttpd[1], Fossil[2], and the Mako Server[3] and find that great, lightweight, stable, efficient software is to be had, for free, but you have to go a bit off the beaten path. This isn't stuff you hear about on Stack Overflow.

    In terms of frontend, which the post focuses on (Google Docs and a 30MB doc), I guess I'm conflicted. While I tend to favor native apps + web pages, I'm also a daily Tiddlywiki user, and I really think web apps have their place (heck, one idea I'm working on is a lightweight local server that lets you run web apps like Tiddlywiki). But without a doubt, Tiddlywiki is more resource intensive than Emacs (my go-to for notetaking when I'm not on TW). My tab for a 6MB Tiddlywiki file uses 155MB of RAM, and my (heavily customized, dozens of open buffers) Emacs session uses 88MB. So I do think the author has a good point.

    [0]: https://fennel-lang.org/

  • Pluto, a Modern Lua Dialect
    9 projects | news.ycombinator.com | 27 Dec 2023
    Eh it's not just luajit and luajit didn't create that problem either. It's a symptom of lua actually succeeding at its design goal of being easily embedded as an extension language. A significant number of incompatible runtimes are more popular than the most recent puc lua, including I believe the older official lua 5.2 released in 2011.

    I've done a fair bit of professional lua development and I don't think I've ever written standalone up-to-date puc lua except maybe for some tooling & scripts. It's such a small language and used in such a way that the runtime, distribution method, and available APIs have much more impact on your use (and compatibility) than the version.

    Virtually everyone shipping a lua environment is also shipping changes to it that make it a unique target, if only extensions to the standard library. This is why I think syntax layer-only approach like fennel's is the correct choice for improving on lua. It mirrors lua's runtime semantics exactly, and allows you to access the implementation peculiars on their own terms and so can just be run on time of any lua system.

    https://fennel-lang.org

  • LÖVE: a framework to make 2D games in Lua
    26 projects | news.ycombinator.com | 13 Sep 2023
    Just learned about https://fennel-lang.org/ , could have probably used that as well to avoid Lua.
  • The Bipolar Lisp Programmer
    3 projects | news.ycombinator.com | 11 Aug 2023
    > I’m positive that there is a Lispy language out there (actually in existence, or the aether) that is appropriate for embedded work, but the constraints of the target make it difficult to envision.

    Perhaps Fennel* fits the bill?

    * https://fennel-lang.org/

  • The Future of the Vim Project
    6 projects | news.ycombinator.com | 10 Aug 2023
    I've also seen neovim plugins written in fennel [0], so if you want something lispy, that's possible now.

    [0]: a Lisp that compiles to Lua, https://github.com/bakpakin/Fennel

  • Qual a linguagem que vocês mais gostam de programar?
    2 projects | /r/brdev | 26 Jun 2023
  • Can I use elixir as the scripting language of my game engine?
    1 project | /r/elixir | 6 Jun 2023
  • TimL: Clojure-like Lisp dialect that runs on and compiles down to Vimscript
    3 projects | news.ycombinator.com | 26 May 2023
    Something similar: Fennel (https://fennel-lang.org/) is a lisp that compiles into Lua, which nvim can use as plugins, so you can write nvim plugins in a lisp. Aniseed (https://github.com/Olical/aniseed) makes this really easy.
  • Announcing automation-service: write and schedule home automation scripts in Lua
    3 projects | /r/haskell | 12 May 2023
    If you want a more FP language on the Lua runtime, you might be interested in Fennel. I wrote a post about adding Fennel compiler to a hslua interpreter a while back, which might be useful for you.
  • 916 Days of Emacs
    12 projects | news.ycombinator.com | 13 Apr 2023

What are some alternatives?

When comparing paip-lisp and Fennel you can also consider the following projects:

mal - mal - Make a Lisp

janet - A dynamic language and bytecode vm

30-days-of-elixir - A walk through the Elixir language in 30 exercises.

urn - Yet another Lisp variant which compiles to Lua

Crafting Interpreters - Repository for the book "Crafting Interpreters"

nvim-lspconfig - Quickstart configs for Nvim LSP

coalton - Coalton is an efficient, statically typed functional programming language that supercharges Common Lisp.

Lua-RTOS-ESP32 - Lua RTOS for ESP32

picolisp-by-example - The source code of the free book "PicoLisp by Example"

lua-languages - Languages that compile to Lua

slime - The Superior Lisp Interaction Mode for Emacs

webassembly-lua - Write and compile WebAssembly code with Lua