patty

A pattern matching library for Nim (by andreaferretti)

Patty Alternatives

Similar projects and alternatives to patty

  1. Nim

    357 patty VS Nim

    Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. PyO3

    158 patty VS PyO3

    Rust bindings for the Python interpreter

  4. Carp

    89 patty VS Carp

    A statically typed lisp, without a GC, for real-time applications.

  5. cligen

    Nim library to infer/generate command-line-interfaces / option / argument parsing; Docs at

  6. hebigo

    21 patty VS hebigo

    蛇語(HEH-bee-go): An indentation-based skin for Hissp.

  7. macro-lisp

    Lisp-like DSL for Rust language

  8. bu

    16 patty VS bu

    B)asic|But-For U)tility Code/Programs (in Nim & Often Unix/POSIX/Linux Context)

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. samsara

    a reference-counting cycle collection library in rust

  11. Kind2

    5 patty VS Kind2

    Discontinued A next-gen functional language [Moved to: https://github.com/Kindelia/Kind]

  12. union

    1 patty VS union

    Anonymous unions in Nim (by alaviss)

  13. sumtypes

    Discontinued Easy to use Nim sum type library

  14. nimtraits

    Discontinued Automatic trait implementation for nim types

  15. nimble

    9 patty VS nimble

    Package manager for the Nim programming language. (by nim-lang)

  16. nimlings

    Learn the Nim programming language by fixing tiny broken programs.

  17. nitro

    1 patty VS nitro

    Experimental OOP language that compiled to native code with non-fragile and stable ABI (by ultimaweapon)

  18. SaaSHub

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

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better patty alternative or higher similarity.

patty discussion

Log in or Post with

patty reviews and mentions

Posts with mentions or reviews of patty. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-11.
  • Removing Garbage Collection from the Rust Language (2013)
    9 projects | news.ycombinator.com | 11 Sep 2023
    This comment is misleading &| misinformed.

    Sum types are built-in [1] for formal parameters. `nil` is only for `ref|ptr` types. In much code you can just use stack allocated value types and there is neither GC concern nor nil concern, but there is also a mode to help: https://nim-lang.github.io/Nim/manual_experimental_strictnot...

    Nim has an easy-ish to use Lisp-like syntax macro system where you just receive & process an AST. So, to do the rest you can make libraries adding the feature without relying upon upstream compiler: such as https://github.com/beef331/sumtypes for variables with sum types or pattern matching libs like https://andreaferretti.github.io/patty/ | https://github.com/alehander92/gara.

  • What would be your “perfect” programming language?
    9 projects | news.ycombinator.com | 12 Sep 2022
  • Patten Matching in Nim
    3 projects | news.ycombinator.com | 11 Mar 2021
    ...except that macros don't change the syntax of the language! They just offer convenience on top of it, most common example is the `=>` lambda operator from the `sugar` module. I do agree, that the pattern matching macro presented in the article is a bit hard to get used to, but you don't have to, if you don't like pattern matching. And of course there are plenty of alternatives available as well, the simplest one imo is https://github.com/andreaferretti/patty
  • A note from our sponsor - InfluxDB
    influxdata.com | 29 Apr 2025
    Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems. Learn more →

Stats

Basic patty repo stats
3
279
2.1
about 2 years ago

andreaferretti/patty is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of patty is Nim.


Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that Nim is
the 50th most popular programming language
based on number of references?