Tag: parsing
Browse 20 practical software engineering resources tagged with "parsing". Discover code recipes, design patterns, documentation templates, and in-depth guides to help you build, deploy, and maintain production-ready solutions involving parsing. Each resource is written for engineers who ship real systems, with copy-paste examples and practical trade-offs.
Parsing and Text Processing
Parsing turns raw text into structured data that programs can use. It is the foundation of working with logs, configuration files, markup languages, query languages, and data interchange formats.
The resources below cover recursive descent, parser combinators, regular expressions, tokenization, ASTs, and validation. Each recipe shows how to parse text safely and maintainably in production code.
Every resource includes clear explanations, copy-paste code, and practical warnings. Use them to make informed decisions, avoid production pitfalls, and speed up your delivery. If you are just getting started, read the beginner-friendly articles first; if you are experienced, jump straight to the advanced patterns and architecture guides. New resources are added regularly, so bookmark this page and check back for the latest patterns.
Batch Processing Patterns
Design reliable batch processing pipelines for large datasets with retry logic, idempotency, and...
Validate and Sanitize User Input Data
How to validate, sanitize, and constrain user input data at the application boundary using schemas,...
Date Formatting
How to parse, format, and manipulate dates across timezones using Python, JavaScript, and Java.
Deep Clone in JavaScript: structuredClone vs lodash vs JSON
Compare deep clone methods in JavaScript, Python and Java. Create independent copies of objects and...
Flatten and Unflatten Nested Objects
How to convert nested objects to flat key-value pairs and back again, with dot-notation, bracket...
Money and Currency Handling
How to represent, parse, format, and calculate monetary values accurately across currencies.
Parse Command Line Arguments: argparse, Commander & picocli
How to parse command line arguments in Python, Java, and Node.js CLI applications.
Parse CSV Files
How to parse CSV files in Python, Java, and JavaScript with practical code examples.
Parse JSON
How to parse JSON strings into native data structures across multiple programming languages.
Parse Server Log Files with Python, Java and JavaScript
Parse and analyze server log files with Python, Java, and JavaScript. Covers regex, structured...
Parse Markdown Files
How to parse Markdown to HTML and extract structured data in Python, Java, and JavaScript.
Parse and Write TOML Files: Python, Java & JS Examples
How to parse and write TOML configuration files in Python, Java, and JavaScript.
Parse XML Files
How to parse XML documents in Python, Java, and JavaScript with practical code examples.
Regular Expressions
How to use regular expressions for pattern matching, validation, and text extraction across Python,...
Sort an Array
How to sort arrays and lists in ascending, descending, and custom order across multiple languages.
URL Encoding
Encode and decode URLs, query parameters, and path segments safely across Python, JavaScript, and...
URL Encoding and Decoding
Master URL encoding in JavaScript and other languages with encodeURI, encodeURIComponent, plus-safe...