jflex-announce Mailing List for JFlex
The fast lexer generator for Java
Brought to you by:
lsf37,
steve_rowe
You can subscribe to this list here.
| 2001 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(3) |
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2009 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Gerwin K. <ge...@do...> - 2023-03-11 03:13:17
|
JFlex 1.9.1 has been released today at https://jflex.de JFlex 1.9.1 is a small bugfix release: • fix negated char classes with overlapping content (#1065, #1066): Expressions such as [^\s\n] were translated incorrectly, because \s and \n overlap and the negation operator ^ in version 1.9.0 did not handle this case correctly. Enjoy! Gerwin |
|
From: Gerwin K. <ge...@do...> - 2023-02-05 09:46:45
|
JFlex 1.9.0 has been released today at https://jflex.de JFlex 1.9.0 is a feature release with slight performance improvements in the scanning engine. It fixes all known bugs of version 1.8.2. New features • add optional token size limit • warn for unicode escapes that are too long • directives and command line switches for enabling/disabling JFlex warnings • allow custom annotations such as @SuppressWarnings • increase maximum supported DFA size to about 2^32 states • better error reporting for character classes • allow comments after %yylexthrow • make maven build reproducible Fixed bugs • make character classes more robust • fix NullPointerException when generating dot files See also the change log at https://www.jflex.de/changelog.html and https://github.com/jflex-de/jflex/milestone/17?closed=1 for the full list with more detail. Enjoy! Gerwin |
|
From: Gerwin K. <ge...@do...> - 2020-05-03 08:25:38
|
JFlex 1.8.2 has been released today at http://jflex.de Version 1.8.2 is a bugfix release with no other changes in functionality compared to JFlex 1.8.1 In particular, version 1.8.2 • fixes a bug that prevented %7bit scanners from being generated • fixes %eof{ and %eofthrow{ code generation, which produced empty code blocks For more details see the change log at https://www.jflex.de/changelog.html Enjoy! Gerwin (for the JFlex team Régis Décamps, Steve Rowe, and Gerwin Klein) |
|
From: Gerwin K. <ge...@do...> - 2020-03-03 07:40:25
|
JFlex 1.8.1 has been released on Friday at http://jflex.de Version 1.8.1 is a maintenance release with no changes in functionality compared to JFlex 1.8.0 The only change is in dependency management to allow JFlex to be built from source directly inside the release package. For detailes the change log at https://www.jflex.de/changelog.html and https://github.com/jflex-de/jflex/milestone/18?closed=1 for the full list of relevant github issues. Enjoy! Gerwin (for the JFlex team Régis Décamps, Steve Rowe, and Gerwin Klein) |
|
From: Gerwin K. <ge...@do...> - 2020-02-26 12:30:49
|
JFlex 1.8.0 has been released today at http://jflex.de Version 1.8.0 contains many small code improvements, one bugfix, and a number of new features. The most notable changes are: • Unicode 10.0, 11.0, 12.0, and 12.1 are supported. • Unicode Emoji properties are supported for Unicode versions 8.0+ • Significantly decreased memory usage for unicode scanners from ~4MB to typical ~20kB. • Macro expressions in character classes are now allowed • Defend against spoon-feeding readers not fully populating the scanning buffer • yychar type has been changed from int to long for files > 2GB • Pipe action | now works for <<EOF>> • Explicitly use UTF-8 encoding for skeleton files and dot files. • Maven plugin now correctly checks #include file time stamp. • Slightly optimised character classes when ^ operator is used. • Normalised character class order. This has no influence on how text is matched, but makes --dump output more comparable. • yyatEOF() now available in scanner API (#644) • Fixed a bug in the negation ! operator that in rare circumstances would match not everything covered by the negation. • The . expression now does not match unpaired surrogates, since these are not characters. • JFlex build now depends on JDK 1.8+; JFlex runtime still supports JDK 7+ • Example specs now with build for ant, make, and maven. • Code cleanup and modularization; javadoc cleanup • Updated Maven dependencies • JFlex can now be built with Bazel See also the change log at https://www.jflex.de/changelog.html and https://github.com/jflex-de/jflex/milestone/11?closed=1 for the full list with more detail. Enjoy! Gerwin (for the JFlex team Régis Décamps, Steve Rowe, and Gerwin Klein) |
|
From: Gerwin K. <ge...@do...> - 2018-09-22 02:32:36
|
JFlex 1.7.0 has been released yesterday at http://jflex.de Version 1.7.0 contains many small internal modernisations and code improvements. The user-visible changes are: • Unicode 8.0 and 9.0 are now supported • JFlex build and runtime now depend on JDK 1.7+ • Maven build now depends on >= 3.2.2 • Ant build now depends on >= 1.9.7 • Updated to most recent version of CUP (11b) • The deprecated option --noinputstreamctor has been removed • Documentation was improved • JFlex start script is now more robust for other locales, such as Japanese • An --encoding option to specify input/output encoding • Now will report a debug character position when %debug and %char are present See the full change log at https://github.com/jflex-de/jflex/milestone/10?closed=1 for more detail. It’s been slightly more than 20 years that JFlex 1.0 was released in May 1998, and it’s been very nice to see JFlex grow from a small first open source release towards a development tool that is used all over the planet with active community support, a stable code base, and still excellent performance. We have more such plans for the future! Enjoy! Gerwin (for the JFlex team Régis Décamps, Steve Rowe, and Gerwin Klein) |
|
From: Gerwin K. <Ger...@ni...> - 2015-03-16 21:43:13
|
JFlex 1.6.1 is released: http://jflex.de Version 1.6.1 is a maintenance release that fixes all known defects of version 1.6.0. Changes are: - JFlex development now on https://github.com/jflex-de/ - Fixed issue #130, "in caseless mode, chars in regexps not accepted caselessly”: Caseless option works again as intended. - Fixed issue #131, "re-enable scanning interactively or from a network byte stream”: JFlex now throws an IOException when a Reader returns 0 characters. - New example, shows how to deal with Readers that return 0 characters. - Command line scripts work again in repository version (contributed by Emma Strubell) - New options --warn-unused and --no-warn-unused that control warnings about unused macros. - Fixed issue #125: %apiprivate and %cup2 switches now no longer incompatible - Fix issue #133, "Error in skeleton.nested”: Empty-string matches were taking precedence over EOF and caused non-termination. Now EOF is counted as the highest-priority empty match. - New warning when an expression matches the empty string (can lead to non-termination). Thanks to Steve Rowe and Régis Décamps for helping to make it happen as usual. Thanks to Emma Strubell for contributing code. And thanks to Evgeny Matusov, Ronald Jeninga, Dawid Weiss, Thierry Blind, Olivier Grégoire, and didier31 for reporting issues and helping to improve JFlex. Enjoy! Gerwin ________________________________ The information in this e-mail may be confidential and subject to legal professional privilege and/or copyright. National ICT Australia Limited accepts no liability for any damage caused by this email or its attachments. |
|
From: Gerwin K. <Ger...@ni...> - 2014-06-22 01:27:23
|
JFlex 1.6 is released: http://jflex.de Version 1.6 further improves Unicode support: - Unicode 7.0 is now supported. - In %unicode mode, supplementary code points are now handled properly: + Regular expressions are now code-point based, rather than code-unit/char based. + Input streams are read as code point sequences - properly paired surrogate code units are read as a single character. + All supported Unicode properties now match supplementary characters when Unicode 3.0 or above is specified, or when no version is specified, causing the default Unicode version, Unicode 7.0 in this release, to be used. - New \u{…} escape sequence allows code points (and whitespace-separated sequences of code points) to be specified as 1–6 hexadecimal digit values. - Characters in matches printed in %debug mode are now Unicode escaped (\uXXXX) when they are outside the range 32..127. - fixed bug #127, detect javadoc class comment when followed by annotation(s) - removed the “switch” and “table” code generation options as announced in release 1.5 - by default no InputStream constructor is included in the generated scanner. The capability to include one is deprecated and will be removed in JFlex 1.7. Enjoy! Gerwin ________________________________ The information in this e-mail may be confidential and subject to legal professional privilege and/or copyright. National ICT Australia Limited accepts no liability for any damage caused by this email or its attachments. |
|
From: Gerwin K. <Ger...@ni...> - 2014-03-23 08:31:21
|
JFlex 1.5.1 is out! Get it from http://jflex.de This is a maintenance release only, fully backwards compatible with 1.5.0. The change log is: - fixed bug #126: problem calling ./jflex start scripts - fixed bug #125: minor documentation flaws - documentation and website updates - JFlex now reports the correct version string - added support for CUP2 with %cup2 switch, based on patch by Andreas Wenger Enjoy! Gerwin ________________________________ The information in this e-mail may be confidential and subject to legal professional privilege and/or copyright. National ICT Australia Limited accepts no liability for any damage caused by this email or its attachments. |
|
From: Gerwin K. <Ger...@ni...> - 2014-02-04 21:43:52
|
It's been a long time coming: JFlex 1.5 is out! Get it from http://jflex.de The most important changes and updates are: * JFlex now conforms with Unicode Regular Expressions UTS#18 Basic Unicode Support - Level 1. Supplementary code points (above the Basic Multilingual Plane) are not yet supported. Huge thanks to Steve Rowe for his extensive work on this! * Support for new meta characters \s, \S, \d, \D, \w, \W, nested character sets and new character set operations (union, intersection, set difference, symmetric difference). * The "." meta character now stands for all non-newline characters. Old behaviour available with the --legacydot option. * New \R meta character stands for all newline characters. * Moved to a more permissive BSD-style license. * JFlex now needs at least JDK 1.5 to run. * Changed the build from Ant to Maven. * Updated JFlex to CUP version 0.11a. * Fixed outstanding bugs. Many thanks to Steve Rowe and Régis Décamps for their hard work on this release! Happy scanning, Gerwin ps: There is a slight blemish in the current release files, JFlex reports its version as 1.5.0-SNAPSHOT. We’ll bring out 1.5.1 in a few weeks, but it is safe to upgrade to 1.5.0 in the meantime. There won’t be any feature changes to 1.5.1. ________________________________ The information in this e-mail may be confidential and subject to legal professional privilege and/or copyright. National ICT Australia Limited accepts no liability for any damage caused by this email or its attachments. |
|
From: Gerwin K. <ger...@ni...> - 2009-02-03 20:33:15
|
Hi, JFlex 1.4.3 is now available for download at [http://jflex.de] and mirrors. Version 1.4.3 is a maintenance release and fixes all known bugs of versions 1.4.2 and earlier. If all goes well, this is the last release before JFlex switches to Java 1.5 with new features. The list of changes in 1.4.3 is: - fixed bug #2018299 (lookahead syntax error) - fixed bug #2010261 (min_int in Java example scanner) - fixed bug #2007221 (zzEOFDone not reset in yyreset(Reader)) - fixed bug #1999301 (%type and %int at the same time should produce an error message) I would like to thank everyone who reported bugs as well as my co-developers Regis Decamps and Steven Rowe for their contributions. Happy scanning! Gerwin |
|
From: R. D. <de...@us...> - 2008-11-30 23:56:00
|
Dear all, As requested <http://jira.codehaus.org/browse/MAVENUPLOAD-2285>, JFlex repository is now in sync with the central repository. Hence, if you want to use maven-jflex-plugin<http://jflex.sourceforge.net/maven-jflex-plugin/index.html>, you no longer need to define the JFlex repository Also I have republished the plugin under groupId de.jflex (instead of de.jflex.maven.plugin, as suggested by Hervé Boutemy<http://jira.codehaus.org/browse/MOJO-912?focusedCommentId=145241&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_145241>who is a Maven team member). For this reason, I have build a new and clean repository now located on http://jflex.sf.net/m2repo (instead of http://jflex.sf.net/repo) Also, with months of delay, I will likely release version 1.4.2 of the maven-jflex-plugin on Wenesday with updated documentation. Kind regards, -- Régis Décamps http://regis.decamps.info/ George Bernard Shaw - "Youth is a wonderful thing. What a crime to waste it on children." |
|
From: Gerwin K. <ger...@ni...> - 2008-05-28 10:29:21
|
Hi, JFlex 1.4.2 is now available for download at [http://jflex.de] and mirrors. Version 1.4.2 is a maintenance release and fixes all known bugs of versions 1.4.1 and earlier, including the long-standing look-ahead expression problems. The 1.4.x series is the last to keep downwards compatibility with Java 1.1. JFlex 1.5 will make use of Java 1.5 features and require Java 1.5 or newer. The list of major changes in 1.4.2 is: - implemented feature request #1212181: Now supports generics syntax for %type, %extends, etc - implemented feature request #1762500: Provided %ctorarg option to add arguments to constructor - fixed bug #1464525 (Reader.read might return 0) - fixed bug #1968897 (Ambiguous error message in macro expansion) - fixed bug #1832973 (Syntax error in input may cause NullPointerException) - fixed bug #1629920 (Need to defend against path blanks in jflex bash script) - fixed bug #1540228 (EOF actions may be ignored for same lex state) - fixed bug #1498726 (syntax error in generated ZZ_CMAP) - fixed bug #1282840 (lookahead and "|" actions) - fixed bug #1164852 (yytext() longer than expected with lookahead) - fixed bug #1065521 (OS/2 Java 1.1.8 Issues) - fixed bug #421495 (dangerous lookahead check may fail) I would like to thank Regis Decamps and Steven Rowe who have joined in developing JFlex. Happy scanning! Gerwin |
|
From: <de...@us...> - 2007-11-24 17:43:33
|
Hi,
If you are reading this mailing-list, I assume you use JFlex to generate
a Java parser from a grammar.
Maybe you also use or would like to use Maven2. Maven is a modern
software project management and comprehension tool. Based on the concept
of a project object model (POM), Maven can manage a project's build,
reporting and documentation.
I'm pleased to announce the release of maven-jflex-plugin. This plugin
for Maven 2 helps to run JFlex in the build process.
To use this plugin, you can need to declare the following repository:
<pluginRepository>
<id>jflex</id>
<name>JFlex repository</name>
<url>http://jflex.sourceforge.net/repo/</url>
</pluginRepository>
I have adaptated two examples to demonstrate the use of the plugin:
svn co http://jflex.svn.sourceforge.net/svnroot/jflex/examples/
mvn package
This will check out all examples from the FLex source code and package
simple-maven and standalne-maven. By package Maven means:
* generate the source code ; here it generates Java source for a
parser defined by the provided grammar
* compiles the whole source code and the tests
* execute the tests
* package the classes in a jar
The plugin has a site http://jflex.sourceforge.net/maven-jflex-plugin/
where you can find more information.
There are 2 interesting versions:
* v1.0 requires a Java5 SDK to be executed (even though the
generated parser will be Java 1.4)
* v0.3 offers the same set of functionalities its code has been
backported to be compatible with a Java 1.4 JDK.
Hope this will be useful for you.
Have a nice wee-end,
--
Régis
|
|
From: Gerwin K. <ger...@ni...> - 2004-11-07 06:50:34
|
Hi, JFlex 1.4.1 is out. It is a maintenance release fixing all known bugs of version 1.4. These are: * Bug #1049791 (uses old JUnit method assertFalse). Thanks to Don Brown for providing a patch. * Bug #887821 (buffer expansion bug in yy_refill()). Thanks again to Don Brown for providing a patch and to Binesh Bannerjee for providing a simple test case for this problem. * Bug #1035407 (ArrayIndexOutOfBounds in IntCharSet) * Bug #1003569 (cannot use lookahead with ignorecase) * Trailing lookahead error is now a warning. Does not miss any potentially wrong lookaheads any more, but the approximation is very crude (reports many safe cases as unsafe) * Print info for EOF actions as well in %debug mode. You can download JFlex 1.4.1 from any of the mirrors at http://www.jflex.de/mirrors.html Cheers, Gerwin |
|
From: Gerwin K. <ls...@jf...> - 2004-04-13 12:28:21
|
Hi all, the long awaited version 1.4 of JFlex is out. Because of the long running prerelease versions it should be as stable as you are used to. The most notable new features in 1.4 are: * new, very fast minimization algorithm * new --jlex option for strict compatibility to JLex * support for even larger scanners (up to 64K DFA states) * faster character classes * new %apiprivate switch that causes all generated and skeleton methods to be made private * allow user defined javadoc class comments * optional parameter to %eofclose: "%eofclose false" turns off %eofclose if it was turned on previously (e.g. by %cup) * some internal changes: jflex build script switched to ant, better integration with build tools and IDEs, change scheme for generated names to comply with Java naming standard You can download JFlex 1.4 from any of the mirrors at: http://www.jflex.de/mirrors.html Changes from the latest prerelease 1.4_pre5 are minimal: - new internal naming policy to conform with Java standard - removed IOException from yyreset - %eofclose false - no %eofclose for %cup in --jlex mode The complete log of changes from 1.3.5 to 1.4 is attached at the end. Happy scanning, Gerwin * Changes from JFlex 1.3.5 to JFlex 1.4 - new, very fast minimization algorithm (also fixes memory issues) - new --jlex option for strict compatibility to JLex. Currently it changes %ignorecase to JLex semantics, that is, character classes are interpreted in a caseless way, too. (fixes bus #751757, %ignorecase ignored by char classes). Thanks to Edward D. Willink for spotting the incompatibility. - support for even larger scanners (up to 64K DFA states). Thanks to Karin Vespoor. - removed eclipse compiler warnings for generated classes (feature request #778747) - implemented faster character classes (feature request #604589). Expressions like [a-z] | [A-Z] are interpreted as one atomic class [a-zA-Z], reducing NFA states and generation time significantly for some specifications. This affects the generation process only, generated scanners remain the same. - new %apiprivate switch (feature request #513500/1) that causes all generated and skeleton methods to be made private. Exceptions to this are user defined functions and the constructor. Thanks to Stephen Ostermiller for the suggestion. - allow user defined javadoc class comments (feature request #513500/2) If the user code section ends with a javadoc comment, JFlex takes this instead of the generated comment. Thanks to Stephen Ostermiller for the suggestion. - fixed bug #491095 (undefined macros in complement expressions do not throw exception in generator). Thanks to Stephen Ostermiller for the bug report. - fixed bug #495422 (yypushStream/yypopStream in skeleton.nested work as advertised) - fixed bug #611118 (no wrong macro warnings on regexp negation) - fixed bug #655528 (%cupsym now also affects %cupdebug) Thanks to Eric Schweitz for the fix. - fixed bug #510010 (single-line %initthrow works now in case of extra whitespace before newline) - yyreset() does no longer close the associated reader (use yyclose() explicitly for that). Makes some reader objects reusable (feature request #513492). Thanks to Stephen Ostermiller for the suggestion. - fixed modifier order in generated code, removes jikes compiler warnings Thanks to Michael Wildpaner for the fix. - ant task now also works with ant >= 1.4 (fixes bug #526905) - yyreset() does not declare an execption any more (fixes bug #913132) - %cup does not include %eofclose in JLex mode (--jlex). (Fixes bug #910562) - optional parameter to %eofclose: "%eofclose false" turns off %eofclose if it was turned on previously (e.g. by %cup). (Fixes bug #910562) - jflex build script switched to ant - internal: central Options class for better integration with build tools and IDEs - internal: change naming scheme for generated internal variables from yy_ to zz to comply with Java naming standard. Thanks to Max Gilead for the patch. |
|
From: Gerwin K. <ls...@jf...> - 2003-11-11 07:00:22
|
Hi, JFlex 1.4_pre5 is a small bugfix release that rectifies two issues introduced in 1.4_pre4: - fixed misaligned internal error message codes in generated code - fixed unicode escapes in generated javadoc class comment Thanks to Eric Ford and Raphael Petit for spotting these immediatly. You can download JFlex 1.4_pre5 at: http://sourceforge.net/project/showfiles.php?group_id=14929&release_id=196774 Enjoy, Gerwin |
|
From: Gerwin K. <ger...@ni...> - 2003-11-05 05:44:26
|
Hi, I've just released JFlex version 1.4_pre4. It contains mainly bugfixes (all bugs that have been reported except the lookahead algorithm) and some new features. It is also the first release candidate for JFlex 1.4. I encourage everyone to try out this new version and give feedback in case you find anything. If nothing comes up in the next 2 months, this release will become the stable version JFlex 1.4. JFlex 1.4_pre4 is available from the sourceforge.net download system: http://sourceforge.net/project/showfiles.php?group_id=14929&release_id=195601 The complete list of changes from 1.3.5 to 1.4_pre4 follows (changes from 1.4_pre3 to 1.4_pre4 at the top): - new --jlex option for strict compatibility to JLex. Currently it changes %ignorecase to JLex semantics, that is, character classes are interpreted in a caseless way, too. (fixes bus #751757, %ignorecase ignored by char classes). Thanks to Edward D. Willink for spotting the incompatibility. - support for even larger scanners (up to 64K DFA states). Thanks to Karin Vespoor. - removed eclipse compiler warnings for generated classes (feature request #778747) - implemented faster character classes (feature request #604589). Expressions like [a-z] | [A-Z] are interpreted as one atomic class [a-zA-Z], reducing NFA states and generation time significantly for some specifications. This affects the generation process only, generated scanners remain the same. - new %apiprivate switch (feature request #513500/1) that causes all generated and skeleton methods to be made private. Exceptions to this are user defined functions and the constructor. Thanks to Stephen Ostermiller for the suggestion. - allow user defined javadoc class comments (feature request #513500/2) If the user code section ends with a javadoc comment, JFlex takes this instead of the generated comment. Thanks to Stephen Ostermiller for the suggestion. - fixed bug #491095 (undefined macros in complement expressions do not throw exception in generator). Thanks to Stephen Ostermiller for the bug report. - fixed bug #495422 (yypushStream/yypopStream in skeleton.nested work as advertised) - fixed bug #611118 (no wrong macro warnings on regexp negation) - fixed bug #655528 (%cupsym now also affects %cupdebug) Thanks to Eric Schweitz for the fix. - fixed bug #510010 (single-line %initthrow works now in case of extra whitespace before newline) - yyreset() does no longer close the associated reader (use yyclose() explicitly for that). Makes some reader objects reusable (feature request #513492). Thanks to Stephen Ostermiller for the suggestion. - new, very fast minimization algorithm (also fixes memory issues) - fixed modifier order in generated code, removes jikes compiler warnings Thanks to Michael Wildpaner for the fix. - ant task now also works with ant >= 1.4 (fixes bug #526905) - jflex build script switched to ant - internal changes: central Options class for better integration with build tools and IDEs Cheers, Gerwin |
|
From: Gerwin K. <ls...@jf...> - 2001-10-08 19:32:10
|
Hi everybody, JFlex 1.3.5 has been released. It's a bugfix release. You can download JFlex 1.3.5 from each of the following locations: http://www.jflex.de http://jflex.sf.net http://home.in.tum.de/kleing/jflex/ http://sourceforge.net/project/showfiles.php?group_id=14929 Changes from 1.3.4 to 1.3.5 are: - fixed all bugs reported for version 1.3.4. Thanks to Amin Ahmad and Fred Wehrhahn for their excellent bug reports. - implemented feature request #459014: vim syntax file. Thanks to Michael Brailsford for his help and suggestions. - JFlex should run with JDK 1.1 out-of-the-box again. A nice day and happy scanning, Gerwin |
|
From: Gerwin K. <ls...@jf...> - 2001-10-04 11:57:30
|
Hi everybody, there is a serious bug (id 467827) in JFlex versions 1.3.3 and 1.3.4: predefined character classes like [:jletter:] may not be parsed correctly under certain circumstances. The bug is serious because its occurence might look random, JFlex will accept the specification without error messages, the generated file will compile, but the generated Scanner will yield unexpected results. Details: [:jletter:] might be parsed not as the predefined class, but as the character class containing the characters j l e t r : It will be parsed incorrectly if it is preceded by whitespace and not at the beginning of a regular expression. Otherwise it will be parsed correctly. Workaround: remove whitespace in front of predefined character classes or use the [[:jletter:]] form instead of [:jletter:] The bug was reported by Fred Wehrhahn. A bugfix release of JFlex will be available shortly (next week). Best, Gerwin |
|
From: Gerwin K. <ls...@jf...> - 2001-10-01 11:13:36
|
Hi everybody, JFlex version 1.3.4 has been released. It's a bugfix release. You can download JFlex 1.3.4 from each of the following locations: http://www.jflex.de http://jflex.sf.net http://home.in.tum.de/kleing/jflex/ http://sourceforge.net/project/showfiles.php?group_id=14929 Changes from 1.3.3 to 1.3.4 are: - fixed all bugs reported for version 1.3.3. Thanks to Mike Akerman for his excellent bug reports and his help. - implemented feature request #459355: exclusive start states. Thanks to Ed Beroset for the suggestion. - introduced %s and %x shorthands for state declarations A nice day and happy scanning, Gerwin |
|
From: Gerwin K. <ls...@jf...> - 2001-09-21 22:06:48
|
Hi everybody, JFlex version 1.3.3 has been released. It is a bugfix and maintenance release with numerous small enhancements to generator, runtime system, specification language, and documentation. You can download JFlex 1.3.3 from each of the following locations: http://www.jflex.de http://jflex.sf.net http://home.in.tum.de/kleing/jflex/ http://sourceforge.net/project/showfiles.php?group_id=14929&release_id=53898 Changes from 1.3.2 to 1.3.3 are: - fixed all reported bugs except #39 (lookahead check at generation time may fail). Thanks to Axel Schwolow, Karl Meissner, Angelo Borsotti, and Paolo Di Francesco for their excellent bug reports. - enhanced %debug output. JFlex scanners in debug mode now print line, column, matched text, and executed action (with line number in spec) for each processed token. Thanks to <a href="http://meissner.v0.net/msd.htm">Karl Meissner</a> for the suggestion. - introduced %cupdebug directive for readable CUP debugging. Generated scanners print line, column, matched text, and CUP symbol name for each returned token. Again thanks to Karl Meissner for tips and contributed Java reflection code. - new %cupsym to customize CUP generated symbols class name. Thanks to Karl Meissner and Paolo Di Francesco. - new %throws as shorthand for %yylexthrow - code generation now customizable at command line with --table, --pack, and --switch - command line switch --info prints system and JVM information (useful for bug reports) - command line switch --nobak for not generating backup files - an Ant task for the Ant build tool http://jakarta.apache.org/ant/ contributed by Rafal Mantiuk. Many thanks to him. - better error message for missing ] in char class. Thanks to Karl Meissner. - performance enhancements in the runtime system. The engine is now 10%-50% faster. These are only the first implementations of a few of the many suggestions from Angelo Borsotti. Thanks to Angelo for many insights, tips, and fruitful discussions. - a new warning if a rule can never be matched - macros and regular expression can now span multiple lines (note that <tt>|</tt> at the end of a line in a rule is a special action, not the <tt>|</tt> operator) - updated the manual to contain more information about the generated class, clarified the description of lexical states. Thanks to Michael Binz, Angelo Borsotti, Vasily Karyaev and for the suggestions. - Simplified java example lexer, and allow // style comments at EOF. Thanks to Thomas Mulcahy. - Byacc/J example updated to version 1.1 - New interpreter example using CUP. Thanks to Bernhard Rumpe for the code. A nice day and happy scanning, Gerwin |
|
From: Gerwin K. <kl...@in...> - 2001-02-24 14:44:19
|
Hi everybody, JFlex version 1.3.2 has been released. It's only a small bugfix release. You can download JFlex 1.3.2 from each of the following locations: http://www.jflex.de/ http://jflex.sourceforge.net/ http://www.in.tum.de/~kleing/jflex/ Changes from 1.3.1 to 1.3.2 are: - fixed bug #32 (this time for real). Thanks to Thilo Goetz for his quick report. - updated the binary scanning example with the more comprehensive and usable class StraightStreamReader by Stephen Ostermiller. Thanks go to him for his contribution. The original version of this class is at http://www.smo.f2s.com/utils/ - added a link to a Japanese translation of the JFlex manual (it's in Japanese Shift_JIS encoding). The translation is for an older release (1.1.2), but most of the text still applies to the current version. See the change log for the differences between 1.1.2 and the current version. Many thanks to Yuichi Nakajima, Yukio Ikeda, Katsuhiko Yamazaki, and Koji Ooya for their efforts. If you would like to translate the JFlex manual into another language, or if you already have done so, please let me know. I will include a link to it on the documentation page. I can also give you access to the latex sources of the manual, so that printable versions of your translation can be generated, too. If you have any other JFlex related material that might be helpful to others and that you would like to share (introductions, examples, useful scanner specs, etc.), please also tell me or post to jfl...@li... (see http://www.jflex.de/mailing.html for more info on jflex-users) A nice day and happy scanning, Gerwin |