Re: New syntax feedback for 4.0
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 29475
interpreted = N
texte = >>
>> >> >>>> This works well for most contexts, but there are a few exceptions>> that can confuse most parsers. Specifically, ShowIf can contain>> characters like > which look just like HTML to a parser:>>>>
3>>> ^ looks a lot like followed by a 3>>Shouldn't the parser leave stuff between alone until>webcat has substituted HTML the parser can deal with?Yes but you're missing the point. Grant is concerned about the > character being used inside the TAG, not inside the CONTEXT. Look, this illustrates the use of > inside the tag:3>... stuff here ...The problem here is that webcat will think that the tag is instead of 3>. So the solution is to make webcat understand that the first > character in this tag is a comparison operator and that it does NOT mark the end of the tag. And that would be a hassle to code, thus the reason for my simple solution ...Just use a different comparison operator!Obviously if webcat's language recognized some character OTHER THAN > to mean greater than, this would not even be an issue.It's a lot better to use a different character for the greater than operator than to develop a bunch of new syntax for us to have to learn, that's why I suggested using ) or } instead of > as the greater than comparison operator. Then the webdna language would understand that ) or } means greater than, and this would be a non-issue.The solution would then be to use the same syntax we have always used, with the simple substitution of ONE CHARACTER, like this:... stuff here ...... or like this:... stuff here ...================================Kenneth Grome, WebDNA Consultant808-737-6499 http://webdna.net================================#############################################################This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to To switch to the INDEX mode, E-mail to Send administrative queries to
Associated Messages, from the most recent to the oldest:
>> >> >> >>>> This works well for most contexts, but there are a few exceptions>> that can confuse most parsers. Specifically, ShowIf can contain>> characters like > which look just like HTML to a parser:>>>> 3>>> ^ looks a lot like followed by a 3>>Shouldn't the parser leave stuff between alone until>webcat has substituted HTML the parser can deal with?Yes but you're missing the point. Grant is concerned about the > character being used inside the TAG, not inside the CONTEXT. Look, this illustrates the use of > inside the tag:3>... stuff here ...The problem here is that webcat will think that the tag is instead of 3>. So the solution is to make webcat understand that the first > character in this tag is a comparison operator and that it does NOT mark the end of the tag. And that would be a hassle to code, thus the reason for my simple solution ...Just use a different comparison operator!Obviously if webcat's language recognized some character OTHER THAN > to mean greater than, this would not even be an issue.It's a lot better to use a different character for the greater than operator than to develop a bunch of new syntax for us to have to learn, that's why I suggested using ) or } instead of > as the greater than comparison operator. Then the webdna language would understand that ) or } means greater than, and this would be a non-issue.The solution would then be to use the same syntax we have always used, with the simple substitution of ONE CHARACTER, like this:... stuff here ...... or like this:... stuff here ...================================Kenneth Grome, WebDNA Consultant808-737-6499 http://webdna.net================================#############################################################This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to To switch to the INDEX mode, E-mail to Send administrative queries to
Kenneth Grome
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Email Set-Up? (1997)
Text data with spaces in them... (1997)
more on my bbs (1997)
[WebDNA] Seriously what is wrong here? (2011)
[WebDNA] test email (2014)
[OT] - Credit card processing company fees (2004)
cart info (1998)
WebDNA iTools patch (2006)
Reindexing a db with duplicate numbers... (1999)
Bug or syntax error on my part? (1997)
For those of you not on the WebCatalog Beta... (1997)
Calendar (1997)
CGI Request Time Out (1997)
Obtaining a dice result (2007)
sort links (2002)
Web Catalog and Net Cloak (1998)
A workaround for handling date range search in yyyy/mm/dd form (1997)
[WebDNA] location line item change password (2011)
Possible Bug in 2.0b15.acgi (1997)
HTML encoding in URLs (1997)