Tag

Parsing

1 views collected around this technical thread.

DeWu Technology
DeWu Technology
Mar 5, 2025 · Big Data

Using ANTLR4 for SQL Parsing, Completion, and Validation in SparkSQL-based Data IDE

The article explains how a large‑scale data‑development IDE leverages ANTLR4 to build a custom SparkSQL parser that provides real‑time syntax checking, auto‑completion, and validation by generating ASTs, using listeners for context, optimizing performance, and exploring future integration with large language models.

ANTLRBig DataParsing
0 likes · 24 min read
Using ANTLR4 for SQL Parsing, Completion, and Validation in SparkSQL-based Data IDE
Test Development Learning Exchange
Test Development Learning Exchange
Feb 9, 2025 · Fundamentals

Using Python's argparse Module: Basics, Examples, and Advanced Features

This article introduces Python's built‑in argparse module, explains how to create an ArgumentParser, add positional and optional arguments, set types, defaults, mutually exclusive groups, sub‑commands, and demonstrates running scripts with various command‑line options.

Code ExampleParsingargparse
0 likes · 4 min read
Using Python's argparse Module: Basics, Examples, and Advanced Features
Java Tech Enthusiast
Java Tech Enthusiast
Jan 5, 2025 · Backend Development

Six Common JSON Parsing Methods in Java

Java developers can parse JSON using six popular approaches—Jackson for high‑performance, annotation‑driven serialization; Gson for a lightweight, easy‑to‑use API; FastJSON for speed; JsonPath for XPath‑style nested extraction; org.json for simple utility; or manual parsing for full control—each suited to different performance and complexity needs.

GsonJSONJackson
0 likes · 9 min read
Six Common JSON Parsing Methods in Java
DataFunSummit
DataFunSummit
Nov 11, 2024 · Big Data

Understanding Spark SQL Parsing Layer and Its Optimizations

This talk, the third in a Spark series, introduces the Spark SQL parsing layer, explains its architecture and integration with ANTLR4, details core implementation classes, and presents a real‑world optimization case that reduces code complexity and improves maintainability.

ANTLR4Big DataParsing
0 likes · 15 min read
Understanding Spark SQL Parsing Layer and Its Optimizations
Python Programming Learning Circle
Python Programming Learning Circle
Nov 1, 2024 · Fundamentals

Understanding BNF Notation and Its Application to Python Syntax

This article explains the Backus–Naur Form (BNF) notation, its core components, and how to use it to describe Python grammar, providing concrete examples such as full‑name definitions, identifiers, and control‑flow statements, along with best‑practice tips for reading Python BNF rules.

BNFGrammarParsing
0 likes · 10 min read
Understanding BNF Notation and Its Application to Python Syntax
FunTester
FunTester
Oct 24, 2024 · Backend Development

Using gopkg.in/yaml.v3 for YAML Parsing and Generation in Go

This article introduces the YAML format, outlines its syntax rules, and demonstrates how the Go library gopkg.in/yaml.v3 can be used for parsing and generating YAML files, including basic examples, advanced struct mapping, and a summary of its key advantages for backend development.

ConfigurationGoParsing
0 likes · 9 min read
Using gopkg.in/yaml.v3 for YAML Parsing and Generation in Go
Python Programming Learning Circle
Python Programming Learning Circle
Oct 22, 2024 · Fundamentals

Common Configuration File Formats and Their Python Parsing Methods

This article introduces the most popular configuration file formats—INI, JSON, TOML, and YAML—explains their structures, compares their advantages and drawbacks, and provides Python code examples for reading and using each format safely and efficiently.

JSONParsingPython
0 likes · 11 min read
Common Configuration File Formats and Their Python Parsing Methods
Test Development Learning Exchange
Test Development Learning Exchange
Sep 30, 2024 · Backend Development

Using python-user-agents to Parse Browser User-Agent Strings

This guide introduces the python-user-agents library, showing how to install it, import and use its parse function to extract browser, operating system, device, and bot information from User-Agent strings, and demonstrates advanced custom data handling and real‑world application scenarios.

ParsingPythonWeb Analytics
0 likes · 4 min read
Using python-user-agents to Parse Browser User-Agent Strings
Python Programming Learning Circle
Python Programming Learning Circle
Sep 3, 2024 · Fundamentals

Common Configuration File Formats and Their Python Parsing Methods

This article introduces the most popular configuration file formats—INI, JSON, TOML, and YAML—explains their structures, compares their advantages and drawbacks, and provides Python code examples for reading each format using built‑in or third‑party libraries.

ConfigurationJSONParsing
0 likes · 10 min read
Common Configuration File Formats and Their Python Parsing Methods
Architecture Development Notes
Architecture Development Notes
Aug 31, 2024 · Backend Development

Master Fast XML Parsing in Rust with quick-xml: A Complete Guide

This article introduces the high‑performance Rust library quick-xml, explains its core features, shows how to install it, and provides detailed code examples for reading, writing, and advanced XML processing, helping developers efficiently handle XML data.

ParsingRustSerialization
0 likes · 7 min read
Master Fast XML Parsing in Rust with quick-xml: A Complete Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 14, 2024 · Mobile Development

Automated Parsing and Code Generation for the TolyUI Flutter Framework

This article explains how the TolyUI Flutter UI framework automates the parsing of component demo files and generates corresponding Dart code using annotations, regular expressions, and a command‑line tool, thereby simplifying maintenance and improving development efficiency for mobile applications.

AnnotationsAutomationCode Generation
0 likes · 13 min read
Automated Parsing and Code Generation for the TolyUI Flutter Framework
Go Programming World
Go Programming World
May 4, 2024 · Backend Development

Deep Dive into Go's flag Package: Usage, Syntax, and Source Code Analysis

This article explains how to use Go's standard flag package for command-line argument parsing, demonstrates various flag definitions and parsing techniques, and provides an in‑depth analysis of its source code, including flag types, syntax, internal structures, and execution flow.

ParsingSource Codebackend
0 likes · 18 min read
Deep Dive into Go's flag Package: Usage, Syntax, and Source Code Analysis
Python Programming Learning Circle
Python Programming Learning Circle
Nov 10, 2023 · Fundamentals

Python XML Parsing with xml.etree.ElementTree and xml.dom.minidom

This tutorial explains how to parse, query, modify, and delete XML data in Python using the built‑in xml.etree.ElementTree and xml.dom.minidom modules, providing step‑by‑step code examples for reading files, handling strings, accessing elements, attributes, and writing updated XML back to disk.

ParsingPythonXML
0 likes · 12 min read
Python XML Parsing with xml.etree.ElementTree and xml.dom.minidom
php中文网 Courses
php中文网 Courses
Jul 28, 2023 · Backend Development

Parsing and Generating XML Files in PHP

This article explains how to use PHP's built-in XML extension to parse XML files into a DOM tree and to generate XML documents programmatically, providing step‑by‑step code examples for loading, traversing, creating elements, setting attributes, and saving the resulting XML files.

Backend DevelopmentDOMGeneration
0 likes · 4 min read
Parsing and Generating XML Files in PHP
Test Development Learning Exchange
Test Development Learning Exchange
Jun 4, 2023 · Fundamentals

Using Python dateutil for Date and Time Parsing, Manipulation, and Formatting

This article introduces the Python dateutil library, showing how to install it, parse various date strings, perform date arithmetic with relativedelta, handle time zones, format dates, compute intervals, parse ISO strings, and generate recurring events through clear code examples.

DateTimeParsingdateutil
0 likes · 8 min read
Using Python dateutil for Date and Time Parsing, Manipulation, and Formatting
DataFunSummit
DataFunSummit
Mar 25, 2023 · Artificial Intelligence

How GPT‑4 Has Changed NLP Research: Community Perspectives

A collection of Zhihu answers reflects on how the release of GPT‑4 has reshaped NLP research, dividing the community into LLM‑enthusiasts and skeptics, discussing the relevance of parsing, resource‑driven research directions, and the existential challenges faced by researchers.

AIAcademic CommunityGPT-4
0 likes · 10 min read
How GPT‑4 Has Changed NLP Research: Community Perspectives
Tencent Cloud Developer
Tencent Cloud Developer
Mar 15, 2023 · Frontend Development

Deep Dive into Tencent Docs' Contribution to VSCode Configuration System

Tencent Docs contributed over 400 lines of core code to VSCode, extending the editor’s configuration system with new package.json fields, dynamic color theming, a conditional @If decorator, a robust expression‑tree parser, and a runtime context map, empowering developers to build highly customizable extensions while keeping the core lightweight.

ConfigurationParsingTypeScript
0 likes · 20 min read
Deep Dive into Tencent Docs' Contribution to VSCode Configuration System
ByteDance SYS Tech
ByteDance SYS Tech
Dec 2, 2022 · Backend Development

How Sonic‑CPP Boosts JSON Parsing Speed 2.5× Faster Than RapidJSON

Sonic‑CPP, an open‑source C++ JSON library co‑developed by ByteDance’s STE and Service Framework teams, leverages SIMD vectorization, optimized memory layout, on‑demand parsing, and a compact DOM design to achieve up to 2.5× faster parsing than RapidJSON and competitive serialization performance, with extensive benchmark results and production‑grade usage.

C++JSONParsing
0 likes · 13 min read
How Sonic‑CPP Boosts JSON Parsing Speed 2.5× Faster Than RapidJSON