aaronryank / forked Goto Github PK
View Code? Open in Web Editor NEWTwo-dimensional esolang. WIP, please contribute
Home Page: https://esolangs.org/wiki/Forked
Two-dimensional esolang. WIP, please contribute
Home Page: https://esolangs.org/wiki/Forked
The semantics of the fork command are:
if entered from right, the fork will direct the IP up if truthy and down if falsy. if entered from left, the fork will direct the IP down if truthy and up if falsy. if entered from top, the fork will direct the IP right if truthy and left if falsy. if entered from bottom, the fork will direct the IP left if truthy and right if falsy.
This behaviour seems internally inconsistent to me: the IP turns right on truthy top of stack when entering the fork from the left or right, but the IP turns left on truthy top of stack when entering from the top or bottom.
Instead, what do you think about the following semantics:
The fork command may be entered from any direction, and changes the direction of the instruction pointer according to the value on top of the stack. If the value on top of the stack represents truth, then the instruction pointer turns right; else, it turns left.
This gives rise to the fun mnemonic: telling the truth is the right thing to do.
Should Forked have functions? I think it would be cool because not many two-dimensional languages have them. However...
Here's the prototype for function syntax.
Given the whole point of the language, and its main unique feature compared with other 2 dimensional IP+stack based esoteric languages, Forked is an excellent name. IMNSHO.
I plan on making Forked have multiple IPs. Is this a good idea?
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.