We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

Talk:Super Stack!

From Esolang
Jump to navigation Jump to search

Not sure how to contact user Orange, it was suggested to leave a note in the discussion page: I was looking for a very simple stack based language to write a compiler for a "gadget" called the Digirule and Super Stack! seemed ideal. With very minor changes, the Super Stack! compiler can be found here and here (part of a bigger "package" that includes an assembler) and online here. A series of "demos" based on Super Stack! but hinting more broadly to established computing techniques can be found here. Thank you for Super Stack! :) It has been fun. Aanastasiou (talk) 00:00, 21 November 2020 (UTC)

Compiler in Progress

I have been working on a compiler written in aarch64 assembly for the Raspberry Pi. I am experimenting a bit. The numbers are fixed point and signed (64 bit). The point can be set during compile of the SS program. The output of the compiler is aarch64 assembly, so the output file will need to be assembled and linked by gas and ld. I plan for the output file to be standalone. Only the output asm file is needed to assemble and link. The assembler and linker could probably be called by the compiler, too. The stack size can also be set in the output file, too. There will be directives in the SS source code to set the fixed point and the stack size. The compiler also generates random labels to be used for the if and fi statements. These are stored in a separate "label stack". They are 16 bytes long using upper case and lower case letters, so it is possible to generate duplicate labels, by highly unlikely. If it happens, just recompile. We could probably check for that, too. The "label stack" size can probably be set with a directive, too. I think the limit I've arbitrarily set is 1024 bytes that sets the actual number of nested ifs and fis to 255, but that can be increased quite a bit. That being said, I started this project in 2024 and haven't worked on it for a while. It's my plan to start working on it again. Also, I'm not sure I'd categorize SS as an esolang, but I'm not complaining. I like it enough to write a compiler for it. Right? Superstitionfreeblog (talk) 21:40, 8 June 2026 (UTC)