Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 267 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 267 Bytes

A Rexx-like String Parser

rexxparse = require "rexxparse.parse"
results = rexxparse.parse("test = 10", "name '=' value")
assert(results.test == '10')

parser = rexxparse.parse("name '=' value")
results = parser("test = 10")
parser(results, "test2 = 20")