← All projects
Project record1 mention
Originally shared on Hacker News

Solace

A programming language that compiles to JavaScript, providing syntactic improvements and type-checking, with a signal-based system called live variables that unifies promises, async/await, and callbacks. Live variables can be compiled through interchangeable compiler plugins into framework-specific code, such as React's useState or Vue's Refs, to make code more future-proof. The project is currently in a concept stage.

Last shared
01 / The problem

What it addresses

JavaScript code involving promises, async/await, and callbacks is complex; the language aims to streamline these into one signal-based system.

02 / Source history

Shared over time

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

  1. Solace

    A programming language that compiles to JavaScript, providing syntactic improvements and type-checking, with a signal-based system called live variables that unifies promises, async/await, and callbacks. Live variables can be compiled through interchangeable compiler plugins into framework-specific code, such as React's useState or Vue's Refs, to make code more future-proof. The project is currently in a concept stage.

    Problem: JavaScript code involving promises, async/await, and callbacks is complex; the language aims to streamline these into one signal-based system.

    Posted by @koehr · Original source ↗

    Source text · @koehr · · Source ↗

    I started playing around with the idea of a new programming language that compiles to JavaScript. Despite syntactic improvements and type-checking, it's goal is to streamline promises, async/await and callbacks into one signal based system I call live variables.