I know, I'm not new to building compilers / parsing code.
But that's how it's implemented in all the big languages and that's what I don't like.
Comment blocks like rem..endrem
Re: Comment blocks like rem..endrem
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
Re: Comment blocks like rem..endrem
The full text of that quote can be found on this page, along with full samples of nested, non nested, and multi-character comment handling. The nested comment handling also shows a great example of the use of recursion.
http://www.pp4s.co.uk/main/tu-trans-comp-jc-12.html
http://www.pp4s.co.uk/main/tu-trans-comp-jc-12.html