« first day (30 days earlier)      last day (82 days later) » 

12:53 AM
I've got four sign-related operators: determine sign (-1 / 0 / 1), to positive, to negative, and take sign from another number. For strings they're determine case, to upper case, to lower case, and take case from another string. What about arrays?
 
vectorise them
 
Maybe I'll do sorting related stuff. I did have sorting as a separate code point so you could sort characters in a string, but is sorted, sort minimum, sort maximum, take sort from other array could be useful
Maybe vectorization would work, but it doesn't seem particularly useful
There's already a way to vectorize any command with one byte
 
Is there a deep map command too?
 
Like for multidimensional arrays?
 
Yeah
 
12:57 AM
Yes
 
Nice
 
I've got pretty good support for multidimensional stuff
 
That'll come in handy for
 
If y'all have any ideas for somewhat unconventional number or string operators, I have a ton of code points with only array operators
 
What are these codepoints?
 
1:02 AM
interesting
 
@user I haven't assigned them spots on the code page yet, but I'll make a list of the array operators that don't have associated number ones
 
@Razetime Of course they're interesting, but what do they do for arrays? :P
 
set commands probably
 
Ignore the hex numbers and the operators that do already have number operators assigned (there might be one or two that I missed)
 
1:06 AM
The padding one could be used for rounding to n digits
 
Already got a few of those :p
The empty spaces are reserved for constants
 
Do you have any generators?
Like "collect until no change"
And "repeat while some function is true"
 
Not at the moment, I'd been meaning to decide on 4-10 reasonable looping/control flow operators
 
For the read and write multidimensional commands, are you just indexing into an array (and replacing the element there)? If so, you could just treat the string as a 1-D array
 
I've got some other operators that work with reading/writing at positions in strings, although maybe doing so but treating the string like a 2d array would be useful
 
1:16 AM
where's the codepage spreadsheet
 
But I'm likely going to change it considerably
Everything below 0x20 should be fine though
 
(1e) should return if a string is all uppercase
 
Other than infinity and empty set, I'm moving those to letter constants and adding two new string literals
 
(1f) should return if a string is all lowercase
 
Oh, the hex numbers don't correspond to the code page
I just have those there for...I forgot why tbh
But those are good suggestions, adding
I'll add some ASCII art stuff, like mirroring strings
 
1:28 AM
An operator that squares a string
I. E. Wraps it into a square
An operator that shapes a string given dimensions
 
Oh, good idea
 
I'm full of good ideas
And I'm happy to share for fred
*free
 
Poor fred
Nobody shares with him except by accident
 
Lol
Make ash good at ascii art and beat canvas and charcoal
 
Well this is awkward...I'm out of string code points
 
1:31 AM
Oh
 
Also for like a year I never realized canvas and charcoal were different languages and always figured I was misremembering the name
 
Lol
The only real difference is that one is prefix and the other is stack based
 
Actually the string square thing shouldn't need its own code point, I've already got an operator to group into strings with length n, so you'd just need to join them
 
Do you have two byte functions yet?
 
I'm going to add some two byte math functions
 
1:34 AM
Good
Because the top two languages of February 2021 have two byte ops
 
I finally listened and decided trig functions and ln/exp didn't need whole code points
 
@RedwolfPrograms yes!
 
Although I do have plenty of space for them
 
 
22 hours later…
11:15 PM
There are so many annoying special cases for anything involving floats
Exponentiation is the worst one...infinity, negative numbers, fractions, negative fractions, and so on
 

« first day (30 days earlier)      last day (82 days later) »