OpenSystemsLab / q.nim

Query HTML/XML elements using a CSS3 or jQuery-like selector syntax
http://huy.im
MIT License
57 stars 2 forks source link

supports nim 0.19 and latest devel #3

Closed skellock closed 6 years ago

skellock commented 6 years ago

Fixes a warning (indentation) and an error (strings are now nil-hostile) to make the nim@0.19 (and latest devel) compiler happy.

Heads up: I noticed in your q.nimble file you support nim@0.10 and up. Although this change is compatible with nim@0.18 and up, I really don't know if it is compatible going all the way back to 0.10.

Thank you kindly for this library. It works well for my light html parsing needs... also, I'm shocked at how small the codebase is. Great job.

ba0f3 commented 6 years ago

I wrote this lib when I was learning Nim, and trying to understand how stuffs work. It is just for education purpose, glad that it helps. Thank you for your interesting!