On this page:
barrel:   A stack language meant for lists
8.12

barrel: A stack language meant for lists🔗ℹ

 #lang barrel package: barrel

This is a stack language that uses reverse polish notation. It is written in br/quicklang, a slightly modified version of racket. I plan to translate to racket/base in the future.

The goal is to think in a new way with lists, with a forth-like stack language.

Language is still WIP. There isn’t even list support yet. For all existing features, read below.

Let’s start with the classic "Hello, World!":

#lang barrel
 
main :: "hello world" .

This results in:

hello world