home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 866 of 2,753   
   Hans Aberg to twometresteve@googlemail.com   
   Re: Ada95 to Ada2005 parser - currently    
   22 Dec 06 01:09:11   
   
   From: haberg@math.su.se   
      
   twometresteve@googlemail.com wrote:   
      
   > In particular, is it going to be at all viable to reuse my exising   
   > lex/yacc grammar with a tool that supports Unicode - before upgrading   
   > the grammar to support Ada2005?   
      
   Well, you can use a Flex generated lexer to parse UTF-8/32, by rewriting   
   Unicode regular expression into ones of those encodings. I wrote some   
   Haskell functions doing that, posted in the Help-Flex mailing list   
   2005-01-11, "Unicode Flex Character Classes":   
     help-flex@gnu.org   
     http://lists.gnu.org/mailman/listinfo/help-flex   
      
   --   
     Hans Aberg   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca