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