pt::peg::from::container(n) Parser Tools pt::peg::from::container(n)
__________________________________________________________________________________________________________________________________________________NAME
pt::peg::from::container - PEG Conversion. From CONTAINER format
SYNOPSIS
package require Tcl 8.5
_________________________________________________________________DESCRIPTION
Are you lost ? Do you have trouble understanding this document ? In that case please read the overview provided by the Introduction to
Parser Tools. This document is the entrypoint to the whole system the current package is a part of.
This package does not exist. There is no need for it. The CONTAINER format for parsing expression grammars is a piece of Tcl code which,
then sourced, provides a class whose instances have the grammar we wish to import loaded. Another way of looking at this is, the CONTAINER
output is its own import package.
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category pt of
the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for
either package and/or documentation.
KEYWORDS
EBNF, LL(k), PEG, TDPL, context-free languages, expression, grammar, matching, parser, parsing expression, parsing expression grammar, push
down automaton, recursive descent, state, top-down parsing languages, transducer
CATEGORY
Parsing and Grammars
COPYRIGHT
Copyright (c) 2009 Andreas Kupries <andreas_kupries@users.sourceforge.net>
pt 0 pt::peg::from::container(n)
Check Out this Related Man Page
pt::peg::container::peg(n) Parser Tools pt::peg::container::peg(n)
__________________________________________________________________________________________________________________________________________________NAME
pt::peg::container::peg - PEG Storage. Canned PEG grammar specification
SYNOPSIS
package require Tcl 8.5
package require snit
package require pt::peg::container::peg ?1?
package require pt::peg::container
_________________________________________________________________DESCRIPTION
Are you lost ? Do you have trouble understanding this document ? In that case please read the overview provided by the Introduction to
Parser Tools. This document is the entrypoint to the whole system the current package is a part of.
This package provides a sub-type of pt::peg::container which is preloaded with a parsing expression grammar describing a textual format for
parsing expression grammars.
The sub-type provides the exact same API as pt::peg::container. Instead of duplicating its contents the reader is asked to read the refer-
enced document.
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category pt of
the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for
either package and/or documentation.
KEYWORDS
EBNF, LL(k), PEG, TDPL, context-free languages, expression, grammar, matching, parser, parsing expression, parsing expression grammar, push
down automaton, recursive descent, state, top-down parsing languages, transducer
CATEGORY
Parsing and Grammars
COPYRIGHT
Copyright (c) 2009 Andreas Kupries <andreas_kupries@users.sourceforge.net>
pt 1 pt::peg::container::peg(n)
Hi,
Please help in parsing the following file and write separate files by parsing the file for the new file's content.
Main File:
------------
BEGIN
FileName: FirstFile.txt
Content of the File Start
AAAAAAAA
BBBBBBB
Content of the File End
END
BEGIN
FileName: SecondFile.txt... (11 Replies)
--------------------------------------------------------------------------------
Hi All,
I am reading some logfiles and parsing data and printing to some textfile.
Here is my code
OLDIFS=$IFS
IFS='
' # just a newline, in single quotes
while read data
do
if
then
#Parsing the... (4 Replies)
Hi, I am having trouble parsing a file. Perhaps it may the spaces in between. I cannot get it done with awk.
Heres how the file looks like.
>Corey barg LTG 1 (jorge k)
MMMMNNNNNNJJJJJHHHHHHHHHHHHKKKKIIIIIKKJJJJJJJJJJJJJ
>Corey barg LTG 2 (88)... (4 Replies)
Sometimes it works for me and sometimes I get this error:
syntax error on line 1, teletype
Basically I've got no idea whats going on, especially at the end of the command: bc
Any help is appreciated (1 Reply)
If I use the grep command for parsing files, does it stop parsing right after it finds the matching pattern or does it continue to parse that document? grep -l "status" *.xml (5 Replies)
Ok, thank you. Again I'm new to the programming thing, I'm just trying to figure out what exactly it is I need to do. How would I cash out bits? Numerous questions. I'm a dreamer. AI attempts to communicate with me regularly especially through unfinished apps that I'm assuming is my responsibility... (1 Reply)