Skip to content

Commit

Permalink
ruby: bring back hashbang
Browse files Browse the repository at this point in the history
  • Loading branch information
matslina committed Feb 8, 2025
1 parent d2adb2b commit 3af6f6a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion lang_generic/DEVEL
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ Postcondition is:
+--------------+------------------------------------------------------------+
| post_RMUL2 | )%0x100 |
+--------------+------------------------------------------------------------+
| header | #!/usr/bin/ruby |
| header | #!/usr/bin/env ruby |
| | def run(in_, out) |
| | m=[0]*0x10100;p=127; |
| | out.binmode |
Expand Down
21 changes: 12 additions & 9 deletions lang_generic/ruby.b
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,18 @@
<[-
# header
+++++++++++++++++++[-<++<+++++<++++++<++
+++<++<+++>>>>>>]<<+++++.+.+.>------.<<.
+++.-------.<<++.>>>+++.<.<.<++++.>>>>.<
<+.++++++.-.<<---.>>>>>++++++++++.<....<
++++.<<<<++++.>>----.<+++++++.>++.<-----
-.++++++.>>++++.<<+.-.+.-..<--.>>>>+++.<
<<<++.>+.+.+++++.<--.>>>>>>.<....<-.<---
.-.<<---------.>+++++.+++++++.>>-.-.++.<
<-----.+.>>>>.<<<<<<[[-]>]<
+++++++++++++++++++++[-<++<+++++<++<++++
+<+++++<+++>>>>>>]<-------.--.<<+++++.>+
+++++++++++.--.-.<.<-------.<.+++++.>>.<
+++.<.>>>++++.>-.<----.+++.<<---.>>++++.
>>++++++++++.<<<<++.+.+.>>>.<-------.+++
.<<<.>>-------.<+++.<.>----------.>++++.
>>.<<<<+.>>>.-.<---.>>>.<....<<<<--.<--.
>>----.>+++++++.<++.>------.++++++.>++++
.<+.-.+.-..<<<--.>+++.<++.>>>+.+.+++++.+
+++.>>>.<....<<<<-.>>>---.-.<-----------
--.<+++++.+++++++.<-.-.++.>-----.+.>>>>.
[<]>[[-]>]<
]>]
<[-
Expand Down

0 comments on commit 3af6f6a

Please sign in to comment.