Talk:Strip block comments: Difference between revisions

(→‎State Machine: I still thing...)
Line 11:
:::: Note that the issue with parameterized delimiters is that they have syntax associated with them, and syntax does not parameterize well. (For example D and Cobra allow comments to be nested. And passing delimiters as strings would not work well for Lua's block comments.) --[[User:Rdm|Rdm]] 11:52, 11 November 2010 (UTC)
::::: I still think that a version of the 'strip comments' task that specified 'strip the comments your language supports' would be most illustrative of each language examined. :-| --[[User:Short Circuit|Michael Mol]] 14:03, 11 November 2010 (UTC)
 
:::::: Yet they would be doing totally different things. Some languages only have block comments, some only have to-end-of-line comments, some have both. Some even have neither (or at least it's non-trivial to determine what is really a comment with something like [[SNUSP]]…) –[[User:Dkf|Donal Fellows]] 16:35, 11 November 2010 (UTC)
 
== Definition of delimiters? ==
Anonymous user