« first day (1723 days earlier)      last day (646 days later) » 

12:57 AM
@cairdcoinheringaahing I can learn Jelly?
@cairdcoinheringaahing I have a question: What if you use Ç when there are no links?
 
Ç wraps, so if you use it on the top link, it calls the bottom link
 
If you only have one link, you can use it to recurse, forcing the arity (as ß uses the same arity as the line)
@Fmbalbuena That's basically f(x) = {f(x); 1}
 
doesn't ß use its chain's arity?
 
If statements in Jelly?
 
1:05 AM
@hyper-neutrino it uses it's link's arity
 
which is annoying cuz if you use ¥ then ß becomes a dyad :/
 
> ß This link, with the same arity.
@hyper-neutrino That's kinda buggy :P
 
don't take my word for it
 
No, it's correct, but it shouldn't (aka is buggy) :P
@Fmbalbuena if the entire program is just Ç, it just recurses infinitely, until the call stack overflows
 
wrong message
If statements in Jelly? [repost]
 
1:19 AM
<if><else><condition>?
 
@cairdcoinheringaahing Is that a question?
 
No: ×3‘ƊHḂ? for example if one step of Collatz
 
@cairdcoinheringaahing if statement separator?
 
There is no separator, it takes a link as the "if true" body, a link as the "if false" body and a link for the condition
 
@cairdcoinheringaahing Try it online!
 
1:23 AM
Oh right, not link (line), link (atoms + quicks)
 
@Fmbalbuena That parses 111 as a single token
 
@cairdcoinheringaahing How to do?
 
Try H‘Ḃ?
 
@cairdcoinheringaahing what is "H‘Ḃ"?
 
1:28 AM
?: if statement, read the previous 3 links. : condition, if argument is odd. H: if-body, halve. : else-body, increment
So this halves odd numbers and increments even numbers
 
A example is ¢¢¢? but where is the next link as a nilad?
 
That would work
 
<link 1>
<link 2>
<link 3>
<code to run link 1>
 
The way to think about it is xyz? is if(z) { x } else { y }, where x, y, z` are links (atoms + quicks, not lines)
@Fmbalbuena No, other type of links
Unless I say "links (line)", I mean "links (atoms, quicks)"
 
What is atom and quick?
 
1:33 AM
Atoms (nilads, monads, dyads) and quicks (such as )
 
<if <quick, atom>><else <quick, atom>>?
 
I think you may be trying to run before walking to be honest
Atoms and quicks are the fundamental parts of Jelly, if you don;t get those, you're unlikely to understand anything about Jelly
 
don;t?
 
do you mean don;Trim all elements of y from both sides of x?
 
1:39 AM
...no, I mean "don't", but accidently used ; instead of '
 
@cairdcoinheringaahing Do you solve all lynn puzzles?
 
Not yet. I've gotten 1-9, 12, 15, 18-20, 25, 27-28
 
What happens if I use an arithmetic function but the arguments are strings?
@cairdcoinheringaahing ^
 
1:58 AM
@Fmbalbuena undefined behaviour
 
@cairdcoinheringaahing why?
 
@Fmbalbuena Because Jelly primarily aims towards integers and arrays, and can half-cope with other types
 
@cairdcoinheringaahing what + will do and what × will do but the arguments are string.
 
2:49 AM
@Fmbalbuena In short, undefined behaviour that isn't worth exploring while still learning Jelly
Long: + will vectorise the same as with lists of integers, and will concatenates two characters. Multiplication of two strings will error. However, doing arithmetic commands on strings will result in "Python strings" rather than "Jelly strings" and once you introduce Python strings to a Jelly program, you'll get undefined behaviour
 
 
13 hours later…
3:25 PM
@cairdcoinheringaahing How many Jelly interpreters there are?
 
3:50 PM
exactly one
the others are forks
or M
 
4:03 PM
@Razetime can you show me jht link for interpreter?
 
no.
 
I need link for interpreter (non-TIO)
 
then find it.
 
@Fmbalbuena Hyper's JHT website calls the TIO Jelly interpreter to run code
 
4:20 PM
my website is at jht.hyper-neutrino.xyz but like caird said it's not its own interpreter, it just calls TIO lol
 
4:37 PM
@hyper-neutrino I need this because i can't run with jelly bar
 
@Fmbalbuena ?
 
@cairdcoinheringaahing Print [8, 9, 10, 11, 12, 13, 14] with 3 bytes
 
4:52 PM
@cairdcoinheringaahing How do you found?
 
It's clearly a modified range, with 7 elements, and each one, minus 7, is 1, 2, .... So just generate the range [1, 2, 3, 4, 5, 6, 7] and add 7 to each
 

« first day (1723 days earlier)      last day (646 days later) »