aaronryank / Cubically

An esoteric programming language based on Rubik's Cubes
https://github.com/Cubically
GNU General Public License v3.0
28 stars 6 forks source link

Interactive mode? #8

Closed rexroni closed 6 years ago

rexroni commented 6 years ago

It would be really cool if there was an interactive mode that printed the cube state everytime that input was requested from the user.

In fact, I just wrote such a patch, and it is in a pull request I will submit shortly.

aaronryank commented 6 years ago

I have this, it's the visualizer. It's temporarily broken due to output file restrictions.

rexroni commented 6 years ago

Ok cool. Yes, I noticed it was broken, but I thought since it tried to include rubicks.h which was in the old folder that the intention was for the visualizer to be phased out. Since you already have this feature, I will remove my interactive mode from the merge request.

Does the visualizer work like an interactive shell? If not, is there any intention of having an interactive shell? I would be happy to work on that if it would be helpful.

I think this is like the coolest esolang ever!

aaronryank commented 6 years ago

Sounds good; the other commits seem to be fine so I'll likely merge them. I haven't updated the visualizer in forever; not really sure why that happened...

The visualizer works like an interactive shell, yes, but it doesn't have any commands such as output and input or loops or anything; it can do RLUDFB. (I plan on adding loops once development on Cubically has calmed down; it sorta spiked last week.)

And thanks, glad you like it! I like it too, and I created it because I couldn't find another language with a similar memory model.. I think it's painful and tedious, yet pretty useful.

aaronryank commented 6 years ago

I'll close this issue when the visualizer is fixed.

aaronryank commented 6 years ago

Visualizer is fixed.