From 3858e030a17ff06abafec77d92366a78a0dd8b5a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 Jan 2026 19:26:58 +0000 Subject: [PATCH 1/2] Initial plan From 1c56832daba81089b9eeda057b6b5f5fa3002e1a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 Jan 2026 19:28:32 +0000 Subject: [PATCH 2/2] fix: apply review feedback on seclang_parser blog post Co-authored-by: fzipi <3012076+fzipi@users.noreply.github.com> --- ...introducing-seclang-parser-unified-antlr-based-parser.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/blog/2026-01-22-introducing-seclang-parser-unified-antlr-based-parser.md b/content/blog/2026-01-22-introducing-seclang-parser-unified-antlr-based-parser.md index d9c546b..1b5bb33 100644 --- a/content/blog/2026-01-22-introducing-seclang-parser-unified-antlr-based-parser.md +++ b/content/blog/2026-01-22-introducing-seclang-parser-unified-antlr-based-parser.md @@ -6,11 +6,11 @@ title: 'Introducing seclang_parser: A Unified ANTLR-Based Parser for SecLang' author: fzipi --- -We are excited to announce a significant development in the CRS ecosystem: the [seclang_parser](https://github.com/coreruleset/seclang_parser), a new ANTLR-based parser for the SecLang configuration language used by ModSecurity and compatible WAF engines. +We are excited to introduce the community to a significant development in the CRS ecosystem: the [seclang_parser](https://github.com/coreruleset/seclang_parser), an ANTLR-based parser for the SecLang configuration language used by ModSecurity and compatible WAF engines. ## What is seclang_parser? -The seclang_parser is a grammar-based parser generator built on ANTLR 4 (Another Tool for Language Recognition) that provides a unified, language-agnostic approach to parsing ModSecurity's SecLang configuration files. Rather than maintaining separate parsing implementations across different programming languages, this project consolidates efforts around a single, authoritative grammar specification. +The seclang_parser is a grammar-based parser built using ANTLR 4 (Another Tool for Language Recognition) that provides a unified, language-agnostic approach to parsing ModSecurity's SecLang configuration files. Rather than maintaining separate parsing implementations across different programming languages, this project consolidates efforts around a single, authoritative grammar specification. ## Why Was This Needed? @@ -34,7 +34,7 @@ The parser operates independently of its destination programming language. The A Rather than dealing with low-level parsing details in each target language, the grammar prioritizes simplicity and clarity. This reduces implementation errors and makes the parser easier to understand and maintain. ### Minimal Dependencies -The generated parsers are designed to work with native code without requiring external dependencies or CGo bindings. This makes integration into existing projects straightforward and reduces potential compatibility issues. +The generated parsers are designed to work with native code without requiring external dependencies or cgo bindings. This makes integration into existing projects straightforward and reduces potential compatibility issues. ### Multi-Language Support Currently, the project includes working implementations for: