Message from JavaScript discussions

September 2017

— Yup this lib plugs strategy objects into a search algorithm iterator for you


A strategy is an object with at least a main and interface property, optionally with a entry property

— All of the interfaces are auto-exposed when added to a strategies object

— Then the state of the iterator is exposed as a single argument to main for every item, and entry for only the first item

Message permanent page

— Hence that state object here

— It got bigger too haha

— Comment obviously outdated

— I was playing with enqueue/dequeue order

— Goddamn

— I'm glad I don't have to do labeled loops

— The iddfs iterator is a big fat thing in itself. I wrote a lot of anti-indentation stuff that sort of helps

Message permanent page

— What