Login
You're viewing the front-end.social public feed.
  • Nov 7, 2024, 11:13 PM

    a stack of bits in tote, using an encoding described here:

    Pushing a 0 onto the stack is equivalent to doubling the number.

    Pushing a 1 is equivalent to doubling and adding 1.

    Popping is equivalent to dividing by 2, where the remainder is the number.

    @neauoire hi! we havent talked with you before but we made a cool thing using tools & resources you made :D

    screen recording of a canvas of symbols, with a list of rewrite rules next to it.

at the start one depicting something being pushed onto a stack is clicked, which causes a bunch of symbols to appear and disappear a few times, before settling in a state where a count of black dots have increased. this is repeated a few times.

then, another symbol, depicting something being taken from the top of a stack, is clicked. this eventually causes some symbols to appear, in the reverse order of which they were pushed before. behaving like a stack.

at the end, a symbol depicting a stack overflowing is clicked. this causes the stack to get emptied.
    💬 0🔄 1⭐ 0