General lexing module. Converts a raw text file into a list of tagged words based on defined lexical rules
General lexing module. Converts a raw text file into a list of tagged words based on defined lexical rules
(create-taggers tag-pairs)
Convert regular expressions into predicates
Convert regular expressions into predicates
(do-tag tokens taggers)
Tag a list of tokens using regex-based predicates
Tag a list of tokens using regex-based predicates
(find-match content separators)
Attempt to match a list of separators against a string.
Attempt to match a list of separators against a string.
(front-match? a b)
Check if the leading elements of two sequences match
Check if the leading elements of two sequences match
(lex separators special-separators tag-pairs log content)
Convert a string (file) into tagged tokens
Convert a string (file) into tagged tokens
(match-separator content separator c)
Attempt to match a single separator to a string, counting the number of characters that match.
Attempt to match a single separator to a string, counting the number of characters that match.
(separate content separators special-separators)
Preform lexing of both special and normal separators
Preform lexing of both special and normal separators
(separate-normal content separators)
Break a string up by multi-character separators. Assumes that separators are in sorted order.
Break a string up by multi-character separators. Assumes that separators are in sorted order.
(separate-special content specials)
Separate strings, comments, and other specially lexed elements from code
Separate strings, comments, and other specially lexed elements from code
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close