Menu

re2c scanner generator / News: Recent posts

re2c 0.10.2.rc2 released

After working with rc1 a bunch of tiny things came up. Maybe most remarkably the addition of tutorial like lessons to get users starting with re2c. Code wise the most interesting change is that from now on re2c will default to two pass generation which allows to have re2c generate a YYMAXFILL define anywhere in the code rather than only after the last block.

- Changed to generate YYMARKER only when needed or in single pass mode.
- Added -1 switch to force single pass generation and make two pass the default.
- Fixed -i switch.
- Added configuration 'yyfill:enable' to allow suppression of YYFILL() blocks.
- Added tutorial like lessons to re2c.
- Added /*!ignore!re2c */ to support documenting of re2c source.
- Fixed issue with multiline re2c comments (/*!max:re2c ... */ and alike).... read more

Posted by Marcus Börger 2006-04-17

re2c 0.10.2.rc1 released

The upcoming version 0.10.2 of re2c will bring a bunch of small tweaks and fixes as well as a revised interface to storable states. Especially re2c no longer generates uselss yyNext labels unless configured to do so.

The following changes have been made:
- Fixed generation of YYDEBUG() when using -d switch.
- Added /*!getstate:re2c */ which triggers generation of the YYGETSTATE() block.
- Added configuration 'state:abort'.
- Changed to not generate yyNext unless configuration 'state:nextlabel' is used.
- Changed to not generate yyaccept code unless needed.
- Changed to use if- instead of switch-expression when yyaccpt has only one case.
- Added docu, examples and tests to .src.zip package (0.10.1 zip was repackaged).
- Fixed #1454253 Piece of code saving a backtracking point not generated.
- Fixed #1463639 Missing forward declaration.
- Implemented #1187127 savable state support for multiple re2c blocks.... read more

Posted by Marcus Börger 2006-04-13

re2c 0.10.1 released

This is the newest version of re2c that comes with no known bugs. After the addition of unicode support in 0.10.0 this version comes with support for Solaris and native SUN compilers. And fixes a minor issue with YYCTXMARKER. See the the documentation and the description in #1438160.

re2c has been tested on various platforms:
-gcc version 4.0.2 (4.0.2-1mdk for Mandriva Linux release 2006.1)
-gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)
-gcc version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
-gcc-Version 3.4.0 (IRIX)
-gcc-Version 3.3.5 (Debian 1:3.3.5-13)
-MIPSpro Compilers: Version 7.4.4m
-Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86 (Microsoft Visual C 2005)
-Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.00.9466 for 80x86 (Microsoft Visual C 2002)
-Intel(R) C++ Compiler for 32-bit applications, Version 9.0 Build 20051130Z Package ID: W_CC_C_9.0.028
-CC: Sun C++ 5.8 2005/10/13 (CXXFLAGS='-compat5 -library=stlport4')... read more

Posted by Marcus Börger 2006-03-01

re2c 0.10.1.dev and solaris

Using current CVS version re2c can be built using native SUN compilers. To do so you need to set the following compiler flags:
CXXFLAGS='-g -compat5 -library=stlport4'

If you have GCC installed there is no need to specify any option.

Using GCC or native SUN compiler all tests pass now under Solaris.

Posted by Marcus Börger 2006-02-26

re2c 0.10.0 released

This is the newest version of re2c that comes with no known bugs but a lot of fixes and additions. Most prominent the additional support for unicode scanner generation. That is re2c can now handle two byte input. This has been verified with WinMerge plugins under windows.

Further more re2c lets you control indendation of the generated code and does no longer produce unreachable code or unused labels. This makes the code much easier to understand and debug. However a few .re files might rely on the generation of a non used and trustable start label, 'yy0' to be precise. To circumvent this problem re2c allows to specify your own startlabel now using inplace configuration (re2c:startlabel). ... read more

Posted by Marcus Börger 2006-02-18

re2c 0.10.0.rc2 released

This is the second release candidate of the new re2c. The second release candidate was necessary because there was a problem in release packing that led to missing bootstrap files in the packages. No other change have been detected or were reported so far.

The newest version of re2c comes with no known bugs but a lot of fixes and additions. Most prominent the additional support for unicode scanner generation. That is re2c can now handle two byte input. This has been verified with WinMerge plugins under windows. ... read more

Posted by Marcus Börger 2006-02-03

re2c 0.10.0.rc1 released

This is the newest version of re2c that comes with no known bugs but a lot of fixes and additions. Most prominent the additional support for unicode scanner generation. That is re2c can now handle two byte input. This has been verified with WinMerge plugins under windows.

Further more re2c lets you control indendation of the generated code and does no longer produce unreachable code or unused labels. This makes the code much easier to understand. However a few .re files might rely on the generation of a non used and trustable start label. To circumvent this problem re2c allows to specify your own startlabel now using inplace configuration (re2c:startlabel).... read more

Posted by Marcus Börger 2006-02-01

Experimental unicode support improved

The new re2c unicode support now works under unix/linux and compatible systems as well as windows. It even works with -b option so it is no longer necessary to have re2c generate slow and awsome long c code. However when using the -b option the code is not so good optimized as with non unicode becuase a minor analysis block is missing right now. Once that little outstanding change has been done the first beta of re2c 0.10.0 will be released. Hopefully latest by the end of January. So give re2c and unicode a try.

Posted by Marcus Börger 2006-01-14

Experimental unicode support

re2c now has experimental unicode support using the new -w switch. This is not compatible with -b or -e.

Posted by Marcus Börger 2005-12-28

re2c 0.9.12 released

This is the new re2c version that comes with no known bugs.

This release fixes an edge case reported in bug 1390174 which prevented re2c from accepting closures in the form {0,}.

Posted by Marcus Börger 2005-12-28

re2c 0.9.11 released

This is the new re2c version that comes with no known bugs.

Posted by Marcus Börger 2005-12-18

re2c-0.9.11.rc1 released

We are about releasing the next version of re2c that fixes all latest bugs.

If you are using re2c for EBCDIC with its -e switch please report whether the version works correct with ranges and the dot operator to me (helly at users.sourceforge.net).

Posted by Marcus Börger 2005-11-11

re2c 0.9.10 released

This is the new re2c version that comes with a new switch -i. This swicth prevents re2c from generating #line information. This is usefull when you want use a CMS tool with the re2c output which you might want if you do not require your users to have re2c themselves when building from your source.

Posted by Marcus Börger 2005-09-04

re2c-0.9.9 released

This is the new re2c version and contains three new features and one additional conistency check. Unfortunatley this all comes with a minor backwards incompatibility.

The first change is that you now have the possibility to use negated char classes by '[^]'.
Thus if you want a range with '^' in it you can no longer put '^' as the first char of the range.

The second is adding the dot operator by '.'. This allows any character but '\n'. ... read more

Posted by Marcus Börger 2005-07-21

re2c-0.9.9.rc1 released

re2c 0.9.9.rc1 is the first release candidate of upcoming version 0.9.9. It contains three new features and an additional conistency check. Unfortunatley this all comes with a minor backwards incompatibility.

The first change is that you now have the possibility to use negated char classes by '[^]'.
Thus if you want a range with '^' in it you can no longer put '^' as the first char of the range.

The second is adding the dot operator by '.'. This allows any character but '\n'.... read more

Posted by Marcus Börger 2005-07-17

re2c now with negated char classes

Starting from version 0.9.9 re2c will support negated char classes. That is [^0-9] for instance will accept everything but digits. We may though require an additional switch to activate this since some users might have the sequence "[^" in their code already.

Posted by Marcus Börger 2005-07-09

re2c-0.9.8 released

re2c 0.9.8 is the new release that ships with no known bugs.

re2c now ships with Microsoft Visual C .NET build files so that you can build it yourself under windows. However you need to be able to create the config.h file yourself by either using cygwin or copying the file from a unix box.

Posted by Marcus Börger 2005-06-26

re2c-0.9.7 released

re2c 0.9.7 is the new release that ships with no known bugs and offers two major functionality add ons.

The first one is called 'salvable states' developed by Emmanuel Mogenet that allows to store the parser state and interrupt the parser and continue later. Thank you for the good work.

The second new feature is the new -d switch that lets you easily debug the generated parser originally developed by Derick Rethans. Thank you too for this nice addition. ... read more

Posted by Marcus Börger 2005-04-30

re2c-0.9.7.rc3 released

re2c 0.9.7.rc3 is the third release candidate of upcoming version 0.9.7. It contains two new features.

The first one is called 'salvable states' developed by Emmanuel Mogenet that allows to store the parser state and interrupt the parser and continue later. Thank you for the good work.

The second new feature is the new -d switch that lets you easily debug the generated parser originally developed by Derick Rethans. Thank you too for this nice addition. ... read more

Posted by Marcus Börger 2005-04-25

re2c-0.9.7.rc2 released

re2c 0.9.7.rc2 is the second release candidate of upcoming version 0.9.7. It contains two new features.

The first one is called 'salvable states' developed by Emmanuel Mogenet that allows to store the parser state and interrupt teh parser and continue later. Thank you for the good work.

The second new feature is the new -d switch that lets you easily debug the generated parser originally developed by Derick Rethans. Thank you too for this nice addition.... read more

Posted by Marcus Börger 2005-04-22

re2c-0.9.7.rc1 released

re2c 0.9.7.rc1 is the first release candidate of upcoming version 0.9.7. It contains one major new feature called 'salvable states' developed by Emmanuel Mogenet. To learn more about download teh new verion and read the updated man pages. Thank you Emmanuel.

Further more there are again no known issues for this upcoming release. If you do know about isue please file a bug so that we can fix it as soon as possible.... read more

Posted by Marcus Börger 2005-04-20