Functions§
- extract_
date_ attribute - Extract date-effective or date-expires value
- extract_
salience - Extract salience value from attributes section
- has_
attribute - Check if text contains attribute keyword
- parse_
defmodule - Parse defmodule declaration
- parse_
operator - Parse comparison operator from text
- parse_
rule_ header - Parse “rule Name” or “rule “Quoted Name”“ and extract the name
- parse_
when_ then - Parse “when … then …” and extract condition and action parts
- split_
into_ rules - Split GRL text into individual rules using literal “rule” and brace matching
- split_
modules_ and_ rules - Split defmodule declarations from rules