(type egg)
(signature "iexpr egg")
(timestamp 1612269487)
(sxml ((section 2 "Outdated egg!" (p "This is an egg for CHICKEN 4, the unsupported old release.  You're almost certainly looking for " (int-link "/eggref/5/iexpr" "the CHICKEN 5 version of this egg") ", if it exists.") (p "If it does not exist, there may be equivalent functionality provided by another egg; have a look at the " (link "https://wiki.call-cc.org/chicken-projects/egg-index-5.html" "egg index") ". Otherwise, please consider porting this egg to the current version of CHICKEN.") (tags "eggs") (toc)) (section 2 "iexpr" (section 3 "Description" (p "The " (tt "iexpr") " library contains a procedure for parsing of I-expressions as described in " (link "http://srfi.schemers.org/srfi-49/srfi-49.html" "SRFI-49") ".")) (section 3 "Library Procedures" (def (sig (procedure "(parse LOC STRING-OR-PORT) => TREE" (id parse))) (p "Parses I-expression text and returns a tree object with the parsed content. " (tt "LOC") " is a symbol that indicates the name of the current entity being parsed. It is used for error reporting.")) (def (sig (procedure "(tree-empty? TREE) => BOOL" (id tree-empty?))) (p "Returns " (tt "#t") " is the given tree object is empty, " (tt "#f") " otherwise.")) (def (sig (procedure "(tree-level TREE) => INTEGER" (id tree-level))) (p "Returns the indentation level of the text contained in the given tree node.")) (def (sig (procedure "(tree-child TREE) => TREE" (id tree-child))) (p "Returns the first child of the given tree node.")) (def (sig (procedure "(tree-sibling TREE) => TREE" (id tree-sibling))) (p "Returns the first sibling of the given tree node.")) (def (sig (procedure "(tree->list TREE) => LIST" (id tree->list))) (p "Converts the given tree to a list structure."))) (section 3 "Requires" (ul (li (int-link "make")) (li (int-link "silex")) (li (int-link "lalr")) (li (int-link "datatype")))) (section 3 "Version History" (ul (li "1.9 Added srfi-49 test case") (li "1.8 Allow line breaks as group separators") (li "1.6 Bug fixes, allow ; as comment character, additional tests") (li "1.5 Using make egg instead of setup-api for make macro") (li "1.2 Updated unit tests") (li "1.1 Various fixes to handle boundary cases: empty input stream, 1-character words and others") (li "1.0 Initial Release"))) (section 3 "License" (pre " Copyright 2010-2012 Ivan Raikov and the Okinawa Institute of Science and Technology.") (pre " This program is free software: you can redistribute it and/or\n modify it under the terms of the GNU General Public License as\n published by the Free Software Foundation, either version 3 of the\n License, or (at your option) any later version.") (pre " This program is distributed in the hope that it will be useful, but\n WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n General Public License for more details.") (pre " A full copy of the GPL license can be found at\n <http://www.gnu.org/licenses/>.")))))
