REBOL Forum Recent REBOL Forum Topics http://rebolforum.com Parsing baby steps While this seems an easy task, a few matters make it more difficult than it looks with historical PARSE. One of the not-so-easy aspects is that the TO and THRU doesn't allow you to use complex rules, which complicates your paragraph termination conditions. This is a decision which was reversed in Red (and will be also in Ren-C, when time permits). You can try this in Red, and while there are likely workarounds for it in Rebol2 and R3-Alpha I'd rather consider the fact that this doesn't work as-is a bug than figure out what that would be: heading-rule: [ "===" copy heading to "^/" ( append html-out reduce [ <h1> heading </h1> newline ] ) ] paragraph-rule: [ copy paragraph to ["^/^/" | "^/" end | end] ( append html-out reduce [ <p> paragraph </p> newline ] ) ] parse in-text [ (html-out: copy {}) some [newline | heading-rule | paragraph-rule] ] print mold html-out, Posted by: Fork 10-Sep-2018/15:17:01-7:00 http://rebolforum.com/index.cgi?f=printtopic&topicnumber=46&archiveflag=new Setting a drop-down at run time Good point. VID is an artifact of a past era and if we want to find out some things about it, we are on our own to study it. So I tried to encapsulate your above advice into my little VID reference in case others might find it helpful. Thank you. http://cobolrebol.com/pages/documentation/VIDforCOBOL.html#section-11 , Posted by: Steven White 6-Sep-2018/9:06:07-7:00 http://rebolforum.com/index.cgi?f=printtopic&topicnumber=45&archiveflag=new Red: How to Pass Authentication for HTTPS URL Read? Hi Steven, I didn't state that well - R2 does support https, but does NOT work w/ sites that have imposed newer versions of TLS. Too bad R2 can't be updated...., Posted by: JackKOrt 24-Aug-2018/9:51:15-7:00 http://rebolforum.com/index.cgi?f=printtopic&topicnumber=44&archiveflag=new Full Circle Another suggestion might be to put the material on something like GitHub, put it under a Creative Commons licence, and open it up to pull requests for changes?, Posted by: Steve 23-Aug-2018/22:56:54-7:00 http://rebolforum.com/index.cgi?f=printtopic&topicnumber=43&archiveflag=new R3 ODBC Dear R, First lesson in Rebol/Red land: do not wait for others to get things done for you. Take up the glove and just start, run into problems and others will chime in and help you solve them. Life will always be crazy, you need to organize other stuff, train them to adapt to you being not available 100% of the time. regards , Posted by: iArnold 31-Jul-2018/16:59:39-7:00 http://rebolforum.com/index.cgi?f=printtopic&topicnumber=42&archiveflag=new Enhancing my understanding of parse get-address: func [txt strt fnsh] [ x: copy [] parse/all txt [any [thru newline thru strt copy addr to fnsh (append x addr)]to end] x ] my-text: { 00510 1800 W Old Shakopee RD-P1.tif 00510 1800 W Old Shakopee RD-P2.tif 00510 1800 W Old Shakopee RD-P3.tif 00510 9800 PENN AVE S-P1.tif 00510 9800 PENN AVE S-P2.tif 00510 9800 PENN AVE S-P3.tif } editor get-address my-text " " "-", Posted by: Nick 21-Jul-2018/7:35:08-7:00 http://rebolforum.com/index.cgi?f=printtopic&topicnumber=41&archiveflag=new Rebol/Command Release Date? Can you send me a link on R3 ODBC?, Posted by: R 20-Jul-2018/18:01:24-7:00 http://rebolforum.com/index.cgi?f=printtopic&topicnumber=40&archiveflag=new Does anyone know how to contact Cyphre? But some input as to what is wanted is needed. I very much doubt I will be developing apps in the browser using VID so those that want this need to speak up., Posted by: Graham 11-Jul-2018/18:59:37-7:00 http://rebolforum.com/index.cgi?f=printtopic&topicnumber=39&archiveflag=new Parsing a COBOL word That would have to become COBOLWORD: [ 1 LETTER 0 29 [LETTER | DIGIT | "-"] ] Because 1 letter is also very valid as a variable. , Posted by: iArnold 8-Jul-2018/15:33:21-7:00 http://rebolforum.com/index.cgi?f=printtopic&topicnumber=38&archiveflag=new Parse rule question The previous example will also cope with missing sections and out of order sections (assuming the SCRIPT section is always at the end). Alternatively, if you are confident that all of your files are always structured correctly then you could simplify it further. e.g. parse/case LIST-FILE-DATA [ thru "TITLE" copy LIST-TITLE to "SUMMARY" thru "SUMMARY" copy LIST-SUMMARY to "DOCUMENTATION" thru "DOCUMENTATION" copy LIST-DOCUMENTATION to "SCRIPT" thru "SCRIPT" copy LIST-SCRIPT to end ] -J, Posted by: johnk 5-Jul-2018/22:13:17-7:00 http://rebolforum.com/index.cgi?f=printtopic&topicnumber=37&archiveflag=new