I've been playing around with making a DSL vs. using string based selectors, and I've had little success coming up with something sensible. Have you thought about this at all?
I've been playing around with making a DSL vs. using string based selectors, and I've had little success coming up with something sensible. Have you thought about this at all?
Regarding the selector DSLs, I also went with the string solution, however I translate all selectors to a recursive ADT which could be used directly.
Maybe we should unite our powers ;)
R.E. uniting forces, yeah! I looked through your code a bit, and it looks like we have the same underlying idea (yours seems a bit less convoluted than mine, though :-). I'm not really actively using hquery for anything more than a static site generator I wrote with it, but I wouldn't mind spending a few more hours/week on haskell code.
I was really surprised that there are no more templating languages for Haskell given the availability of the mighty parsec.
I am following you on github, stay in touch.