DennisMitchell / jellylanguage

Jelly is a recreational programming language inspired by J.
MIT License
860 stars 47 forks source link

Ðg - Apply link, get runs, mold original list based on them #78

Open GolfingSuccess opened 6 years ago

GolfingSuccess commented 6 years ago

Important notes:

Note: Please test this if you can, I don't have time right now.

DennisMitchell commented 6 years ago

I like the idea. There are a few issues with the implementation though.

  1. Your code contains two syntax errors.

  2. Hypers are deprecated and should no longer be added to the interpreter.

  3. I'd like to use Ðg to mimic Œg's grouping as a quick. That way, we can add this one as ÐG, and ÐĠ to group the indices themselves, as Ġ does.

DennisMitchell commented 6 years ago

I don't think this would work well for non-vectorizing links. The links should probably get mapped over the iterable.