I am trying to do something like this :
/*
* comment block
*/
Sequence seq001 is {
/*
* comment block
*/
Phase phase001 is {
/*
* comment block
*/
Step step001 :
/*
*
*/
Rule rule01 is {
key1 <= "value1",
key2 is {
key21 <= "value21",
key22 <= "value22"
...
key2n <= "value2n"
},
key3 <= "value3",
key4 is {
key41 <= "value41",
key42 <= "value42"
...
key4n <= "value4n"
},
...
}
Step step002 :
Rule rulexx is {
....
}
},
Phase phase002 is {
...
},
...
}
The error output states:
Attack_sequence 1 is { Attack_Phase 1 is { Attack_step 1: Rule 1 is { proto <= "test",src is { port <= "80",address <= "34.56.67.5"}}}}
error: syntax error
I know that the problem is the grammar expression. With what BNF grammar could the above code work?