This article explains, step-by-step, how to implement a lightweight parser from scratch using an expression parsing example, simplifying seemingly complex tasks.
65 articles
This article explains, step-by-step, how to implement a lightweight parser from scratch using an expression parsing example, simplifying seemingly complex tasks.
This article explores the network control interface of Android Monkey, demonstrating how to write scripts to precisely inject touch, keypress, and application control events into devices.
This article analyzes Java 8's `default` keyword, revealing how it enables Java to indirectly achieve multiple inheritance and reintroduces the classic diamond problem.
This article analyzes what actually happens when a C++ function returns an object by value, through the lenses of copy construction, move semantics, and Return Value Optimization (RVO).
This article introduces JLine's capabilities, including terminal abstraction, line editing, history, completion, and syntax highlighting, and provides examples for Java command-line applications.
This article introduces how to use GDB command files and batch processing capabilities to automate debugging steps such as setting breakpoints, running, inspecting, and outputting results.
This article provides an in-depth analysis of the OkHttp source code, revealing how it organizes Interceptors through the Chain of Responsibility pattern to elegantly handle network requests.
This article introduces DepView, a tool that analyzes and visualizes Java program call dependencies, helping you quickly untangle complex code.
This article documents the environment, dependency, network, and build issues encountered during the process of downloading and compiling Android source code, along with their corresponding solutions.
This article documents the directory adjustments, dependency configurations, and common issues encountered when migrating a traditional MyEclipse Java Web project to a Maven project.