pointless is a programming language created in 2020 by Avery N. Nortonsmith.
#1023on PLDB | 4Years Old |
git clone https://github.com/pointless-lang/pointless
Pointless: a scripting language for learning and fun
import "chart.ptls" as chart
output =
iterate(collatzStep, 175)
|> takeWhile(greaterThan(1))
|> chart.scale(8)
|> println
collatzStep(n) =
if n % 2 == 0 then n / 2 else n * 3 + 1
Feature | Supported | Example | Token |
---|---|---|---|
Comments | ✓ | ||
Line Comments | ✓ |