awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
evhub avatar

evhub/coconut

0
View on GitHub↗
coconut-lang.org↗

Coconut

Coconut is a functional programming language that compiles to Python. It functions as a source-to-source compiler, translating high-level functional syntax into compatible Python code to maintain runtime compatibility.

The language introduces a logic system for pattern matching and destructuring complex data structures. It provides a mechanism for tail call optimization to prevent stack overflow errors during deep recursive function calls and employs a lazy evaluation engine to defer computations until results are explicitly required.

The project includes support for algebraic data types, pipeline operators, and partial application. It also provides a framework for parallel data processing by distributing mapping operations across multiple CPU cores.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • Functional-to-Python Transpilation - Functions as a source-to-source compiler that translates functional syntax into executable Python code.
  • Algebraic Data Types - Allows the definition of algebraic data types to model complex values through tagged unions and variants.
  • Lazy Evaluation - Implements a lazy evaluation engine to defer computation until results are explicitly required.
  • Functional Programming Languages - Provides a full functional programming language that compiles to Python with integrated pattern matching and lazy evaluation.
  • Python Functional Programming Libraries - Brings functional programming primitives like piping and partial application to the Python environment.
  • Pattern Matching - Offers enhanced destructuring and pattern-matching logic for branching based on data structure shapes.
  • Pattern Matching - Features a logic system for destructuring complex data structures using structural pattern matching.
  • Functional Pipeline Composition - Provides pipeline operators to chain multiple functions together for sequential data flow.
  • Source-to-Source Compilers - Translates high-level functional syntax into Python source code to maintain runtime compatibility.
  • Tail-Call Optimizations - Implements a mechanism for tail call optimization to prevent stack overflow errors during deep recursive function calls.
  • Functional Programming - Provides built-in syntactical support for lambdas, pipeline programming, and partial application.
  • Stack-Safe Recursion - Optimizes recursive function calls to prevent stack overflow errors during deep recursion.
  • Parallel Processing - Distributes mapping operations across multiple CPU cores to accelerate processing of large datasets.
  • Multi-Core Workload Distribution - Provides a framework to split mapping operations across multiple CPU cores for parallel data processing.
  • Parallel Processing - Improves computational performance by distributing mapping tasks across multiple CPU cores.
  • Functional Programming - Adds functional programming features to Python syntax.
4,338 stars·143 forks·Python·Apache-2.0·24 views

Star history

Star history chart for evhub/coconutStar history chart for evhub/coconut

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Projects sharing features with Coconut

These projects share indexed features with Coconut. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • dry-python/returnsdry-python avatar

    dry-python/returns

    4,310View on GitHub↗

    Returns is a functional programming library for Python that provides type-safe containers for managing state, error handling, and optionality. It serves as a monadic container library and a type-safe error handling framework, replacing traditional try-catch blocks and null checks with Result and Optional containers to treat exceptions as data. The project is distinguished by its use of a specialized Mypy static analysis plugin to validate functional pipelines and emulate higher kinded types. It provides mechanisms for isolating side effects through IO containers and offers a framework for typ

    Python
    View on GitHub↗4,310
  • reasonml/reasonreasonml avatar

    reasonml/reason

    10,313View on GitHub↗

    Reason is a strongly typed functional language and multi-target compiler designed to produce either JavaScript for web environments or native machine code for operating systems. It serves as an OCaml-compatible language that shares an abstract syntax tree with OCaml, providing a practical syntax for the OCaml ecosystem. The project functions as a type-safe frontend language, incorporating JSX support to build user interfaces through structural elements that translate into type-safe function calls. It enables deep integration with the JavaScript ecosystem, allowing the use of existing librarie

    OCamljavascriptocamlprogramming-language
    View on GitHub↗10,313
  • elm/compilerelm avatar

    elm/compiler

    7,794View on GitHub↗

    This project is a functional programming compiler and JavaScript transpiler that transforms a statically typed language into optimized JavaScript for web browsers. It serves as a frontend architecture framework, providing a static type system and a package manager that enforces semantic versioning. The compiler uses a type-checking engine with automatic type inference to prevent runtime errors and guide code refactoring. It implements a structural pattern for managing application state and rendering user interfaces through a virtual DOM, utilizing immutable data and purity-based state transit

    Haskellcompilerelm
    View on GitHub↗7,794
  • purescript/purescriptpurescript avatar

    purescript/purescript

    8,832View on GitHub↗

    PureScript is a statically typed, purely functional programming language that compiles to JavaScript. It is designed as a cross-platform frontend language for building safe web applications, utilizing a static type system and a JavaScript compiler to ensure program correctness across browser and server environments. The language is distinguished by its emphasis on mathematical purity, featuring a robust type system with first-class support for monads. It provides a sophisticated toolset for static verification, including algebraic data types, type classes, and automatic type inference to reje

    Haskellalt-jshaskelljavascript
    View on GitHub↗8,832
Compare all 30 related projects→

Frequently asked questions

What does evhub/coconut do?

Coconut is a functional programming language that compiles to Python. It functions as a source-to-source compiler, translating high-level functional syntax into compatible Python code to maintain runtime compatibility.

What are the main features of evhub/coconut?

The main features of evhub/coconut are: Functional-to-Python Transpilation, Algebraic Data Types, Lazy Evaluation, Functional Programming Languages, Python Functional Programming Libraries, Pattern Matching, Functional Pipeline Composition, Source-to-Source Compilers.

Which projects share features with evhub/coconut?

Projects with overlapping indexed features include: dry-python/returns — Returns is a functional programming library for Python that provides type-safe containers for managing state, error… reasonml/reason — Reason is a strongly typed functional language and multi-target compiler designed to produce either JavaScript for web… elm/compiler — This project is a functional programming compiler and JavaScript transpiler that transforms a statically typed… purescript/purescript — PureScript is a statically typed, purely functional programming language that compiles to JavaScript. It is designed… pytoolz/toolz — Toolz is a Python library that implements functional programming utilities for iterable transformation, dictionary… vavr-io/vavr.