Skip to content
@fern-pl

Fern PL

The Fern Programming Language

The Fern Programming Language

GitHub repo license GitHub repo size GitHub code size GitHub commits Stars
Latest commits Lines
Gallinule FNC Specification

Fern is a natively compiled, highly versatile language intended to bring together metaprogramming, performance, and ease-of-use to a happy medium.

Examples exist but are small tidbits meant to facilitate parser testing, the language is not functional.

Notable Features

  1. Hybrid Memory Management

    • Linear Reference Counting
  2. Symbol-First Casting and Conversion

  3. UFCS (Uniform Function Call Syntax)

  4. CTFE (Compile-Time Function Execution)

  5. Symbols and Aliases

  6. Granular Attributes

  7. Variable-Based Return

  8. Iota Operator

  9. Syntactic Sugar Tuples and Tags

Specification

  1. Model

  2. Grammar

  3. Lexical

  4. Metaprogramming

Fern is planned to be able to, as well as natively compile, compile into CIL which may be interpreted directly as if Fern were C# and the standard library is likely to incorporate a more fully fleshed out rendition of Godwit to enable full seamless integration and interop with .NET languages.

The language is heavily based on D, with elements from C# and Rust, but it drastically varies both on the backend and frontend from such languages. Although it is intended for inexperienced developers to be able to use the language, such differences in the language may be confusing without a programming background and it is recommended to have learned at least one language prior.

For more information on the language just read the spec 🥺🥺

Pinned Loading

  1. fnc fnc Public

    The Fern programming language official compiler.

    D 3 1

  2. specification specification Public

    1

  3. gallinule gallinule Public

    Comptime dynamic assembler for cross-arch routine compilation built from the ground up for D comptime integration.

    D 4

Repositories

Showing 6 of 6 repositories

Top languages

Loading…

Most used topics

Loading…