Official CLI Runtime and Interpreter for Ballot Rule Language (BRL). Secure, deterministic voting logic.
npm install brl-runtimeThe official CLI interpreter for BRL (Ballot Rule Language), a secure Domain Specific Language for verifying voting eligibility.
Important: You must navigate into this directory before linking.
``bash`
cd brl-cli
npm link
This will make the brl command available globally in your terminal.
Create a script file vote.brl:
`python`
input text id "Employee ID"
if id == "12345":
pass "Welcome Admin"
else:
fail "Access Denied"
Run it:
`bash``
brl run vote.brl
- Secure: No infinite loops, no file system access (except specific imports).
- Deterministic: Guaranteed execution path.
- Enterprise Ready: Supports CSV imports for large whitelists.