batman-nair / ircis Goto Github PK
View Code? Open in Web Editor NEWI Run Chars I See(IRCIS) - a 2d grid based esoteric programming language.
License: MIT License
I Run Chars I See(IRCIS) - a 2d grid based esoteric programming language.
License: MIT License
Not sure which of these are worth doing, but here are some things I thought would be fun to add.
Send information to the first Runner via stdin. for example, echo "someinfo" | ircis myprog.txt
would execute myprog.txt, but would start the first Runner with "someinfo" in the stack or in a variable?
Program "jumps" -- put two numbers on the stack for (x, y), and then when you hit a character for the "jump" command, the Runner would jump to that location on the grid.
Pause command -- will pause the runner for the number of "ticks" indicated by the num on top of the stack.
Rnd command -- push a random number on top of the stack
Make timing configurable -- add a configuration option to specify the pace that the visualization HTML will "tick." (Purely cosmetic.)
Thoughts?
Hey @bhudgeons,
I was thinking about using cxxopts for making options handling a lot easier and making main function cleaner.
Since you were the one that implemented it, wanted to know your opinion.
You can find the changes in develop branch.
I'm adding more arithmetic operators, but wanted @batman-nair's opinion on something:
The new operators are pretty straightforward and standard:
| bitwise OR
< bitwise left shift
> bitwise right shift
But I'm not sure about exponentiation and XOR. In C, ^ is XOR, but to the general public 2^3 is usually "2 to the third power," and I think we should use that in IRCIS. But then, what do we use for XOR?
Some candidates:
V
$
and while I'd like to keep it ASCII, there's also
U+22BB ⊻ XOR (HTML ⊻)
U+2295 ⊕ CIRCLED PLUS (HTML ⊕ · ⊕)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.