last day (26 days later) » 

02:59
Okay first of all, don't question the title
Second, this is a room dedicated to my efforts to make a tacit esolang
Feel free to join me on my journey
The purpose of making a unique chat room is mainly to have a place to document my work and let other people comment on my progress if they so desire
What is Tacit Programming?
From what I've discovered from numerous sources, tacit programming is the practice of composing functions together so that everything flows in a single line of execution.
That's probably not the clearest definition, so let me try again
Tacit programming is the combining of functions in a way which allows the values of the inner functions to be used by outer functions.
One could say you start at the inner most function and work up the function "chain"
Here's an example I found on wikipedia
```def example(x):
y = foo(x)
z = bar(y)
w = baz(z)
return w```
If we wanted to write that in a tacit manner, one would write:
@Lyxal but this time, better!!
w = baz(bar(foo(X)))
@Razetime that's the hopes
I've tried this before, and this was the result
But that got too confusing to parse, and had way too many patterns
How do other languages implement tacit?
This will be a look at the tacit methods of other languages like APL, Jelly, J and K
I'll start with J, because that's the tacit language I have the most knowledge of
J has hooks and forks
(it's sudden, but I have to go now for a bit)
 
2 hours later…
04:39
Just to be clear, I might pick up/drop a topic at any time without warning sometimes
A fork is a set of three commands that are composed together.
(+/ % #) -> +/(input) % #(input)
 
4 hours later…
08:28
A hook is a set of two commands composed together
+% -> input + ( %input)
However, hooks and forks can also be dyadic
` left (+%) right` > left + (%right)
left (fgh) right > (left f right) g (left h right)
08:52
Well, APL has a built-in for tacit evaluation, so the easiest way to implement tacitness is just go ahead and implement the language in APL.
The built-in is the eval function. :)

  last day (26 days later) »