Skip to content

PeeWee Script

michal-kapala edited this page May 10, 2024 · 4 revisions

PeeWee Script

A proprietary scripting language used in RDV data validation across RMC services:

Tokens

Tokens are produced with:

tokens = strtok(script, PeeWee::Delimiters)

where PeeWee::Delimiters contains:

  • (space)
  • \n
  • \t

Expressions

ID Expression
0 (), [] (grouping expr)
1 a[b]
2 identifier, literal
3 a + b
4 a - b
5 a * b
6 a / b
7 a ^ b
8 a && b
9 a
10 a < b
11 a > b
12 a <= b
13 a >= b
14 a == b
15 a != b
16 a ! b
Clone this wiki locally