Package selection guidance compiled from public package information, community data, and project usage.
A Dart package that provides a StringScanner class for efficiently parsing strings by applying a sequence of patterns. It maintains a position within the input string and allows incremental matching, making it ideal for building custom parsers or processing structured text. The scanner supports lookahead, skipping whitespace, and pattern-based extraction, enabling clean and readable parsing logic. Designed for use in compilers, configuration file readers, and domain-specific language (DSL) implementations, it offers a lightweight alternative to full regex engines when precise control is needed.
Use cases
Parsing configuration files
Building DSLs
Tokenizing input streams
Implementing custom syntax parsers
Processing structured text data
Key features
Incremental string parsing
Pattern-based matching
Lookahead capabilities
Whitespace skipping
Position tracking
Simple API for custom parsers
Suitable for
Developers building parsers
Those working with structured text formats
Projects requiring fine-grained text processing
Compiler or interpreter authors
Applications needing efficient tokenization
Considerations
Not suitable for complex regex patterns
Requires manual pattern definition
Best for sequential parsing workflows
Limited built-in error handling
Performance depends on pattern complexity
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
Overview
This repository is home to tooling related Dart packages. Generally, this means
packages published through the
tools.dart.dev publisher that
don't naturally belong to other topic monorepos (like
dart-lang/build,
dart-lang/test, or
dart-lang/shelf).
A client library for authenticating with a remote service via OAuth2 on behalf of a user, and making authorized HTTP requests with the user's OAuth2 credentials.