codereport / jello

A Python script for wrapping Jellyfish (a fork of Jelly) so you can more easily play with the language.
MIT License
51 stars 5 forks source link

FEATURE: Find the Algorithm #10

Open andreacortis opened 10 months ago

andreacortis commented 10 months ago

For pedagogical sake, what about adding a function that takes two values in and out and then loops through all the monadic functions and finds the one(s) that match the value of out ?

Same for the dyadic case, but with (in_1, in_2)

ToDo List:

codereport commented 10 months ago

Yea, that's a cool idea. There is a actually a IDE features in Pharo that does this exact thing. Shouldn't be hard to implement it.

codereport commented 7 months ago

After the addition of bits https://github.com/codereport/jello/issues/28, it would be super cool if with <=2 keyword search could yield:

For the input 3 and output 2