Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Challenges

Post History

66%
+2 −0
Challenges Write a Deadfish Interpreter

Vyxal D, 26 bytes 0Ȯ(n«ƛ√J«`›‹²…`ĿĖD₈=$0<∨[0 Try it Online! 0 # Push 0 Ȯ(n # Iterating over the input «ƛ√J«`›‹²…`Ŀ # Translit...

posted 2y ago by A username‭  ·  edited 2y ago by A username‭

Answer
#2: Post edited by user avatar A username‭ · 2021-08-26T22:52:53Z (over 2 years ago)
  • # [Vyxal](https://github.com/Vyxal/Vyxal) `D`, 26 bytes
  • ```
  • 0Ȯ(n«ƛ√J«`›‹²…`ĿĖD₈=$0<∨[0
  • ```
  • [Try it Online!](https://lyxal.pythonanywhere.com?flags=D&code=0%C8%AE%28n%C2%AB%C6%9B%E2%88%9AJ%C2%AB%60%E2%80%BA%E2%80%B9%C2%B2%E2%80%A6%60%C4%BF%C4%96D%E2%82%88%3D%240%3C%E2%88%A8%5B0&inputs=iissso&header=&footer=)
  • ```
  • 0 # Push 0
  • Ȯ(n # Iterating over the input
  • «ƛ√J«`›‹²…`Ŀ # Transliterate into appropriate Vyxal instruction.
  • Ė # If 256 or negative
  • D₈=$0<∨[
  • 0 # Push 0
  • ```
  • # [Vyxal](https://github.com/Vyxal/Vyxal) `D`, 26 bytes
  • ```
  • 0Ȯ(n«ƛ√J«`›‹²…`ĿĖD₈=$0<∨[0
  • ```
  • [Try it Online!](https://lyxal.pythonanywhere.com?flags=D&code=0%C8%AE%28n%C2%AB%C6%9B%E2%88%9AJ%C2%AB%60%E2%80%BA%E2%80%B9%C2%B2%E2%80%A6%60%C4%BF%C4%96D%E2%82%88%3D%240%3C%E2%88%A8%5B0&inputs=iissso&header=&footer=)
  • ```
  • 0 # Push 0
  • Ȯ(n # Iterating over the input
  • «ƛ√J«`›‹²…`Ŀ # Transliterate into appropriate Vyxal instruction
  • Ė # Evaluate
  • D₈=$0<∨[ # If 256 or negative
  • 0 # Push 0
  • ```
#1: Initial revision by user avatar A username‭ · 2021-08-26T22:51:09Z (over 2 years ago)
# [Vyxal](https://github.com/Vyxal/Vyxal) `D`, 26 bytes

```
0Ȯ(n«ƛ√J«`›‹²…`ĿĖD₈=$0<∨[0
```

[Try it Online!](https://lyxal.pythonanywhere.com?flags=D&code=0%C8%AE%28n%C2%AB%C6%9B%E2%88%9AJ%C2%AB%60%E2%80%BA%E2%80%B9%C2%B2%E2%80%A6%60%C4%BF%C4%96D%E2%82%88%3D%240%3C%E2%88%A8%5B0&inputs=iissso&header=&footer=)

```
0                          # Push 0
 Ȯ(n                       # Iterating over the input
    «ƛ√J«`›‹²…`Ŀ           # Transliterate into appropriate Vyxal instruction. 
                Ė          # If 256 or negative
                 D₈=$0<∨[
                         0 # Push 0
```