No Description

Gabriel Capella ef78c6ec79 Start 7 months ago
cmd ef78c6ec79 Start 7 months ago
grammar ef78c6ec79 Start 7 months ago
.README.swp ef78c6ec79 Start 7 months ago
.grammar.peg.swp ef78c6ec79 Start 7 months ago
.main.go.swp ef78c6ec79 Start 7 months ago
README ef78c6ec79 Start 7 months ago
go.mod ef78c6ec79 Start 7 months ago
go.sum ef78c6ec79 Start 7 months ago
grammar.peg ef78c6ec79 Start 7 months ago
main.go ef78c6ec79 Start 7 months ago

README

// Simple site to read and redirect URLs, the options for the url are defined as
// the following grammar

PROGRAM
STATEMENT

STATEMENT
FINAL_ACTION
INTER_ACTION STATEMENT
CONDITION

CONDITION
BOOL_EXP STATEMENT STATEMENT

EXP
EXP_OR
EXP_AND
BOOL_EXP

EXP_OR
EXP EXP

EXP_AND
EXP EXP

FINAL_ACTION
redirect
block
show_page

BOOL_EXP
time
country
device
add
parameter

INTER_ACTION
append