Raku / whateverable

🤖 Different IRC bots that operate on a bunch of prebuilt Rakudo versions
https://gist.github.com/Whateverable
GNU Affero General Public License v3.0
18 stars 14 forks source link

make it possible to set STDIN of all the bots #20

Open MasterDuke17 opened 8 years ago

MasterDuke17 commented 8 years ago

Implemented by @AlexDaniel in 7815457.

AlexDaniel commented 8 years ago

Except that it does not work with bisectable yet, but it will change after test-commit rewrite.

AlexDaniel commented 7 years ago

It does work everywhere, but only committable and evalable are tested. Interestingly, even unicodable supports custom STDIN, which can be used like this:

<naxieAlDle> u: { (BEGIN { slurp }).contains(.chr) }
<unicodable6> naxieAlDle, U+000A <control-000A> [Cc] (control character)
<unicodable6> naxieAlDle, U+0020 SPACE [Zs] ( )
<unicodable6> naxieAlDle, 407 characters in total: https://gist.github.com/d8a7ac2ea385595bc25c8783d8989270

So I'd say we need more tests.