← All projects
Project record1 mention
Originally shared on Hacker News

Functional language with a specializing translator (specialator)

A functional language paired with a specializing translator ('specialator') based on graph-reduction beneath lambdas. The specialator specializes away interpretive and meta-programming-like overhead, then translates the result into usable source code in a chosen target language — currently JS and C — yielding conventional imperative code when specialization succeeds and more functional-style code otherwise. The language features an expressive type system based on self-dependent sub-typing, intended to be used with a decidability checker. It is an experimental work-in-progress.

Last shared
01 / The problem

What it addresses

Interpretive and meta-programming-like overhead in functional programs, which the specialator aims to specialize away before generating code.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Functional language with a specializing translator (specialator)

    A functional language paired with a specializing translator ('specialator') based on graph-reduction beneath lambdas. The specialator specializes away interpretive and meta-programming-like overhead, then translates the result into usable source code in a chosen target language — currently JS and C — yielding conventional imperative code when specialization succeeds and more functional-style code otherwise. The language features an expressive type system based on self-dependent sub-typing, intended to be used with a decidability checker. It is an experimental work-in-progress.

    Problem: Interpretive and meta-programming-like overhead in functional programs, which the specialator aims to specialize away before generating code.

    Posted by @ThyerMJ26 · Original source ↗

    Source text · @ThyerMJ26 · · Source ↗

    I've been working on a functional language and a specializing translator (a specialator) based on graph-reduction beneath lambdas.