Skip to content

Any interest in CSS-style selectors? #76

Open
@cap10morgan

Description

Great library, thanks for writing and publishing it!

I wrote up a macro for my own usage that allows me to use CSS-style selectors for simple scalar selectors (i.e. div.foo, span#bar, or even div.foo:nth-child(3) but not compound things like div tr td) that lets me do this:

(css-selector :td.comment)

instead of this:

(s/and (s/tag "td") (s/class "comment"))

Is there any interest in merging something like that into the project? I can put together a PR if so.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions