Overview
RCParsing Tutorials Overview
Welcome to the tutorials for RCParsing, a powerful lexerless parsing library designed for creating efficient and flexible parsers in C#. These tutorials provide a comprehensive guide to understanding and using the library's core features, from building basic rules and tokens to handling advanced parsing scenarios like indentation-based syntax.
Getting Started
This section covers the fundamental concepts and components of RCParsing. Whether you're new to parsing or an experienced developer, these tutorials will help you leverage the library's capabilities to build robust parsers tailored to your needs.
Table of Contents
- Main Concepts
- Learn about Tokens, Rules, and Barrier Tokens, the core building blocks of the
RCParsinglibrary.
- Learn about Tokens, Rules, and Barrier Tokens, the core building blocks of the
- Rule and Token Building
- Understand how to create and combine rules and tokens using
ParserBuilderto define your grammar.
- Understand how to create and combine rules and tokens using
- Auto-skipping
- Explore how to configure skip-rules and manage whitespace requirements in your grammar.
- Deduplication
- Discover how
RCParsingoptimizes your parser by deduplicating rules and tokens.
- Discover how
- Transformation and Intermediate Values
- Learn how to transform parsed data into structured output using intermediate values and transformation functions.
- Settings and Their Override Modes
- Dive into configuring parser and rule behavior with settings and inheritance modes.
- Barrier Tokens
- Master parsing complex, context-sensitive syntax like Python-style indentation using barrier tokens.
- Initialization Flags, Debugging, and Performance
- Optimize your parser with initialization flags and debug effectively with detailed error reporting.
- Elements Library
- Explore the full range of rule types and token patterns available in
RCParsing.
- Explore the full range of rule types and token patterns available in
Next Steps
Start with the Main Concepts to grasp the foundational elements of RCParsing. Then, explore specific topics based on your parsing needs, such as handling whitespace with Auto-skipping or building complex grammars with Rule and Token Building.
Happy parsing!