$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Darren Cook (darren_at_[hidden])
Date: 2005-07-25 18:26:33
> The new Perl 6 has a nice feature called junctions. See
> http://www.perl.com/pub/a/2003/07/29/exegesis6.html?page=4 ...
I'm interested: this has been on my language wishlist for years.
At the time I did something crude with regexes to pre-process C++ code,
but realized I needed a full C++ parser, so the project got shelved.
I also wanted to be able to have ranges, e.g.
if( x == any(0..9) ) {...}
else if( x == any(10..99,SPECIAL1,SPECIAL2) ) {...}
else { assert(x==NOT_SET); }
I've not looked at your code yet, but could it (theoretically) be
expanded to cover the above syntax?
Darren