Proyectos
Ver en GitHub
pointless-lang/pointless
pointless-lang/pointless has 124 GitHub stars and 9 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-16 19:14 UTC. Last push 2026-04-12.
Crecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- Recopilando historial
- in 15 days
- Recopilando historial
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
Acerca de
Pointless: a scripting language for learning and fun
AprendizajeREADME.md
Original
Pointless
A Language for Learning
fn step(n)
n % 2 == 0 then n / 2 else n * 3 + 1
end
fn hailstone(n)
values = [n]
while n > 1 do
n |= step
values |= push(n)
end
values
end
bars = chars("▁▂▃▄▅▆▇█")
fn getBar(n, maxVal)
scaled = 8 * (n - 1) / (maxVal - 1)
bars[Math.min(Math.floor(scaled), 7)]
end
fn chart(values)
values
$ getBar(max(values))
| join("")
end
hailstone(7)
| chart
| print
▁▄▂▆▃█▄▂▇▃▂▁▃▂▁▁▁
Installing
Using Node.js with npm:
npm install --global https://github.com/pointless-lang/pointless/