The reason those are not on the wiki is back when I wrote the wiki I thought it would be obvious. And it may be obvious to some people but it is no longer obvious to me.
@WheatWizard Out of curiosity, is it obvious to you how my solution works? I didn't post an explanation, just a whitespace formatted version. I wonder how readable that is to someone familiar with brain-flak but not my answer
@wizzwizz4 Imagine if Java had an extremely expansive standard library, supported functional programming concepts (like such useful functions as "map" or "reduce"), and wasn't as stupidly verbose.
I suspect that @WheatWizard Has slowly been taking the brain-cells that were previously dedicated to "Spelling" and "Deciding what avatars to use", and dedicating them to Brain-flak golfing skills
My brothers and I like to play Cribbage. Now, the scoring rules for Cribbage are somewhat complicated, and I often worry that I'm not counting my score correctly. Therefore, your job is to write a program that will correctly score my hand.
Scoring
There are two ways to score points in Cribbag...
@ConorO'Brien The used operator has signature (*>) :: Applicative f => f a -> f b -> f b In my case f a == [a] and f b = [b] (list with entries of type a/b). So the string (the left argument) could be anything of length 2.
@Pavel Ah, here's the distinction. _ is linewise, so it doesn't matter where it's going, it isn't equivalent to v<anything>. It's more equivalent to V<anything>. So V_ selects the line and grabs the ending newline
Actually, here's a better way of putting it. 0 and _ both go to the beginning of the line. But d0 and d_ are different. d0 == v0d and d_ == V0d (or just Vd)
V is the only esolang I care about learning since I can actually apply it in practice when using Vim. And I do use Vim, just mainly the more basic functionality.
> Now, I claim that Quylthulg is Turing-complete [...] I shall perform a series of short vignettes, each intended to invoke the spirit of a different forest animal or supermarket checkout animal. Then I shall spray you with a dose of a new household aerosol which I have invented and which I am marketing under the name "Doubt-B-Gone".
O " Open up insert mode on the line above us
<C-k> " Insert a diacritic
a: " ä
<esc> " Return to normal mode
~ " Convert the character under the cursor to uppercase
DJ " Delete this line
@" " Run the line we just deleted
gJ " Join the two lines together
Challenge
Given a n-dimensional array of integers and a permutation of the first n natural numbers, permute the array dimensions accordingly.
Details
This challenge is inspired by MATLABs permute. demonstration
The permutation is given as a list of integers, e.g. [1,3,2] means 1 gets mapped to...
@DJMcMayhem Constructing a character like that isn't creative though, it's like if I obfuscated "Hello World" as "H"+"e"+"l"+"l"+"o"+" "+"W"+"o"+"r"+"l"+"d"
@Pavel An operator is any command that takes a motion afterwards (so y, d, c, etc. are all operators). You can also define your own operators (which is largely what V does).
To make a selection all uppercase, use U, lowercase use u
And gu and gU are also operators, so you could do gU<motion> rather than v<motion>U
So... are we going to do anything with the 2017 time capsule? The Google Docs link seems to be dead, but perhaps @Pavel still has the list of languages somewhere?
@EsolangingFruit 2 reasons: 1) The argument order for ╓ is reversed. The function should be TOS. 2) The argument order for % is reversed - it should be 2@%.
I liked the idea of Snowflake, but not really the implementation (it relies too much on this metaphor of numbers and a linear command list which don't depend on the highly nested nature of the list data types)
Anonymous
@EsolangingFruit Maybe a language based on extremely lazy evaluation?
@Pavel I'm sure most of the people who submitted languages know what they submitted, so we could still do something with them if anyone's interested...
But if not, at least it inspired me to make a neat (IMHO) language.