pip
pip copied to clipboard
Pip: an imperative code-golf language
Currently, `TB` and `FB` allow bases up to 36. This is because I'm lazy and used Python's `int` base conversion for `FB`, despite the fact that there's no equivalent in...
This issue is a place to brainstorm potentially useful new operators. Most of these, if they are implemented, will become 2-uppercase-letter operators; some will be 2-byte symbolic operators. **Feel free...
- [ ] `XA` should be the "alphanumeric" regex (-\`[0-9a-z]\`). `XZ` can be the "any letter" regex (-\`[a-z]\`). - [ ] `**` should be removed: `E` is shorter most of...
Using a negative index with an infinite Range returns nil, which is probably the most sensible behavior; but it should also give a warning message. Applies to `@`, `@`, `H`,...
Adding unit tests would be a good idea. It'll be a long process, so for a more manageable starting place, I'm picking `ptypes`.
Currently, if you construct a Range from non-integers, both values are truncated to ints. For example, `1.2,3.9` gives the same result as `1,3`, and `-3.9,-1.2` gives the same result as...
A loop statement (currently any of `F`, `L`, `LR`, `T`, and `W`) should automatically set a local variable to its 0-indexed current iteration count. After the loop completes, the variable...
My original plan, a while back, was for `\a` et al to refer to the value of the local variable at the next higher scope level. I implemented it as...
A couple of different, maybe mutually exclusive ideas about automatically assigning variables within loops: 1. For any type of loop, assign the iteration number (0, 1, 2, ...) to some...
- [ ] Regex matching hex digit: -\`[0-9a-f]\` (`XH`) - [ ] Regex matching alphanumeric character: -\`[0-9a-z]\` - [ ] Regex matching word boundary: \`\b\` (`XB`) - [ ] Regex...