Parse IETF RFC Text Documents to extract ABNF rules.
There is more documentation within the comments of the script.
if not value? 'script-manager [
script-manager: func ['word /local needs][
if any [
:word <> 'do-needs
none? in system/script/header 'needs
none? needs: system/script/header/needs
][return]
if not parse needs: compose [(:needs)] [some file!][make error! {Expected a NEEDS block consisting of file!.}]
foreach [file] needs [do file]
]
]Brett Handley started programming REBOL early 2000 and maintains a site of REBOL information and scripts at: