aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <54318333+nsfisis@users.noreply.github.com>2023-03-15 03:03:51 +0900
committerGitHub <noreply@github.com>2023-03-15 03:03:51 +0900
commit289ecbad08fd01c45fe3ca25aa708489f8cf0ce9 (patch)
tree45dc3cab46e6a14146202863011e49d5ebbbadb3
parentd75e5003ef94f2301bcfe2af255c628fed14d51f (diff)
downloadnsfisis-289ecbad08fd01c45fe3ca25aa708489f8cf0ce9.tar.gz
nsfisis-289ecbad08fd01c45fe3ca25aa708489f8cf0ce9.tar.zst
nsfisis-289ecbad08fd01c45fe3ca25aa708489f8cf0ce9.zip
Update README.md
-rw-r--r--README.md31
1 files changed, 16 insertions, 15 deletions
diff --git a/README.md b/README.md
index 0d10e27..1e55b21 100644
--- a/README.md
+++ b/README.md
@@ -1,16 +1,17 @@
-### Hi there šŸ‘‹
+```ruby
+s = '
++++++ +++++
+[
+ > +++++ +++++ + > +++++ +++++ +
+ > +++++ +++++ > +++++ +++++
+ <<<< -
+]
+> . > +++++ . >> ++ . < +++++ . < . > . < .
+'
-<!--
-**nsfisis/nsfisis** is a ✨ _special_ ✨ repository because its `README.md` (this file) appears on your GitHub profile.
-
-Here are some ideas to get you started:
-
-- šŸ”­ I’m currently working on ...
-- 🌱 I’m currently learning ...
-- šŸ‘Æ I’m looking to collaborate on ...
-- šŸ¤” I’m looking for help with ...
-- šŸ’¬ Ask me about ...
-- šŸ“« How to reach me: ...
-- šŸ˜„ Pronouns: ...
-- ⚔ Fun fact: ...
--->
+m=[p=n=0,0,0,0,0];c=-1;case s[c];when'>';p+=1;when'<';p-=1
+when'+';m[p]+=1;when'-';m[p]-=1;when'.';print m[p].chr;when
+'[';loop{;case s[c+=1];when'[';n+=1;when']';break if n==0;
+n-=1;end;}if m[p]==0;when']';loop{;case s[c-=1];when']';n+=1
+;when'[';break if n==0;n-=1;end;}if m[p]!=0;end while s[c+=1]
+```