factor/extra/peg/peg-docs.factor

12 lines
349 B
Factor
Raw Normal View History

2007-11-19 22:36:38 -05:00
! Copyright (C) 2007 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
USING: help.markup help.syntax peg ;
HELP: token
{ $values
{ "string" "a string" } }
{ $description
"A parser generator that returns a parser that matches the given string." }
{ $example "\"begin foo end\" \"begin\" token parse" "result-here" } ;