this post was submitted on 31 Jan 2025
3 points (100.0% liked)

The Haiku Operating System

205 readers
3 users here now

https://haiku-os.org/

founded 3 years ago
MODERATORS
 

I have developed an 'esoteric' programming language - Floating Point Tiny !

You may have seen "Tiny" in Haiku Depot. Floating Point Tiny is a big brother to Tiny - replacing integer line numbers with double sized floating point line numbers, and doing math and comparisons in a double width floating point stack.

Floating Point Tiny is an RPN based language. You can find the C source and the manual at:

https://github.com/pentalive/FPTiny

To the kind person who put Tiny in the Depot for me - do you want to do it again?

you are viewing a single comment's thread
view the rest of the comments
[–] rhudson@sopuli.xyz 1 points 2 months ago

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