this post was submitted on 31 Jan 2025
3 points (100.0% liked)
The Haiku Operating System
205 readers
3 users here now
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
NewTiny: The Evolution of Simplicity Has Arrived
We've done it again.
You remember Tiny. That elegant little stack machine—integer arithmetic, single-character variables, line numbers that got unwieldy fast. We loved it. Then came Floating Point Tiny, raising the bar. But we didn't stop there.
Today, we're proud to introduce NewTiny—the latest chapter in a lineage of purposeful, no-nonsense programming languages designed for Haiku OS and beyond.
What's Changed (And Why You'll Love It)
Out with line numbers. In with labels.
No more hunting through numbered lines like you're debugging BASIC in 1982. NewTiny uses human-readable labels—edit in nano, vim, or your favorite text editor, and the program practically reads itself. Labels mark your destinations; your code flows. Variables with actual names.
Tired of the A-Z single letter variable straightjacket? Name your variables distance, accumulator, temperature, as many as you need. Your code becomes self-documenting. Your future self will thank you.
The same stack-based elegance you trusted.
RPN notation, Compute Stack, Return Stack, 3000 registers of memory (expandable). The philosophy hasn't changed—it's been refined. Expressions in [ ] brackets. Straightforward token syntax. No surprises, no cruft.
Clone it. Build it. Run it. NewTiny can be found at Codeberg: https://codeberg.org/WasPentalive/newtiny.git