Skip to content

Instantly share code, notes, and snippets.

@gaycomputers
Last active June 6, 2019 13:55
Show Gist options
  • Save gaycomputers/a76cf6dbc5b7adfe00280ffbf360ac33 to your computer and use it in GitHub Desktop.
Save gaycomputers/a76cf6dbc5b7adfe00280ffbf360ac33 to your computer and use it in GitHub Desktop.
numberpipes
This is a markup for a esoteric lanuage called numberpipes
Surprise, unicode is important
so far:
| and - draw pipes, useful for connections
+ is a crossover,
x is a splitter
Usable "Blocks"
@ # $ % & * ! ^ > < v
Place holders for declaring snippets of typescript that execute when signal hits them
A B C D E F G H
<{commandblocks}>
declare width and height on last line of declarations like so
<{124,64}>
declare typescript blocks like
A=<{console.log("Hello World")}>
picture starts on second line
@ = cannot be connected directly to path (doesn't check surrounding connections)
& = same
\ = substitute for x , shows reader intended path, but not actual (clarity)
/ = substitute for x , shows reader intended path, but not actual (clarity)
\
>- = and
/
/
-< = and
\
\ /
v = and
|
|
^ = and
/ \
! = not, when it is read during a loop, upon being read it switches the loops signal for whatever direction it was connected
= and [ are just symbolizing positive flow here:
===!---
---!===
|
!
[
[
!
|
# = acts as an x, unless other blocks are connected
clocks:
more than one clock in a loop will cause compiler error
clockwise:
&
# = clock
&
&#& = clock
counter-clockwise:
@
# = clock
@
@#@ = clock
Step 1:
find clocks
Step 2:
as soon as clock is found follow loop
@gaycomputers
Copy link
Author

Possible name: bluestone?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment