summaryrefslogtreecommitdiff
path: root/devel/ragel
AgeCommit message (Collapse)AuthorFilesLines
2009-08-21Update ragel to 6.5.minskim3-13/+15
Changes since 6.3: -Moved back to a single executable. The old intermediate format can still be generated using the -x option. Ragel was split into frontend and backend programs in version 5.0. This was done to encourage interoperability with other tools. Since then, ragel has been made to work with qfsm, with ragel producing the intermediate format and qfsm consuming it. However, there has been no use of Ragel as a consumer of state machine data, with Ragel used as a code generator for DFAs. This is not surprising given that much of the complexity of Ragel is in the frontend, where the regular language to DFA compilation happens. Since the full benefits of the split have not materialized, and the split increases the complexity for users, Ragel has been made once again into a single executable. -Applied a fix to the documentation Makefile from John D. Mitchell. -Use CXXFLAGS instead of CFLAGS for C++ compiling. Patch from Diego 'Flameeyes' Pettenò. -Added support for DESTDIR variable. Patch from Diego 'Flameeyes' Pettenò. -Added a script called unicode2ragel.rb for generating unicode machines to the examples directory. From Rakan El-Khalil. -Fixed a copy-paste error in the documentation that was reported by Jose Quinteiro. -Added three new write commands: write start; write first_final; write error; These generate a reference to the start, first final and error state. When there are many different machine specifications in one file it is easy to get the prefix for these wrong (especially when you do a lot of copy-pasting of boilerplate). The problem can be avoided by using write commands. -Fixed a problem reading hex numbers that have the high bit set when the alphabet is signed and we are on 64 bit. This was reported by _why. The fix was provided by Wialliam Morgan. The literal 0xffffffff was used for a fully set long when -1L should be used instead. -Fixed a bug in graphviz generation. Ragel crashed when using -V and -M and the specified machine referenced another machine that wasn't included in the build. -The name "CS" is in use on OpenSolaris, changed to vCS to ease compiling Ragel there. -Converted to automake. -REALLY fixed a bug that was intended to be fixed in 6.4: Fixed a problem reading hex numbers that have the high bit set when the alphabet is signed and we are on 64 bit. This was reported by _why. The fix was provided by Wialliam Morgan. The literal 0xffffffff was used for a fully set long when -1L should be used instead. A null patch (whitespace changes) must have gotten checked after I was testing with and without the critical one-line patch and I forgot to enable make sure it was enabled in the final checkin version.
2009-05-28update master site and homepage.zafer1-3/+3
2008-10-14Update ragel to 6.3. Patches provided by Matthias-Christian Ott.minskim3-8/+9
Too many changes and bug fixes since 5.21. See http://www.complang.org/ragel/ChangeLog for the complete list.
2007-05-25Import ragel.minskim4-0/+32
Ragel compiles finite state machines from regular languages into executable C, C++, Objective-C, D, Java, or Ruby code. Ragel state machines can not only recognize byte sequences as regular expression machines do, but can also execute code at arbitrary points in the recognition of a regular language. Code embedding is done using inline operators that do not disrupt the regular language syntax.