naxp 0.1.0
Initial CRAN release. It wraps the naxp C++ library 0.15.0.
-
naxp_parse()parses a naxp’s pattern, raising anaxp_errorwith the error’s code, message, offset and length where the pattern is invalid. -
naxp_standard()andnaxp_standards()return the standard naxps built into every naxp library. -
naxp_encode()andnaxp_decode()convert between text and encoded values. Invalid text encodes to0, neverNA. -
naxp_accepts()andnaxp_canonical_form()check text without encoding it. -
naxp_encodedvectors -
naxp_encoded()creates anaxp_encodedvector from a numeric vector and a naxp. -
naxp_pattern(),naxp_max_encoded_value()andnaxp_max_length()report a naxp’s properties. - Every function that takes a naxp parameter can instead take in its place
- a naxp pattern string, parsed as a naxp, or
- a
naxp_encodedvector, whose naxp is used.
-
naxp_compare()andnaxp_first_divergent_value()compare two naxps. -
naxp_emit()generates source code for a naxp in any of the languages C, C++, C# or JavaScript.