« first day (502 days earlier)      last day (1271 days later) » 

00:32
ever wanted to reverse a string using recursion?
never have I
but still
!!/run `hello` 0" λhLnt=[¤|n÷›"x:n÷i+];
@exedraj olleh
because that's totally a good idea
and if you want to do it using a while loop and good programming practices:
!!/run `hello` →string ¤ →result ←string L‹ →index {←index 0 ≥| ←result ←string ←index i + →result ←index ‹ →index}←result
@exedraj olleh
`hello` →string
¤ →result
←string L‹ →index

{←index 0 ≥|
  ←result ←string ←index i + →result
  ←index ‹ →index
}

←result
and of course, don't forget the obvious
!!/run `hello`Ṙ
@exedraj olleh
 
8 hours later…
08:36
in The Nineteenth Byte, 16 mins ago, by Bubbler
CMQ: How many golflangs have a compression scheme for regexes?
Version 2.6 lol
09:21
@exedraj Should I start work on the new docs, with the feature-requested elements included?
@exedraj ^
I saw the specs
Make sure you add to the yaml file
Where's the yaml file?
documents/knowledge
The file will generate the reference documents and the element test cases
Will be used to, that is.
@emanresuA you mean documents/specs/documentation.md?
It feels a little weird being up to the element implementation phase
Like it feels like something has been missed
But it hasn't
We're legitimately up to the element implementation phase
And I like it
09:41
@exedraj Yes
Also what should I call functions as an overload? Should it be func, fun, function, etc?
And should I use any as an overload type?
13 messages moved from The Nineteenth Byte
@exedraj ^^
Since you haven't responded, I'm going with fun.
How do I write tests for functions?
And how do I document digraphs?
 
1 hour later…
11:02
Do I need to get approval for updating the docs?
@emanresuA no
Just pr it straight into fb transpiler
@exedraj Wait PR it
Wdym?
Should I directly commit or not>
Up to you
I thought you would have wanted to make a branch for it
But directly committing is perfectly fine
Git is sus
But I've made a branch so whatever
11:11
@emanresuA I more meant that if you want to pr make sure it goes into fb transpiler
chunkybanana opened PR #234 (Vyxal/Vyxal) (Vyxal:updated-docs → Vyxal:fb-transpiler): Update docs
So I can just merge it, no problemo?
Lyxal merged PR #234 (Vyxal/Vyxal) (Vyxal:updated-docs → Vyxal:fb-transpiler): Update docs
Nvm you have
How are we going to document digraphs?
As separate elements
11:13
Like - element: "øc"
Yeah
400 lines of yaml lol
So that's about 1/6 done
I'll work on it some more tomorrow
Very cool
Are we going to have something like an elements.md file again?
That'll be automatically generated
11:15
Oh cool
The whole point of the yaml is that different formats of reference can be easily generated
So it can be used for reference files, test cases, vyxapedia, etc
Also, are we going to keep the format k: "FizzBuzz" for digraphs in the editor?
@exedraj I can make a script to search for unassigned overloads!
11:41
@emanresuA I'm not sure yet
@emanresuA +7 apparently and you're no longer winning
It's because Japt bad
bye
11:58
@emanresuA ey ey ey no saying that here
Japt good because it has flags
where the heck else do you think me from 3 years got the idea of flags from?
I say 3 years ago because that's when Keg, which is Vyxal but bad
12:27
Is Keg Vyxal but bad or Vyxal Keg but good?
both
but more so Vyxal = Keg but good
12:41
!!/issue Element to convert to/from hexadecimal There should be shortcuts for converting to and from hexadecimal (and other common bases?). You can do k^τ but that's not short enough! enhancement
Vyxal-Bot opened issue #235 in Vyxal/Vyxal: Element to convert to/from hexadecimal
smh didn't add the on-hold tag
and besides, feature requests get added to issue 160
there's no reason they have to go in that one issue
Placing them on 160 means that when we go to implement the element list, we can tick them off progressively

« first day (502 days earlier)      last day (1271 days later) »