Re: [Flex-devel] My fork of flex, that supports Unicode
flex is a tool for generating scanners
Brought to you by:
wlestes
From: Mariusz P. <plu...@gm...> - 2014-06-14 09:39:45
|
On 06/14/2014 02:38 AM, Will Estes wrote: > So one of the things I'm doing is rewriting the test suite to use > automake's parallel test suite support as it makes the test suite much > easier to maintain, assuming I can get all the tests rewritten. I've > got about 20 tests rewritten, with the caveat that I'm rewriting the > easy tests first. Just for sake of experiment, I've ported flex build system from autotools to CMake. As far as I checked, it works quite good- for both building and testing. Do you think that such change would be beneficial for mainline flex too? >> - output binary size - as character classes array now may have up >> to 65536*17+1 elements - on 64-bit platform it gives almost 9 MB of >> data in final binary. Not mentioning intermediate .c file... > Yeah but what are options to reduce the size of the output that don't require a lot of code complexity? The parts of table that are not actively used by scanner programmer, usually all contain the same value. This is especially true in long not-yet-assigned Unicode planes. I suppose that even simple RLE may give great difference here. > The standard thing to do is to submit a pull request and interested > persons can comment. You'll have a lot of rebasing to do if you aren't > following all the 2.6.0 changes, but don't let that hold you back. Don't worry, my code is currently on top of your master branch. Okay, I'll then split my commits into smaller branches and start with pull requests. Thanks, Mariusz |