tag-classifier ( string -- quot )


Vocabulary
html.parser.analyzer

Inputs
stringa string


Outputs
quota quotation with stack effect ( elt -- 1/0/-1 )


Word description
Builds a function that classifies tag tuples. Returns 1 if the tag is an opening tag with the given name, -1 if it is a closing tag and 0 otherwise.

Definition