Vyxal / Vyxal

A code-golfing language experience that has aspects of traditional programming languages - terse, elegant, readable.

Home Page:https://vyxal.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fuzzed Issues

AMiller42 opened this issue · comments

Issues found by the fuzzer.

  • Some modifiers (ᵃᴴ) error on elements implemented with addDirect
  • Vectorise () errors on nilads
  • Rotate (ṙṘ) errors on empty strings
  • Indexed inputs (⁰¹) error if not enough inputs are given
  • String Cast to Int () errors on non-numeric strings
  • Overlapping Slices (o) errors on negative numbers

Side note: If I understand correctly, I think a lot of the addDirect elements could be addFull instead, not sure if that should be changed.

Side note: If I understand correctly, I think a lot of the addDirect elements could be addFull instead, not sure if that should be changed.

Yes addFull would be preferabe to addDirect, mpre information

I was incorrect about the nature of the first mentioned issue. The modifier was erroring due to typecasting and arity issues, and the modifier appears to be erroring because the ȧ element doesn't work on strings. It just happens that all of the elements I used to test were addDirect elements, and at the time I didn't fully understand what that meant.