Releases: betaveros/paradoc
post–Black-Friday release
If I get around to the same festive coding challenge that's always this time of year. You guessed it.
- Complex numbers! Trailers and built-ins often end in
j
. - Short blocks! If your block just has two or three tokens, you can delimit it with a single starting character.
- One-shot input triggers that read a list of tokens, once! We probably put this off unnecessarily long, it helps too much.
- Balanced mod
- Block composition
- Clamped substraction
- Deeply vectorizing min and max
- Golf aliases
- Hoard extending
- Improve case statements to use block predicates; add an assertion statement using the same idea.
- Index cyclically
- Left/right add spaces and add
- Lots of trailer tweaks
- Neighbor-finding for coordinates
- Product trailer; make sum trailer deep
- Reject trailer with
j
; count-not trailer - Type predicates
unemap
, flippedenumap
black friday release
Gearing up for Advent of Code maybe. Unclear.
- Add count-distinct and error boundary block trailers
- Add some built-ins for finding common prefixes
- A new integer trailer deletes a specified element in the stack.
- As vaguely planned in the back of my head for a while, assignment variants are gone because they aren't practical. For the hard mutations you want to do, hoards are more flexible and actually reasonable for us to make performant. Now adding trailers to an assignment just pops something and performs the trailers on it.
- Bracket cases now use blocks provided as the condition as predicates rather than naively checking for equality.
- Relatedly, integers, floats, and strings become reluctant blocks that push themselves with a single underscore.
- Add documentation for hoards.
- Improve hoard coercion.
minimax to rule the world
- Functions
#æ
/#œ
to find most frequent and least frequent - Functions
<rs
/Œs
and>rs
/Æs
to list all minima and maxima Ah
,Bh
,Ch
,Dh
delete all the built-ins starting with those letters and make that letter a hoard, for efficient access to mutable data structuresFirst _duplicate
/=g
- A fair amount of documentation, probably
renaming and stuff
This probably deserved to be a minor version bump, but SemVer says I can do whatever I want as long as the major version is 0, and it's too late to change it anyway. So:
- What used to be
A
(Abort) is nowE
(Exit). What used to beT
(Ten) is nowA
(the base-36 digit). What used to beE
is now¹
because it's not worth an ASCII character. Some behavior of*
was put intoT
(Tabulate);*
andB
now perform flat Cartesian product, because it turns out a lot of usages of*
were immediately followed by flattening the result. Time functions now go underE
(Epoch); regex functions now go underX
(eXpressions). _mapbind
is nowy
because it was so useful in practice that it absolutely deserved an ASCII letter.- The source code of the program currently being executed is now put in
Qn
, so you can write quines cheaply. - Leading 0s in numeric literals are now treated as separate numbers.
- Bullet's initial value is now a fresh Hoard, which is hopefully more useful.
- New functions include
Int_groups
,Float_groups
, andIndex_translate
. - Bug fixes and other stuff I'm forgetting.
stack and stabilization changes
- Add more stack manipulation utilities
- Increase stability of some things, except for one...
- Add more hoard stuff
The next minor version bump will probably involve some significant compatibility-breaking things.
hark the hoarding dragons roar
glory to vee oh point four
A pre-Christmas release with questionably but snappily named "hoards" where you can stash mutable data, as well as some quality of life stuff.
This was mostly driven by Advent of Code 2018. Yes v0.3 is sketchily retroactively added for the sake of the silly titular rhyme, but, well, it's the holiday season and I'm having fun.
(Wow I am messing with tags so hard to make the stupid rhyme happen >.>)
good things come in frequenthrees
- Add the Ørganize built-in/trailer and
#p
built-in, which can often replace the perhaps surprisingly common sort-and-group dance for counting frequencies - Add a çounting block trailer for faster or simpler counting a particular frequency
- Make a handful of set operations handle lists as keys better (by not crashing)
- Make
-
delete all occurrences instead of performing multiset subtraction, which seems far more useful - Modify string-splitting behavior
- Better docs
Temporary stabilization
Apparently I left this project here for about a year.
This is the pre–Advent of Code 2018 version, for whatever it's worth.
v0.2: Para-documented
We have documentation now.