From rlpowell@digitalkingdom.org Thu May 27 18:33:23 2004 Received: with ECARTIS (v1.0.0; list lojban-list); Thu, 27 May 2004 18:33:23 -0700 (PDT) Received: from rlpowell by chain.digitalkingdom.org with local (Exim 4.32) id 1BTWFI-0005zf-TG for lojban-list@lojban.org; Thu, 27 May 2004 18:33:16 -0700 Date: Thu, 27 May 2004 18:33:16 -0700 To: lojban-list@lojban.org Subject: [lojban] Go Bruce! My parser now has pretty printing. Message-ID: <20040528013316.GA818@chain.digitalkingdom.org> Mail-Followup-To: lojban-list@lojban.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline User-Agent: Mutt/1.5.5.1+cvs20040105i From: Robin Lee Powell X-archive-position: 7991 X-ecartis-version: Ecartis v1.0.0 Sender: lojban-list-bounce@lojban.org Errors-to: lojban-list-bounce@lojban.org X-original-sender: rlpowell@digitalkingdom.org Precedence: bulk Reply-to: lojban-list@lojban.org X-list: lojban-list --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Thanks to the efforts of Bruce Webber, my parser now has a *very* lovely vertical output mode. See examples attached. I, for one, find it easier to read than either of the other two parsers similar modes. Both examples use the sentence i baziku la alis jersi ry gi'e noroi pensi The first example is what a normal user might want, the second is the maximally-verbose version. I'll see what I can do about adding a mode similar to jbofihe or the official parser's default output shortly. -Robin -- http://www.digitalkingdom.org/~rlpowell/ *** I'm a *male* Robin. "Many philosophical problems are caused by such things as the simple inability to shut up." -- David Stove, liberally paraphrased. http://www.lojban.org/ *** loi pimlu na srana .i ti rokci morsi --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="pretty.txt" Vertial layout requested. Processing /dev/stdin ... text text1 |- I: i |- paragraphs paragraph statement ... statement3 sentence |- terms | |- terms1 | | terms2 | | term | | |- tag | | | tenseModal | | | simpleTenseModal | | | time | | | timeOffset | | | |- PU: ba | | | |- ZI: zi | | |- KU: ku | |- terms1 | terms2 | term | sumti ... | sumti6 | |- LA: la | |- CMENE: alis |- bridiTail1 |- bridiTail2 | bridiTail3 | |- selbri ... | | selbri6 | | tanruUnit ... | | tanruUnit2 | | BRIVLA: jersi | |- tailTerms | terms ... | terms2 | term | sumti ... | sumti6 | lerfuStringNoMOI | lerfuWord | BY: ry |- gihek | GIhA: gi'e |- bridiTail2 bridiTail3 selbri |- tag | tenseModal | simpleTenseModal | time | |- number | | PA: no | |- ROI: roi |- selbri1 ... selbri6 tanruUnit ... tanruUnit2 BRIVLA: pensi --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="pretty2.txt" Vertial layout requested. Blank data requested. Morphological breakdown requested. PARSERparen data requested. Whitespace data requested. Processing /dev/stdin ... text |- PARSERparen1 | |- textPart1 | | siClause | |- text1 | |- I | | |- IPre | | | preCmavo | | | preCmavoCheck | | |- IWords: i | | |- IPost | | postCmavo | | spacingOpt | | spacing | | |- spaces | | | spaceChars | | | spaceCharsReal | | |- siClause | |- text1 | paragraphs | paragraph | PARSERparen1 | statement | statement1 | statement2 | statement3 | sentence | |- PARSERparen1 | | terms | | |- terms1 | | | terms2 | | | term | | | PARSERparen1 | | | |- PARSERparen1 | | | | tag | | | | tenseModal | | | | simpleTenseModal | | | | PARSERparen2 | | | | PARSERparen1 | | | | time | | | | timeOffset | | | | |- PU | | | | | |- PUPre | | | | | | preCmavo | | | | | | preCmavoCheck | | | | | |- PUWords: ba | | | | | |- PUPost | | | | | postCmavo | | | | | spacingOpt | | | | | siClause | | | | |- ZI | | | | |- ZIPre | | | | | preCmavo | | | | | preCmavoCheck | | | | |- ZIWords: zi | | | | |- ZIPost | | | | postCmavo | | | | spacingOpt | | | | siClause | | | |- PARSERparen2 | | | PARSERparen1 | | | KU | | | |- KUPre | | | | preCmavo | | | | preCmavoCheck | | | |- KUWords: ku | | | |- KUPost | | | postCmavo | | | spacingOpt | | | spacing | | | |- spaces | | | | spaceChars | | | | spaceCharsReal | | | |- siClause | | |- terms1 | | terms2 | | term | | sumti | | sumti1 | | sumti2 | | sumti3 | | sumti4 | | sumti5 | | sumti6 | | |- LA | | | |- LAPre | | | | preCmavo | | | | preCmavoCheck | | | |- LAWords: la | | | |- LAPost | | | postCmavo | | | spacingOpt | | | spacing | | | |- spaces | | | | spaceChars | | | | spaceCharsReal | | | |- siClause | | |- CMENE | | |- cmeneLetter | | | lojbanLetter | | | vowel: a | | |- cmeneTail | | |- cmeneLetter | | | lojbanLetter | | | consonant: l | | |- cmeneTail | | |- cmeneLetter | | | lojbanLetter | | | vowel: i | | |- cmeneTail | | |- cmeneConsonant: s | | |- spacing | | |- spaces | | | spaceChars | | | spaceCharsReal | | |- siClause | |- bridiTail | bridiTail1 | |- bridiTail2 | | bridiTail3 | | |- selbri | | | selbri1 | | | selbri2 | | | selbri3 | | | selbri4 | | | selbri5 | | | selbri6 | | | tanruUnit | | | tanruUnit1 | | | tanruUnit2 | | | BRIVLA | | | |- consonant: j | | | |- vowel: e | | | |- consonant: r | | | |- consonant: s | | | |- brivlaTail | | | |- vowelNotY: i | | | |- spacing | | | |- spaces | | | | spaceChars | | | | spaceCharsReal | | | |- siClause | | |- tailTerms | | terms | | terms1 | | terms2 | | term | | sumti | | sumti1 | | sumti2 | | sumti3 | | sumti4 | | sumti5 | | sumti6 | | lerfuStringNoMOI | | lerfuWord | | BY | | |- BYPre | | | preCmavo | | | preCmavoCheck | | |- BYWords: ry | | |- BYPost | | postCmavo | | spacingOpt | | spacing | | |- spaces | | | spaceChars | | | spaceCharsReal | | |- siClause | |- PARSERparen2 | |- gihek | | GIhA | | |- GIhAPre | | | preCmavo | | | preCmavoCheck | | |- GIhAWords: gi'e | | |- GIhAPost | | postCmavo | | spacingOpt | | spacing | | |- spaces | | | spaceChars | | | spaceCharsReal | | |- siClause | |- bridiTail2 | | bridiTail3 | | |- selbri | | | |- tag | | | | tenseModal | | | | simpleTenseModal | | | | PARSERparen2 | | | | PARSERparen1 | | | | time | | | | intervalProperty | | | | |- number | | | | | PA | | | | | |- PAPre | | | | | | preCmavo | | | | | | preCmavoCheck | | | | | |- PAWords: no | | | | | |- PAPost | | | | | postCmavo | | | | | spacingOpt | | | | | siClause | | | | |- ROI | | | | |- ROIPre | | | | | preCmavo | | | | | preCmavoCheck | | | | |- ROIWords: roi | | | | |- ROIPost | | | | postCmavo | | | | spacingOpt | | | | spacing | | | | |- spaces | | | | | spaceChars | | | | | spaceCharsReal | | | | |- siClause | | | |- selbri1 | | | selbri2 | | | selbri3 | | | selbri4 | | | selbri5 | | | selbri6 | | | tanruUnit | | | tanruUnit1 | | | tanruUnit2 | | | BRIVLA | | | |- consonant: p | | | |- vowel: e | | | |- consonant: n | | | |- consonant: s | | | |- brivlaTail | | | |- vowelNotY: i | | | |- spacing | | | |- spaces | | | | spaceChars | | | | spaceCharsReal | | | |- siClause | | |- tailTerms | |- tailTerms |- EOF --8t9RHnE3ZwKMSgU+--