astral icon indicating copy to clipboard operation
astral copied to clipboard

example?

Open dominictarr opened this issue 12 years ago • 1 comments

It's hard to make much comment on what may be good or bad with out reference to an actual example. I have a feeling that you might want to traverse in different orders sometimes?

I'm just speaking from intuition here, but when doing similar stuff, sometimes I've needed to do topological sort order (or more simply: leaf-first order)

But, I'm only guessing, such decisions must be made with reference to actual examples...

Hmm, I'm thinking that the simplest (?) useful example might be to add tail-call optimisations!

dominictarr avatar May 27 '13 20:05 dominictarr

Thanks @dominictarr.

I have a feeling that you might want to traverse in different orders sometimes?

Maybe. Looking into this now.

Hmm, I'm thinking that the simplest (?) useful example might be to add tail-call optimisations!

That's exactly what I'm doing as a proof-of-concept.

After I get that down, I'd like to port some of jshint's features over to this. Hopefully that gives me a better idea of how I want to handle multiple types of traversals.

btford avatar May 27 '13 20:05 btford