Documentation for 5.20.
[external/ragel.git] / ChangeLog
1 Ragel 5.20 - Apr 7, 2007
2 ========================
3  -A number of fixes were made to the Ruby code generator.
4  -The frontend now scans ruby comments and regular expressions.
5  -A transformation for Ruby was added to the language-independent test suite.
6   The Ruby code generator passes on all the language-independent tests.
7  -A new Ruby test and two language-independent tests were added.
8  -The cs variable is now always initialized, unless the "nocs" option is given
9   to the write init command. If there is no main machine, cs is initialized to
10   the entry point defined by the last machine instantiation.
11  -Some portability fixes were made (Patches from Josef Goettgens and Aaron
12   Campbell).
13  -Fixed a make dependency bug which caused a problem for parallel building
14   (Patch from Jeremy Hinegardner).
15
16 Ragel 5.19 - Mar 14, 2007
17 =========================
18  -Added an import statement to ragel. This statement takes a literal string as
19   an argument, interprets it as a file name, then scrapes the file for
20   sequences of tokens that match the following forms. Tokens inside ragel
21   sections are ignored. An example is in test/import1.rl
22     name = number
23     name = lit_string
24     "define" name number
25     "define" name lit_string
26  -Added an export mechanism which writes defines for single character machines
27   that have been tagged with the export keyword in their definition. Defines
28   are used for C, ints for D, Java and Ruby. Examples of the export feature
29   are in test/export*.rl.
30  -All machine instantiations are now always generated, even if they are not
31   referenced. In the backend, entry points for all instantiations are written
32   out alongside start, error and first final states.
33  -If the main machine is not present then do not emit an error. Generate the
34   machine without a start state and do not initialize cs in the write init
35   code.
36  -Added an option -l to rlgen-cd which inhibits the writing of #line
37   directives.
38  -Added a new syntax for verbose embeddings. This adds parentheses: 
39       $from(action_name);
40   Verbose embeddings without parentheses can make code difficult to read
41   because they force a space in the middle of an action embedding. There is a
42   tendency to associtate spaces with concatenation. Without syntax
43   highlighting to make it clear that the embedding type is a keyword, the
44   problem is especially bad. The danger is that a verbose embedding could be
45   read as an embedding of the keyword representing the empbedding type. With
46   parentheses, verbose embeddings read much more clearly.
47  -Conditions now have a forced order when more than one is executed on a
48   single character. Previously ordering relied on pointers, which caused
49   results to vary by compiler. Ordering is now done using conditon action
50   declaration order. This fixes the failure of cond4.rl which occured with
51   g++ 4.1 and other compiler versions.
52  -In the port from flex to ragel, the name separator :: in Ragel code was
53   lost. Added it back.
54  -In the examples directory switched from rlcodegen to rlgen-cd. Silenced a
55   warning in statechart.rl.
56  -In the root makefile the distclean target was fixed. It was calling clean in
57   the subdirs. In docs, the clean target was not deleting the new manpages for
58   the rlgen-* programs. Fixed.
59  -Portability and other fixes from Josef Goettgens were applied.
60  -The @datadir@ and @mandir@ variables are made use of in doc/Makefile.in for
61   specifying where documentation should be installed. Patch from Marcus
62   Rueckert. 
63
64 Ragel 5.18 - Feb 13, 2007
65 =========================
66  -There is now a 100% correspondence between state id numbers in the
67   intermediate XML file, Graphviz dot files and generated code. This was
68   achieved by moving code which determines if the error state is necessary
69   into the frontend, and then assigning state numbers before writing out the
70   intermediate file.
71  -Backened class structure was reorganized to make it easier to add new code
72   generators without having to also modify the existing code generators.
73  -The C and D code generation executable was changed to rlgen-cd.
74  -The Java code generation was split out into it's own exectuable (rlgen-java)
75   to allow it to freely diverge from the C/D-based code generation.
76  -The graphviz dot file generation was also split out to it's own executable
77   (rlgen-dot).
78  -The Ruby code generation patch from Victor Hugo Borja was added. This is
79   highly experimental code and is not yet completely functional. It is in the
80   executable rlgen-ruby.
81  -The problem with large state machine machines in Java was fixed. This
82   problem was discovered by Colin Fleming, who also contributed a patch.
83   Rather than specify arrays as comma-separated lists of literals, array
84   initialization is now done in a static function. This is the approach used
85   by the Java compiler. Unlike the compiler Ragel is careful split large
86   initilization functions.
87  -The manual was expanded and reorganized somewhat.
88  -Eliminated per-example directories in examples/.
89  -Made some fixes to the pullscan.rl example.
90  -In the frontend CR characters are now treated as whitespace.
91  -Updated to the latest aapl. This completely eliminates the shallowCopy
92   function. With that, a definitive memory leak is fixed.
93  -Control codes with escape sequences are now printable characters (-p
94   option). Also, the space character is now printed as SP.
95  -Fixed the null dereference and consequential segfault which occurred when
96   trying to create empty machines with [] and // and /a[]b/. 
97  -Fixed the segfault which occured when a machine reference failed.
98  -Discontinuing ragel.spec. It is more appropriate for this to be written by
99   package maintenance developers.
100
101 Ragel 5.17 - Jan 28, 2007
102 =========================
103  -The scanners and parsers in both the frontend and backend programs were
104   completely rewritten using Ragel and Kelbt.
105  -The '%when condition' syntax was functioning like '$when condition'. This
106   was fixed.
107  -In the Vim syntax file fixes to the matching of embedding operators were
108   made. Also, improvements to the sync patterns were made.
109  -Added pullscan.rl to the examples directory. It is an example of doing
110   pull-based scanning. Also, xmlscan.rl in rlcodegen is a pull scanner.
111  -The introduction chapter of the manual was improved. The manually-drawn
112   figures for the examples were replaced with graphviz-drawn figures.
113  
114 Ragel 5.16 - Nov 20, 2006
115 =========================
116  -Bug fix: the fhold and fexec directives did not function correctly in
117   scanner pattern actions. In this context manipulations of p may be lost or
118   made invalid. To fix this, fexec and fhold now manipulate tokend, which is
119   now always used to update p when the action terminates.
120
121 Ragel 5.15 - Oct 31, 2006
122 =========================
123  -A language independent test harness was introduced. Test cases can be
124   written using a custom mini-language in the embedded actions. This
125   mini-language is then translated to C, D and Java when generating the
126   language-specific test cases.
127  -Several existing tests have been ported to the language-independent format
128   and a number of new language-independent test cases have been added.
129  -The state-based embedding operators which access states that are not the
130   start state and are not final (the 'middle' states) have changed. They
131   were:
132     <@/    eof action into middle states
133     <@!    error action into middle states
134     <@^    local error action into middle states
135     <@~    to-state action into middle states
136     <@*    from-state action into middle states
137   They are now:
138     <>/    eof action into middle states
139     <>!    error action into middle states
140     <>^    local error action into middle states
141     <>~    to-state action into middle states
142     <>*    from-state action into middle states
143  -The verbose form of embeddings using the <- operator have been removed.
144   This syntax was difficult to remember.
145  -A new verbose form of state-based embedding operators have been added.
146   These are like the symbol versions, except they replace the symbols:
147     /  !  ^  ~  *
148   with literal keywords:
149     eof err lerr to from
150  -The following words have been promoted to keywords:
151     when eof err lerr to from
152  -The write statment now gets its own lexical scope in the scanner to ensure
153   that commands are passed through as is (not affected by keywords).
154  -Bug fix: in the code generation of fret in scanner actions the adjustment to
155   p that is needed in some cases (dependent on content of patterns) was not
156   happening.
157  -The fhold directive, which decrements p, cannot be permitted in the pattern
158   action of a scanner item because it will not behave consistently. At the end
159   of a pattern action p could be decremented, set to a new value or left
160   alone. This depends on the contents of the scanner's patterns. The user
161   cannot be expected to predict what will happen to p.
162  -Conditions in D code require a cast to the widec type when computing widec.
163  -Like Java, D code also needs if (true) branches for control flow in actions
164   in order to fool the unreachable code detector. This is now abstracted in
165   all code generators using the CTRL_FLOW() function.
166  -The NULL_ITEM value in java code should be -1. This is needed for
167   maintaining tokstart.
168
169 Ragel 5.14 - Oct 1, 2006
170 ========================
171  -Fixed the check for use of fcall in actions embedded within longest match
172   items. It was emitting an error if an item's longest-match action had an
173   fcall, which is allowed. This bug was introduced while fixing a segfault in
174   version 5.8.
175  -A new minimization option was added: MinimizeMostOps (-l). This option
176   minimizes at every operation except on chains of expressions and chains of
177   terms (eg, union and concat). On these chains it minimizes only at the last
178   operation. This makes test cases with many states compile faster, without
179   killing the performance on grammars like strings2.rl.
180  -The -l minimiziation option was made the default.
181  -Fixes to Java code: Use of the fc value did not work, now fixed. Static data
182   is now declared with the final keyword. Patch from Colin Fleming. Conditions
183   now work when generating Java code.
184  -The option -p was added to rlcodegen which causes printable characters to be
185   printed in GraphViz output. Patch from Colin Fleming.
186  -The "element" keyword no longer exists, removed from vim syntax file.
187   Updated keyword highlighting.
188  -The host language selection is now made in the frontend.
189  -Native host language types are now used when specifying the alphtype.
190   Previously all languages used the set defined by C, and these were mapped to
191   the appropriate type in the backend.
192
193 Ragel 5.13 - Sep 7, 2006
194 ========================
195  -Fixed a careless error which broke Java code generation.
196
197 Ragel 5.12 - Sep 7, 2006
198 ========================
199  -The -o flag did not work in combination with -V. This was fixed.
200  -The split code generation format uses only the required number of digits
201   when writing out the number in the file name of each part.
202  -The -T0, -F0 and -G0 codegens should write out the action list iteration
203   variables only when there are regular, to state or from state actions. The
204   code gens should not use anyActions().
205  -If two states have the same EOF actions, they are written out in the finish
206   routine as one case.
207  -The split and in-place goto formats would sometimes generate _out when it is
208   not needed. This was fixed.
209  -Improved the basic partitioning in the split code gen. The last partition
210   would sometimes be empty. This was fixed.
211  -Use of 'fcall *' was not causing top to be initialized. Fixed.
212  -Implemented a Java backend, specified with -J. Only the table-based format
213   is supported.
214  -Implemented range compression in the frontend. This has no effect on the
215   generated code, however it reduces the work of the backend and any programs
216   that read the intermediate format.
217
218 Ragel 5.11 - Aug 10, 2006
219 =========================
220  -Added a variable to the configure.in script which allows the building of
221   the parsers to be turned off (BUILD_PARSERS). Parser building is off by
222   default for released versions. 
223  -Removed configure tests for bison defines header file. Use --defines=file
224   instead. 
225  -Configure script doesn't test for bison, flex and gperf when building of the
226   parsers is turned off.
227  -Removed check for YYLTYPE structure from configure script. Since shipped
228   code will not build parsers by default, we don't need to be as accomodating
229   of other versions of bison. 
230  -Added a missing include that showed up with g++ 2.95.3.
231  -Failed configure test for Objective-C compiler is now silent.
232
233 Ragel 5.10 - Jul 31, 2006
234 =========================
235  -Moved the check for error state higher in the table-based processing loop.
236  -Replaced naive implementations of condition searching with proper ones. In
237   the table-based formats the searching is also table-based. In the directly
238   executed formats the searching is also directly executable.
239  -The minimization process was made aware of conditions.
240  -A problem with the condition implementation was fixed. Previously we were
241   taking pointers to transitions and then using them after a call to
242   outTransCopy, which was a bad idea because they may be changed by the call.
243  -Added test mailbox3.rl which is based on mailbox2.rl but includes conditions
244   for restricting header and message body lengths.  
245  -Eliminated the initial one-character backup of p just before resuming
246   execution.
247  -Added the -s option to the frontend for printing statistics. This currently
248   includes just the number of states. 
249  -Sped up the generation of the in-place goto-driven (-G2) code style.
250  -Implemented a split version of in-place goto-driven code style. This code
251   generation style is suitable for producing fast implementations of very
252   large machines. Partitioning is currently naive. In the future a
253   high-quality partitioning program will be employed. The flag for accessing
254   this feature is -Pn, where n is the number of partitions.
255  -Converted mailbox1.rl, strings2.rl and cppscan1.rl tests to support the
256   split code generation.
257  -Fixes and updates were made to the runtests script: added -c for compiling
258   only, changed the -me option to -e, and added support for testing the split
259   code style.
260  
261 Ragel 5.9 - Jul 19, 2006
262 ========================
263  -Fixed a bug in the include system which caused malformed output from the
264   frontend when the include was made from a multi-line machine spec and the
265   included file ended in a single line spec (or vice versa).
266  -Static data is now const.
267  -Actions which referenced states but were not embedded caused the frontend to
268   segfault, now fixed.
269  -Manual now built with pdflatex.
270  -The manual was reorganized and expanded. Chapter sequence is now:
271   Introduction, Constructing Machines, Embedding Actions, Controlling
272   Nondeterminism and Interfacing to the Host program.
273
274 Ragel 5.8 - Jun 17, 2006
275 ========================
276  -The internal representation of the alphabet type has been encapsulated
277   into a class and all operations on it have been defined as C++ operators.
278  -The condition implementation now supports range transitions. This allows
279   conditions to be embedded into arbitrary machines. Conditions are still
280   exprimental.
281  -More condition embedding operators were added
282    1. Isolate the start state and embed a condition into all transitions
283       leaving it:   
284       >when cond   OR   >?cond
285    2. Embed a condition into all transitions:
286       when cond    OR   $when cond   OR   $?cond
287    3. Embed a condition into pending out transitions:
288       %when cond   OR   %?cond
289  -Improvements were made to the determinization process to support pending out
290   conditions.
291  -The Vim sytax file was fixed so that :> doesn't cause the match of a label.
292  -The test suite was converted to a single-file format which uses less disk
293   space than the old directory-per-test format.
294  
295 Ragel 5.7 - May 14, 2006
296 ========================
297  -Conditions will not be embedded like actions because they involve a
298   manipulation of the state machine they are specified in. They have therefore
299   been taken out of the verbose action embedding form (using the <- compound
300   symbol). A new syntax for specifying conditions has been created: 
301   m = '\n' when {i==4};
302  -Fixed a bug which prevented state machine commands like fcurs, fcall, fret,
303   etc, from being accounted for in from-state actions and to-state actions.
304   This prevented some necessary support code from being generated.
305  -Implemented condition testing in remaining code generators.
306  -Configure script now checks for gperf, which is required for building.
307  -Added support for case-insensitive literal strings (in addition to regexes).
308   A case-insensitive string is made by appending an 'i' to the literal, as in
309   'cmd'i or "cmd"i.
310  -Fixed a bug which caused all or expressions inside of all regular
311   expressions to be case-insensitive. For example /[fo]o bar/ would make the
312   [fo] part case-insensitive even though no 'i' was given following the
313   regular expression.
314
315 Ragel 5.6 - Apr 1, 2006
316 =======================
317  -Added a left-guarded concatenation operator. This operator <: is equivalent
318   to ( expr1 $1 . expr2 >0 ). It is useful if you want to prefix a sequence
319   with a sequence of a subset of the characters it matches. For example, one
320   can consume leading whitespace before tokenizing a sequence of whitespace
321   separated words: ( ' '* <: ( ' '+ | [a-z]+ )** )
322  -Removed context embedding code, which has been dead since 5.0.
323   
324 Ragel 5.5 - Mar 28, 2006
325 ========================
326  -Implemented a case-insensitive option for regular expressions: /get/i.
327  -If no input file is given to the ragel program it reads from standard input.
328  -The label of the start state has been changed from START to IN to save on
329   required screen space.
330  -Bug fix: \0 was not working in literal strings, due to a change that reduced
331   memory usage by concatenating components of literal strings.  Token data
332   length is now passed from the scanner to the paser so that we do not need to
333   rely on null termination. 
334
335 Ragel 5.4 - Mar 12, 2006
336 ========================
337  -Eliminated the default transition from the frontend implementation. This
338   default transition was a space-saving optimization that at best could reduce
339   the number of allocated transitions by one half. Unfortunately it
340   complicated the implementation and this stood in the way of introducing
341   conditionals. The default transition may be reintroduced in the future.
342  -Added entry-guarded concatenation. This operator :>, is syntactic sugar
343   for expr1 $0 . expr >1. This operator terminates the matching of the first
344   machine when a first character of the second machine is matched. For
345   example in any* . ';' we never leave the any* machine. If we use any* :> ';'
346   then the any* machine is terminiated upon matching the semi-colon.
347  -Added finish-guarded concatenation. This operator :>>, is syntactic sugar
348   for expr1 $0 . expr @1. This operator is like entry guarded concatenation
349   except the first machine is terminated when the second machine enters a
350   final state. This is useful for delaying the guard until a full pattern is
351   matched. For example as in '/*' any* :>> '*/'.
352  -Added strong subtraction. Where regular subtraction removes from the first
353   machine any strings that are matched by the second machine, strong
354   subtraction removes any strings from the first that contain any strings of
355   the second as a substring. Strong subtraction is syntactic sugar for 
356   expr1 - ( any* expr2 any* ).
357  -Eliminated the use of priorities from the examples. Replaced with
358   subtraction, guarded concatenation and longest-match kleene star.
359  -Did some initial work on supporting conditional transitions. Far from
360   complete and very buggy. This code will only be active when conditionals are
361   used.
362
363 Ragel 5.3 - Jan 27, 2006
364 ========================
365  -Added missing semi-colons that cause the build to fail when using older
366   versions of Bison.
367  -Fix for D code: if the contents of an fexec is a single word, the generated
368   code will get interpreted as a C-style cast. Adding two brackets prevents
369   this. Can now turn eliminate the "access this.;" in cppscan5 that was used to
370   get around this problem.
371  -Improved some of the tag names in the intermediate format.
372  -Added unsigned long to the list of supported alphabet types.
373  -Added ids of actions and action lists to XML intermediate format. Makes it
374   more human readable.
375  -Updated to latest Aapl package.
376
377 Ragel 5.2 - Jan 6, 2006
378 ========================
379  -Ragel emits an error if the target of fentry, fcall, fgoto or fnext is inside
380   a longest match operator, or if an action embedding in a longest match
381   machine uses fcall. The fcall command can still be used in pattern actions.
382  -Made improvements to the clang, rlscan, awkemu and cppscan examples.
383  -Some fixes to generated label names: they should all be prefixed with _.
384  -A fix to the Vim syntax highlighting script was made
385  -Many fixes and updates to the documentation. All important features and
386   concepts are now documented. A second chapter describing Ragel's use
387   was added.
388  
389 Ragel 5.1 - Dec 22, 2005
390 ========================
391  -Fixes to the matching of section delimiters in Vim syntax file.
392  -If there is a longest match machine, the tokend var is now initialized by
393   write init. This is not necessary for correct functionality, however
394   prevents compiler warnings.
395  -The rlscan example was ported to the longest match operator and changed to
396   emit XML data.
397  -Fix to the error handling in the frontend: if there are errors in the lookup
398   of names at machine generation time then do not emit anything.
399  -If not compiling the full machine in the frontend (by using -M), avoid
400   errors and segfaults caused by names that are not part of the compiled
401   machine.
402  -Longest match bug fix: need to init tokstart when returing from fsm calls
403   that are inside longest match actions.
404  -In Graphviz drawing, the arrow into the start state is not a real
405   transition, do not draw to-state actions on the label.
406  -A bug fix to the handling of non-tag data within an XML tag was made.
407  -Backend exit value fixed: since the parser now accepts nothing so as to
408   avoid a redundant parse error when the frontend dies, we must force an
409   error. The backend should now be properly reporting errors.
410  -The longest match machine now has it's start state set final. An LM machine
411   is in a final state when it has not matched anything, when it has matched
412   and accepted a token and is ready for another, and when it has matched a
413   token but is waiting for some lookahead before determining what to do about
414   it (similar to kleene star).
415  -Element statement removed from some tests.
416  -Entry point names are propagated to the backend and used to label the entry
417   point arrows in Graphviz output.
418
419 Ragel 5.0 - Dec 17, 2005
420 ========================
421  (additional details in V5 release notes)
422  -Ragel has been split into two executables: A frontend which compiles
423   machines and emits them in an XML format, and a backend which generates code
424   or a Graphviz dot file from the XML input. The purpose of this split is to
425   allow Ragel to interface with other tools by means of the XML intermediate
426   format and to reduce complexity by strictly separating the previously
427   entangled phases. The intermediate format will provide a better platform
428   inspecting compiled machines and for extending Ragel to support other host
429   languages.
430  -The host language interface has been reduced significantly. Ragel no longer
431   expects the machine to be implemented as a structure or class and does not
432   generate functions corresponding to initialization, execution and EOF.
433   Instead, Ragel just generates the code of these components, allowing all of
434   them to be placed in a single function if desired. The user specifies a
435   machine in the usual manner, then indicates at which place in the program
436   text the state machine code is to be generated. This is done using the write
437   statement. It is possible to specify to Ragel how it should access the
438   variables it needs (such as the current state) using the access statement.
439  -The host language embedding delimiters have been changed. Single line
440   machines start with '%%' and end at newline. Multiline machines start with
441   '%%{' and end with '}%%'. The machine name is given with the machine
442   statement at the very beginning of the specification. This purpose of this
443   change is to make it easier separate Ragel code from the host language. This
444   will ease the addition of supported host languages.
445  -The structure and class parsing which was previously able to extract a
446   machine's name has been removed since this feature is dependent on the host
447   language and inhibits the move towards a more language-independent frontend.
448  -The init, element and interface statements have been made obsolete by the
449   new host language interface and have been removed.
450  -The fexec action statement has been changed to take only the new position to
451   move to. This statement is more useful for moving backwards and reparsing
452   input than for specifying a whole new buffer entirely and has been shifted
453   to this new use. Giving it only one argument also simplifies the parsing of
454   host code embedded in a Ragel specification. This will ease the addition of
455   supported host languages.
456  -Introduced the fbreak statement, which allows one to stop processing data
457   immediately. The machine ends up in the state that the current transition
458   was to go to. The current character is not changed.
459  -Introduced the noend option for writing the execute code. This inhibits
460   checking if we have reached pe. The machine will run until it goes into the
461   error state or fbreak is hit. This allows one to parse null-terminate
462   strings without first computing the length.
463  -The execute code now breaks out of the processing loop when it moves into
464   the error state. Previously it would run until pe was hit. Breaking out
465   makes the noend option useful when an error is encountered and allows
466   user code to determine where in the input the error occured. It also
467   eliminates needlessly iterating the input buffer.
468  -Introduced the noerror, nofinal and noprefix options for writing the machine
469   data. The first two inhibit the writing of the error state and the
470   first-final state should they not be needed. The noprefix eliminates the
471   prefixing of the data items with the machine name.
472  -Support for the D language has been added. This is specified in the backend
473   with the -D switch.
474  -Since the new host language interface has been reduced considerably, Ragel
475   no longer needs to distinguish between C-based languages. Support for C, C++
476   and Objective-C has been folded into one option in the backend: -C
477  -The code generator has been made independent of the languages that it
478   supports by pushing the language dependent apsects down into the lower
479   levels of the code generator.
480  -Many improvements to the longest match construction were made. It is no
481   longer considered experimental. A longest match machine must appear at the
482   top level of a machine instantiation. Since it does not generate a pure
483   state machine (it may need to backtrack), it cannot be used as an operand to
484   other operators.
485  -References to the current character and current state are now completely
486   banned in EOF actions.
487
488 Ragel 4.2 - Sep 16, 2005
489 ========================
490  (additional details in V4 release notes)
491  -Fixed a bug in the longest match operator. In some states it's possible that
492   we either match a token or match nothing at all. In these states we need to
493   consult the LmSwitch on error so it must be prepared to execute an error
494   handler. We therefore need to init act to this error value (which is zero).
495   We can compute if we need to do this and the code generator emits the
496   initialization only if necessary. 
497  -Changed the definition of the token end of longest match actions. It now
498   points to one past the last token. This makes computing the token length
499   easier because you don't have to add one. The longest match variables token
500   start, action identifier and token end are now properly initialized in
501   generated code. They don't need to be initialized in the user's code.
502  -Implemented to-state and from-state actions. These actions are executed on
503   transitions into the state (after the in transition's actions) and on
504   transitions out of the state (before the out transition's actions). See V4
505   release notes for more information.
506  -Since there are no longer any action embedding operators that embed both on
507   transitions and on EOF, any actions that exist in both places will be there
508   because the user has explicitly done so. Presuming this case is rare, and
509   with code duplication in the hands of the user, we therefore give the EOF
510   actions their own action switch in the finish() function. This is further
511   motivated by the fact that the best solution is to do the same for to-state
512   and from-state actions in the main loop.
513  -Longest match actions can now be specified using a named action. Since a
514   word following a longest match item conflicts with the concatenation of a
515   named machine, the => symbol must come immediately before a named action.
516  -The longest match operator permits action and machine definitions in the
517   middle of a longest match construction. These are parsed as if they came
518   before the machine definition they are contained in. Permitting action and
519   machine definitions in a longest match construction allows objects to be
520   defined closer to their use.
521  -The longest match operator can now handle longest match items with no
522   action, where previously Ragel segfaulted.
523  -Updated to Aapl post 2.12.
524  -Fixed a bug in epsilon transition name lookups. After doing a name lookup
525   the result was stored in the parse tree. This is wrong because if a machine
526   is used more than once, each time it may resolve to different targets,
527   however it will be stored in the same place. We now store name resolutions
528   in a separated data structure so that each walk of a parse tree uses the
529   name resolved during the corresponding walk in the name lookup pass.
530  -The operators used to embed context and actions into states have been
531   modified. The V4 release notes contain the full details.
532  -Added zlen builtin machine to represent the zero length machine. Eventually
533   the name "null" will be phased out in favour of zlen because it is unclear
534   whether null matches the zero length string or if it does not match any
535   string at all (as does the empty builtin).
536  -Added verbose versions of action, context and priority embedding. See the V4
537   release notes for the full details. A small example: 
538       machine <- all exec { foo(); } <- final eof act1
539  -Bugfix for machines with epsilon ops, but no join operations. I had 
540   wrongfully assumed that because epsilon ops can only increase connectivity,
541   that no states are ever merged and therefore a call to fillInStates() is not
542   necessary. In reality, epsilon transitions within one machine can induce the
543   merging of states. In the following, state 2 follows two paths on 'i':
544       main := 'h' -> i 'i h' i: 'i';
545  -Changed the license of the guide from a custom "do not propagate modified
546   versions of this document" license to the GPL.
547
548 Ragel 4.1 - Jun 26, 2005
549 ========================
550  (additional details in V4 release notes)
551  -A bug in include processing was fixed. Surrounding code in an include file
552   was being passed through to the output when it should be ignored. Includes
553   are only for including portions of another machine into he current. This
554   went unnoticed because all tested includes were wrapped in #ifndef ...
555   #endif directives and so did not affect the compilation of the file making
556   the include.
557  -Fixes were made to Vim syntax highlighting file.
558  -Duplicate actions are now removed from action lists.
559  -The character-level negation operator ^ was added. This operator produces a
560   machine that matches single characters that are not matched by the machine
561   it is applied to. This unary prefix operator has the same precedence level
562   as !.
563  -The use of + to specify the a positive literal number was discontinued.
564  -The parser now assigns the subtraction operator a higher precedence than
565   the negation of literal number.
566   
567 Ragel 4.0 - May 26, 2005
568 ========================
569  (additional details in V4 release notes)
570  -Operators now strictly embed into a machine either on a specific class of
571   characters or on EOF, but never both. This gives a cleaner association
572   between the operators and the physical state machine entitites they operate
573   on. This change is made up of several parts:
574   1. '%' operator embeds only into leaving characters.
575   2. All global and local error operators only embed on error character
576      transitions, their action will not be triggerend on EOF in non-final
577      states.
578   3. EOF action embedding operators have been added for all classes of states
579      to make up for functionality removed from other operators. These are 
580      >/ $/ @/ %/.
581   4. Start transition operator '>' no longer implicitly embeds into leaving
582      transtions when start state is final.
583  -Ragel now emits warnings about the improper use of statements and values in
584   action code that is embedded as an EOF action. Warnings are emitted for fpc,
585   fc, fexec, fbuf and fblen.
586  -Added a longest match construction operator |* machine opt-action; ... *|.
587   This is for repetition where an ability to revert to a shorter, previously
588   matched item is required. This is the same behaviour as flex and re2c. The
589   longest match operator is not a pure FSM construction, it introduces
590   transitions that implicitly hold the current character or reset execution to
591   a previous location in the input. Use of this operator requires the caller
592   of the machine to occasionally hold onto data after a call to the exectute
593   routine. Use of machines generated with this operator as the input to other
594   operators may have undefined results. See examples/cppscan for an example.
595   This is very experimental code.
596  -Action ids are only assigned to actions that are referenced in the final
597   constructed machine, preventing gaps in the action id sequence. Previously
598   an action id was assigned if the action was referenced during parsing.
599  -Machine specifications now begin with %% and are followed with an optional
600   name and either a single Ragel statement or a sequence of statements
601   enclosed in {}.
602  -Ragel no longer generates the FSM's structure or class. It is up to the user
603   to declare the structure and to give it a variable named curs of type
604   integer. If the machine uses the call stack the user must also declare a
605   array of integers named stack and an integer variable named top.
606  -In the case of Objective-C, Ragel no longer generates the interface or
607   implementation directives, allowing the user to declare additional methods.
608  -If a machine specification does not have a name then Ragel tries to find a
609   name for it by first checking if the specification is inside a struct, class
610   or interface. If it is not then it uses the name of the previous machine
611   specification. If still no name is found then this is an error.
612  -Fsm specifications now persist in memory and statements accumulate.
613  -Ragel now has an include statement for including the statements of a machine
614   spec in another file (perhaps because it is the corresponding header file).
615   The include statement can also be used to draw in the statements of another
616   fsm spec in the current file.
617  -The fstack statement is now obsolete and has been removed.
618  -A new statement, simply 'interface;', indicates that ragel should generate
619   the machine's interface. If Ragel sees the main machine it generates the
620   code sections of the machine. Previously, the header portion was generated
621   if the (now removed) struct statement was found and code was generated if
622   any machine definition was found.
623  -Fixed a bug in the resolution of fsm name references in actions. The name
624   resolution code did not recurse into inline code items with children
625   (fgoto*, fcall*, fnext*, and fexec), causing a segfault at code generation
626   time.
627  -Cleaned up the code generators. FsmCodeGen was made into a virtual base
628   class allowing for the language/output-style specific classes to inherit
629   both a language specific and style-specific base class while retaining only
630   one copy of FsmCodeGen. Language specific output can now be moved into the
631   language specific code generators, requiring less duplication of code in the
632   language/output-style specific leaf classes.
633  -Fixed bugs in fcall* implementation of IpgGoto code generation.
634  -If the element type has not been defined Ragel now uses a constant version
635   of the alphtype, not the exact alphtype. In most cases the data pointer of
636   the execute routine should be const. A non-const element type can still be
637   defined with the element statement.
638  -The fc special value now uses getkey for retrieving the current char rather
639   than *_p, which is wrong if the element type is a structure.
640  -User guide converted to TeX and updated for new 4.0 syntax and semantics.
641
642 Ragel 3.7 - Oct 31, 2004
643 ========================
644  -Bug fix: unreferenced machine instantiations causing segfault due to name
645   tree and parse tree walk becomming out of syncronization.
646  -Rewrote representation of inline code blocks using a tree data structure.
647   This allows special keywords such as fbuf to be used as the operatands of
648   other fsm commands.
649  -Documentation updates.
650  -When deciding whether or not to generate machine instantiations, search the
651   entire name tree beneath the instantiation for references, not just the
652   root.
653  -Removed stray ';' in keller2.rl
654  -Added fexec for restarting the machine with new buffer data (state stays the
655   same), fbuf for retrieving the the start of the buf, and fblen for
656   retrieving the orig buffer length.
657  -Implemented test/cppscan2 using fexec. This allows token emitting and restart
658   to stay inside the execute routine, instead of leaving and re-entering on
659   every token.
660  -Changed examples/cppscan to use fexec and thereby go much faster.
661  -Implemented flex and re2c versions of examples/cppscan. Ragel version
662   goes faster than flex version but not as fast as re2c version.
663  -Merged in Objective-C patch from Erich Ocean.
664  -Turned off syncing with stdio in C++ tests to make them go faster.
665  -Renamed C++ code generaion classes with the Cpp Prefix instead of CC to make
666   them easier to read.
667  -In the finish function emit fbuf as 0 cast to a pointer to the element type
668   so it's type is not interpreted as an integer.
669  -The number -128 underflows char alphabets on some architectures. Removed
670   uses of it in tests.
671  -Disabled the keller2 test because it causes problems on many architectures
672   due to its large size and compilation requirements.
673
674 Ragel 3.6 - Jul 10, 2004
675 ========================
676  -Many documentation updates.
677  -When resolving names, return a set of values so that a reference in an
678   action block that is embedded more than once won't report distinct entry
679   points that are actually the same.
680  -Implemented flat tables. Stores a linear array of indicies into the
681   transition array and only a low and high key value. Faster than binary
682   searching for keys but not usable for large alphabets.
683  -Fixed bug in deleting of transitions leftover from converstion from bst to
684   list implementation of transitions. Other code cleanup.
685  -In table based output calculate the cost of using an index. Don't use if
686   cheaper. 
687  -Changed fstate() value available in init and action code to to fentry() to
688   reflect the fact that the values returned are intended to be used as targets
689   in fgoto, fnext and fcall statements. The returned state is not a unique
690   state representing the label. There can be any number of states representing
691   a label.
692  -Added keller2 test, C++ scanning tests and C++ scanning example.
693  -In table based output split up transitions into targets and actions. This
694   allows actions to be omitted.
695  -Broke the components of the state array into separate arrays. Requires
696   adding some fields where they could previously be omitted, however allows
697   finer grained control over the sizes of items and an overal size reduction.
698   Also means that state numbers are not an offset into the state array but
699   instead a sequence of numbers, meaning the context array does not have any
700   wasted bits.
701  -Action lists and transition also have their types chosen to be the smallest
702   possible for accomodating the contained values.
703  -Changed curs state stored in fsm struct from _cs to curs. Keep fsm->curs ==
704   -1 while in machine. Added tests curs1 and curs2.
705  -Implemented the notion of context. Context can be embedded in states using
706   >:, $:, @: and %: operators. These embed a named context into start states,
707   all states, non-start/non-final and final states. If the context is declared
708   using a context statment
709     context name;
710   then the context can be quered for any state using fsm_name_ctx_name(state)
711   in C code and fsm_name::ctx_name(state) in C++ code. This feature makes it
712   possible to determine what "part" of the machine is currently active.
713  -Fixed crash on machine generation of graphs with no final state. If there
714   is no reference to a final state in a join operation, don't generate one. 
715  -Updated Vim sytax: added labels to inline code, added various C++ keywords.
716   Don't highlight name separations as labels. Added switch labels, improved
717   alphtype, element and getkey.
718  -Fixed line info in error reporting of bad epsilon trans. 
719  -Fixed fstate() for tab code gen.
720  -Removed references to malloc.h.
721
722 Ragel 3.5 - May 29, 2004
723 ========================
724  -When parse errors occur, the partially generated output file is deleted and
725   an non-zero exit status is returned.
726  -Updated Vim syntax file.
727  -Implemented the setting of the element type that is passed to the execute
728   routine as well as method for specifying how ragel should retrive the key
729   from the element type. This lets ragel process arbitrary structures inside
730   of which is the key that is parsed.
731       element struct Element;
732       getkey fpc->character;
733  -The current state is now implemented with an int across all machines. This
734   simplifies working with current state variables. For example this allows a
735   call stack to be implemented in user code.
736  -Implemented a method for retrieving the current state, the target state, and
737   any named states. 
738       fcurs           -retrieve the current state
739       ftargs          -retrieve the target state
740       fstate(name)    -retrieve a named state.
741  -Implemented a mechanism for jumping to and calling to a state stored in a
742   variable.
743       fgoto *<expr>;  -goto the state returned by the C/C++ expression.
744       fcall *<expr>;  -call the state returned by the C/C++ expression.
745  -Implemented a mechanism for specifying the next state without immediately
746   transfering control there (any code following statement is executed).
747       fnext label;    -set the state pointed to by label as the next state.
748       fnext *<expr>;  -set the state returned by the C/C++ expression as the
749                        next.
750  -Action references are determined from the final machine instead of during
751   the parse tree walk. Some actions can be referenced in the parse tree but not
752   show up in the final machine. Machine analysis is now done based on this new
753   computation.
754  -Named state lookup now employs a breadth-first search in the lookup and
755   allows the user to fully qualify names, making it possible to specify
756   jumps/calls into parts of the machine deep in the name hierarchy. Each part
757   of name (separated by ::) employs a breadth first search from it's starting
758   point.
759  -Name references now must always refer to a single state. Since references to
760   multiple states is not normally intended, it no longer happens
761   automatically. This frees the programmer from thinking about whether or not
762   a state reference is unique. It also avoids the added complexity of
763   determining when to merge the targets of multiple references. The effect of
764   references to multiple states can be explicitly created using the join
765   operator and epsilon transitions.
766  -M option was split into -S and -M. -S specifies the machine spec to generate
767   for graphviz output and dumping. -M specifies the machine definition or
768   instantiation.
769  -Machine function parameters are now prefixed with and underscore to
770   avoid the hiding of class members.
771
772 Ragel 3.4 - May 8, 2004
773 =======================
774  -Added the longest match kleene star operator **, which is synonymous 
775   with ( ( <machine> ) $0 %1 ) *.
776  -Epsilon operators distinguish between leaving transitions (going to an
777   another expression in a comma separated list) and non-leaving transitions.
778   Leaving actions and priorities are appropriately transferred.
779  -Relative priority of following ops changed to:
780       1. Action/Priority 
781       2. Epsilon 
782       3. Label
783   If label is done first then the isolation of the start state in > operators
784   will cause the label to point to the old start state that doesn't have the
785   new action/priority.
786  -Merged >! and >~, @! and @~, %! and %~, and $! and $~ operators to have one
787   set of global error action operators (>!, @!, %! and $!) that are invoked on
788   error by unexpected characters as well as by unexepected EOF.
789  -Added the fpc keyword for use in action code. This is a pointer to the
790   current character. *fpc == fc. If an action is invoked on EOF then fpc == 0.
791  -Added >^, @^, %^, and $^ local error operators. Global error operators (>!,
792   @!, $!, and %!) cause actions to be invoked if the final machine fails.
793   Local error actions cause actions to be invoked if if the current machine
794   fails.
795  -Changed error operators to mean embed global/local error actions in:
796      >! and !^  -the start state.
797      @! and @^  -states that are not the start state and are not final.
798      %! and %^  -final states.
799      $! and $^  -all states.
800  -Added >@! which is synonymous >! then @!
801  -Added >@^ which is synonymous >^ then @^
802  -Added @%! which is synonymous @! then %!
803  -Added @%^ which is synonymous >^ then @^
804  -FsmGraph representation of transition lists was changed from a mapping of
805   alphabet key -> transition objects using a BST to simply a list of
806   transition objects. Since the transitions are no longer divided by
807   single/range, the fast finding of transition objects by key is no longer
808   required functionality and can be eliminated. This new implementation uses
809   the same amount of memory however causes less allocations. It also make more
810   sense for supporting error transitions with actions. Previously an error
811   transition was represented by a null value in the BST.
812  -Regular expression ranges are checked to ensure that lower <= upper.
813  -Added printf-like example.
814  -Added atoi2, erract2, and gotcallret to the test suite.
815  -Improved build test to support make -jN and simplified the compiling and
816   running of tests.
817
818 Ragel 3.3 - Mar 7, 2004
819 =======================
820  -Portability bug fixes were made. Minimum and maximum integer values are
821   now taken from the system. An alignment problem on 64bit systems
822   was fixed.
823
824 Ragel 3.2 - Feb 28, 2004
825 ========================
826  -Added a Vim syntax file.
827  -Eliminated length var from generated execute code in favour of an end
828   pointer. Using length requires two variables be read and written. Using an
829   end pointer requires one variable read and written and one read. Results in
830   more optimizable code.
831  -Minimization is now on by default.
832  -States are ordered in output by depth first search.
833  -Bug in minimization fixed. States were not being distinguished based on
834   error actions. 
835  -Added null and empty builtin machines.
836  -Added EOF error action operators. These are >~, >@, $~, and %~. EOF error
837   operators embed actions to take if the EOF is seen and interpreted as an
838   error. The operators correspond to the following states:
839     -the start state
840     -any state with a transition to a final state
841     -any state with a transiion out
842     -a final state
843  -Fixed bug in generation of unreference machine vars using -M. Unreferenced
844   vars don't have a name tree built underneath when starting from
845   instantiations. Need to instead build the name tree starting at the var.
846  -Calls, returns, holds and references to fc in out action code are now
847   handled for ipgoto output.
848  -Only actions referenced by an instantiated machine expression are put into
849   the action index and written out.
850  -Added rlscan, an example that lexes Ragel input.
851
852 Ragel 3.1 - Feb 18, 2004
853 ========================
854  -Duplicates in OR literals are removed and no longer cause an assertion
855   failure.
856  -Duplicate entry points used in goto and call statements are made into
857   deterministic entry points.
858  -Base FsmGraph code moved from aapl into ragel, as an increasing amount
859   of specialization is required. Too much time was spent attempting to
860   keep it as a general purpose template.
861  -FsmGraph code de-templatized and heirarchy squashed to a single class.
862  -Single transitions taken out of FsmGraph code. In the machine construction
863   stage, transitions are now implemented only with ranges and default
864   transtions. This reduces memory consumption, simplifies code and prevents
865   covered transitions. However it requires the automated selection of single
866   transitions to keep goto-driven code lean.
867  -Machine reduction completely rewritten to be in-place. As duplicate
868   transitions and actions are found and the machine is converted to a format
869   suitable for writing as C code or as GraphViz input, the memory allocated
870   for states and transitions is reused, instead of newly allocated.
871  -New reduction code consolodates ranges, selects a default transition, and
872   selects single transitions with the goal of joining ranges that are split by
873   any number of single characters.
874  -Line directive changed from "# <num> <file>" to the more common format
875   "#line <num> <file>".
876  -Operator :! changed to @!. This should have happened in last release.
877  -Added params example.
878
879 Ragel 3.0 - Jan 22, 2004
880 ========================
881  -Ragel now parses the contents of struct statements and action code. 
882  -The keyword fc replaces the use of *p to reference the current character in
883   action code.
884  -Machine instantiations other than main are allowed.
885  -Call, jump and return statements are now available in action code. This
886   facility makes it possible to jump to an error handling machine, call a
887   sub-machine for parsing a field or to follow paths through a machine as
888   determined by arbitrary C code.
889  -Added labels to the language. Labels can be used anywhere in a machine
890   expression to define an entry point. Also references to machine definitions
891   cause the implicit creation of a label.
892  -Added epsilon transitions to the language. Epsilon operators may reference
893   labels in the current name scope resolved when join operators are evaluated
894   and at the root of the expression tree of machine assignment/instantiation.
895  -Added the comma operator, which joins machines together without drawing any
896   transitions between them. This operator is useful in combination with
897   labels, the epsilon operator and user code transitions for defining machines
898   using the named state and transition list paradigm. It is also useful for
899   invoking transitions based on some analysis of the input or on the
900   environment.
901  -Added >!, :!, $!, %! operators for specifying actions to take should the
902   machine fail. These operators embed actions to execute if the machine
903   fails in
904     -the start state
905     -any state with a transition to a final state
906     -any state with a transiion out
907     -a final state
908   The general rule is that if an action embedding operator embeds an action
909   into a set of transitions T, then the error-counterpart with a !  embeds an
910   action into the error transition taken when any transition T is a candidate,
911   but does not match the input.
912  -The finishing augmentation operator ':' has been changed to '@'. This
913   frees the ':' symbol for machine labels and avoids hacks to the parser to
914   allow the use of ':' for both labels and finishing augmentations. The best
915   hack required that label names be distinct from machine definition names as
916   in main := word : word; This restriction is not good because labels are
917   local to the machine that they are used in whereas machine names are global
918   entities. Label name choices should not be restricted by the set of names
919   that are in use for machines.
920  -Named priority syntax now requires parenthesis surrounding the name and
921   value pair. This avoids grammar ambiguities now that the ',' operator has
922   been introduced and makes it more clear that the name and value are an
923   asscociated pair.
924  -Backslashes are escaped in line directive paths.
925
926 Ragel 2.2 - Oct 6, 2003
927 =======================
928  -Added {n}, {,n}, {n,} {n,m} repetition operators.
929     <expr> {n}    -- exactly n repetitions
930     <expr> {,n}   -- zero to n repetitions
931     <expr> {n,}   -- n or more repetitions
932     <expr> {n,m}  -- n to m repetitions
933  -Bug in binary search table in Aapl fixed. Fixes crashing on machines that
934   add to action tables that are implicitly shared among transitions.
935  -Tests using obsolete minimization algorithms are no longer built and run by
936   default.
937  -Added atoi and concurrent from examples to the test suite.
938
939 Ragel 2.1 - Sep 22, 2003
940 ========================
941  -Bug in priority comparison code fixed. Segfaulted on some input with many
942   embedded priorities.
943  -Added two new examples.
944
945 Ragel 2.0 - Sep 7, 2003
946 =======================
947  -Optional (?), One or More (+) and Kleene Star (*) operators changed from
948   prefix to postfix. Rationale is that postfix version is far more common in
949   regular expression implementations and will be more readily understood.
950  -All priority values attached to transitions are now accompanied by a name.
951   Transitions no longer have default priority values of zero assigned
952   to them. Only transitions that have different priority values assigned
953   to the same name influence the NFA-DFA conversion. This scheme reduces
954   side-effects of priorities.
955  -Removed the %! statement for unsetting pending out priorities. With
956   named priorities, it is not necessary to clear the priorities of a
957   machine with $0 %! because non-colliding names can be used to avoid
958   side-effects.
959  -Removed the clear keyword, which was for removing actions from a machine.
960   Not required functionality and it is non-intuitive to have a language
961   feature that undoes previous definitions.
962  -Removed the ^ modifier to repetition and concatenation operators. This
963   undocumented feature prevented out transitions and out priorities from being
964   transfered from final states to transitions leaving machines. Not required
965   functionality and complicates the language unnecessarily.
966  -Keyword 'func' changed to 'action' as a part of the phasing out of the term
967   'function' in favour of 'action'. Rationale is that the term 'function'
968   implies that the code is called like a C function, which is not necessarily
969   the case. The term 'action' is far more common in state machine compiler
970   implementations.
971  -Added the instantiation statement, which looks like a standard variable
972   assignment except := is used instead of =. Instantiations go into the
973   same graph dictionary as definitions. In the the future, instantiations
974   will be used as the target for gotos and calls in action code.
975  -The main graph should now be explicitly instantiated. If it is not,
976   a warning is issued.
977  -Or literal basic machines ([] outside of regular expressions) now support
978   negation and ranges. 
979  -C and C++ interfaces lowercased. In the C interface an underscore now
980   separates the fsm machine and the function name. Rationale is that lowercased
981   library and generated routines are more common.
982     C output:
983       int fsm_init( struct clang *fsm );
984       int fsm_execute( struct clang *fsm, char *data, int dlen );
985       int fsm_finish( struct clang *fsm );
986     C++ output:
987       int fsm::init( );
988       int fsm::execute( char *data, int dlen );
989       int fsm::finish( );
990  -Init, execute and finish all return -1 if the machine is in the error state
991   and can never accept, 0 if the machine is in a non-accepting state that has a
992   path to a final state and 1 if the machine is in an accepting state.
993  -Accept routine eliminated. Determining whether or not the machine accepts is
994   done by examining the return value of the finish routine.
995  -In C output, fsm structure is no longer a typedef, so referencing requires
996   the struct keyword. This is to stay in line with C language conventions.
997  -In C++ output, constructor is no longer written by ragel. As a consequence,
998   init routine is not called automatically. Allows constructor to be supplied
999   by user as well as the return value of init to be examined without calling it
1000   twice.
1001  -Static start state and private structures are taken out of C++ classes.
1002
1003 Ragel 1.5.4 - Jul 14, 2003
1004 ==========================
1005  -Workaround for building with bison 1.875, which produces an
1006   optimization that doesn't build with newer version gcc.
1007
1008 Ragel 1.5.3 - Jul 10, 2003
1009 ==========================
1010  -Fixed building with versions of flex that recognize YY_NO_UNPUT.
1011  -Fixed version numbers in ragel.spec file.
1012
1013 Ragel 1.5.2 - Jul 7, 2003
1014 =========================
1015  -Transition actions and out actions displayed in the graphviz output.
1016  -Transitions on negative numbers handled in graphviz output.
1017  -Warning generated when using bison 1.875 now squashed.
1018  
1019 Ragel 1.5.1 - Jun 21, 2003
1020 ==========================
1021  -Bugs fixed: Don't delete the output objects when writing to standard out.
1022   Copy mem into parser buffer with memcpy, not strcpy. Fixes buffer mem errror.
1023  -Fixes for compiling with Sun WorkShop 6 compilers.
1024
1025 Ragel 1.5.0 - Jun 10, 2003
1026 ==========================
1027  -Line directives written to the output so that errors in the action code
1028   are properly reported in the ragel input file.
1029  -Simple graphviz dot file output format is supported. Shows states and
1030   transitions. Does not yet show actions.
1031  -Options -p and -f dropped in favour of -d output format.
1032  -Added option -M for specifying the machine to dump with -d or the graph to
1033   generate with -V.
1034  -Error recovery implemented.
1035  -Proper line and column number tracking implemented in the scanner.
1036  -All action/function code is now embedded in the main Execute routine. Avoids
1037   duplication of action code in the Finish routine and the need to call
1038   ExecFuncs which resulted in huge code bloat. Will also allow actions to
1039   modify cs when fsm goto, call and return is supported in action code.
1040  -Fsm spec can have no statements, nothing will be generated.
1041  -Bug fix: Don't accept ] as the opening of a .-. range a reg exp.
1042  -Regular expression or set ranges (ie /[0-9]/) are now handled by the parser
1043   and consequently must be well-formed. The following now generates a parser
1044   error: /[+-]/ and must be rewritten as /[+\-]/. Also fixes a bug whereby ]
1045   might be accepted as the opening of a .-. range causing /[0-9]-[0-9]/ to
1046   parse incorrectly.
1047  -\v, \f, and \r are now treated as whitespace in an fsm spec.
1048
1049 Ragel 1.4.1 - Nov 19, 2002
1050 ==========================
1051  -Compile fixes. The last release (integer alphabets) was so exciting
1052   that usual portability checks got bypassed.
1053
1054 Ragel 1.4.0 - Nov 19, 2002
1055 ==========================
1056  -Arbitrary integer alphabets are now fully supported! A new language
1057   construct:
1058   'alphtype <type>' added for specifying the type of the alphabet. Default
1059   is 'char'. Possible alphabet types are:
1060        char, unsigned char, short, unsigned short, int, unsigned int
1061  -Literal machines specified in decimal format can now be negative when the
1062   alphabet is a signed type.
1063  -Literal machines (strings, decimal and hex) have their values checked for
1064   overflow/underflow against the size of the alphabet type.
1065  -Table driven and goto driven output redesigned to support ranges. Table
1066   driven uses a binary search for locating single characters and ranges. Goto
1067   driven uses a switch statement for single characters and nested if blocks for
1068   ranges.
1069  -Switch driven output removed due to a lack of consistent advantages. Most of
1070   the time the switch driven FSM is of no use because the goto FSM makes
1071   smaller and faster code. Under certain circumstances it can produce smaller
1072   code than a goto driven fsm and be almost as fast, but some sporadic case
1073   does not warrant maintaining it.
1074  -Many warnings changed to errors.
1075  -Added option -p for printing the final fsm before minimization. This lets
1076   priorities be seen. Priorties are all reset to 0 before minimization. The
1077   exiting option -f prints the final fsm after minimization.
1078  -Fixed a bug in the clang test and example that resulted in redundant actions
1079   being executed.
1080
1081 Ragel 1.3.4 - Nov 6, 2002
1082 =========================
1083  -Fixes to Chapter 1 of the guide.
1084  -Brought back the examples and made them current.
1085  -MSVC is no longer supported for compiling windows binaries because its
1086   support for the C++ standard is frustratingly inadequate, it will cost money
1087   to upgrade if it ever gets better, and MinGW is a much better alternative.
1088  -The build system now supports the --host= option for building ragel
1089   for another system (used for cross compiling a windows binary with MinGW).
1090  -Various design changes and fixes towards the goal of arbitrary integer
1091   alphabets and the handling of larger state machines were made.
1092  -The new shared vector class is now used for action lists in transitions and
1093   states to reduce memory allocations.
1094  -An avl tree is now used for the reduction of transitions and functions of an
1095   fsm graph before making the final machine. The tree allows better scalability
1096   and performance by not requiring consecutively larger heap allocations.
1097  -Final stages in the separation of fsm graph code from action embedding and
1098   priority assignment is complete. Makes the base graph leaner and easier to reuse
1099   in other projects (like Keller).
1100
1101 Ragel 1.3.3 - Oct 22, 2002
1102 ==========================
1103  -More diagrams were added to section 1.7.1 of the user guide.
1104  -FSM Graph code was reworked to spearate the regex/nfa/minimizaion graph
1105   algorithms from the manipulation of state and transition properties.
1106  -An rpm spec file from Cris Bailiff was added. This allows an rpm for ragel
1107   to be built with the command 'rpm -ta ragel-x.x.x.tar.gz'
1108  -Fixes to the build system and corresponding doc updates in the README.
1109  -Removed autil and included the one needed source file directly in the top
1110   level ragel directory.
1111  -Fixed a bug that nullified the 20 times speedup in large compilations
1112   claimed by the last version.
1113  -Removed awk from the doc build (it was added with the last release -- though
1114   not mentioned in the changelog).
1115  -Install of man page was moved to the doc dir. The install also installs the
1116   user guide to $(PREFIX)/share/doc/ragel/
1117
1118 Ragel 1.3.2 - Oct 16, 2002
1119 ==========================
1120  -Added option -v (or --version) to show version information.
1121  -The subtract operator no longer removes transition data from the machine
1122   being subtracted. This is left up to the user for the purpose of making it
1123   possible to transfer transitions using subtract and also for speeding up the
1124   subtract routine. Note that it is possible to explicitly clear transition
1125   data before a doing a subtract.
1126  -Rather severe typo bug fixed. Bug was related to transitions with higher
1127   priorities taking precedence. A wrong ptr was being returned. It appears to
1128   have worked most of the time becuase the old ptr was deleted and the new one
1129   allocated immediatly after so the old ptr often pointed to the same space.
1130   Just luck though.
1131  -Bug in the removing of dead end paths was fixed. If the start state
1132   has in transitions then those paths were not followed when finding states to
1133   keep. Would result in non-dead end states being removed from the graph.
1134  -In lists and in ranges are no longer maintained as a bst with the key as the
1135   alphabet character and the value as a list of transitions coming in on that
1136   char. There is one list for each of inList, inRange and inDefault. Now that
1137   the required functionality of the graph is well known it is safe to remove
1138   these lists to gain in speed and footprint. They shouldn't be needed.
1139  -IsolateStartState() runs on modification of start data only if the start
1140   state is not already isolated, which is now possible with the new in list
1141   representation.
1142  -Concat, Or and Star operators now use an approximation to
1143   removeUnreachableStates that does not require a traversal of the entire
1144   graph. This combined with an 'on-the-fly' management of final bits and final
1145   state status results is a dramatic speed increase when compiling machines
1146   that use those operators heavily. The strings2 test goes 20 times faster.
1147  -Before the final minimization, after all fsm operations are complete,
1148   priority data is reset which enables better minimization in cases where
1149   priorities would otherwise separate similar states.
1150  
1151 Ragel 1.3.1 - Oct 2, 2002
1152 =========================
1153  -Range transitions are now used to implement machines made with /[a-z]/ and
1154   the .. operator as well as most of the builtin machines. The ranges are not
1155   yet reflected in the output code, they are expanded as if they came from the
1156   regular single transitions. This is one step closer to arbitrary integer
1157   output.
1158  -The builtin machine 'any' was added. It is equiv to the builtin extend,
1159   matching any characters.
1160  -The builtin machine 'cntrl' now includes newline.
1161  -The builtin machine 'space' now includes newline.
1162  -The builtin machine 'ascii' is now the range 0-127, not all characters.
1163  -A man page was written.
1164  -A proper user guide was started. Chapter 1: Specifying Ragel Programs
1165   was written. It even has some diagrams :)
1166
1167 Ragel 1.3.0 - Sep 4, 2002
1168 =========================
1169  -NULL keyword no longer used in table output.
1170  -Though not yet in use, underlying graph structure changed to support range
1171   transitions. As a result, most of the code that walks transition lists is now
1172   implemented with an iterator that hides the complexity of the transition
1173   lists and ranges. Range transitions will be used to implement /[a-z]/ style
1174   machines and machines made with the .. operator. Previously a single
1175   transition would be used for each char in the range, which is very costly.
1176   Ranges eliminate much of the space complexity and allow for the .. operator
1177   to be used with very large (integer) alphabets.
1178  -New minimization similar to Hopcroft's alg. It does not require n^2 space and
1179   runs close to O(n*log(n)) (an exact analysis of the alg is very hard). It is
1180   much better than the stable and approx minimization and obsoletes them both.
1181   An exact implementation of Hopcroft's alg is desirable but not possible
1182   because the ragel implementation does not assume a finite alphabet, which
1183   Hopcroft's requires. Ragel will support arbitrary integer alphabets which
1184   must be treated as an infinite set for implementation considerations.
1185  -New option -m using above described minimization to replace all previous
1186   minimization options. Old options sill work but are obsolete and not
1187   advertised with -h.
1188  -Bug fixed in goto style output. The error exit set the current state to 0,
1189   which is actually a valid state. If the machine was entered again it would go
1190   into the first state, very wrong. If the first state happened to be final then
1191   an immediate finish would accept when in fact it should fail.
1192  -Slightly better fsm minimization now capable due to clearing of the
1193   transition ordering numbers just prior to minimization. 
1194  
1195 Ragel 1.2.2 - May 25, 2002
1196 ==========================
1197  -Configuration option --prefix now works when installing.
1198  -cc file extension changed to cpp for better portability.
1199  -Unlink of output file upon error no longer happens, removes dependency on
1200   unlink system command.
1201  -All multiline strings removed: not standard c++.
1202  -Awk build dependency removed.
1203  -MSVC 6.0 added to the list of supported compilers (with some tweaking of
1204   bison and flex output).
1205
1206 Ragel 1.2.1 - May 13, 2002
1207 ==========================
1208  -Automatic dependencies were fixed, they were not working correctly.
1209  -Updated AUTHORS file to reflect contributors.
1210  -Code is more C++ standards compliant: compiles with g++ 3.0
1211  -Fixed bugs that only showed up in g++ 3.0
1212  -Latest (unreleased) Aapl.
1213  -Configuration script bails out if bison++ is installed. Ragel will not
1214   compile with bison++ because it is coded in c++ and bison++ automatically
1215   generates a c++ parser. Ragel uses a c-style bison parser.
1216
1217 Ragel 1.2.0 - May 3, 2002
1218 =========================
1219  -Underlying graph structure now supports default transitions. The result is
1220   that a transition does not need to be made for each char of the alphabet
1221   when making 'extend' or '/./' machines. Ragel compiles machines that
1222   use the aforementioned primitives WAY faster.
1223  -The ugly hacks needed to pick default transitions now go away due to
1224   the graph supporting default transitions directly.
1225  -If -e is given, but minimization is not turned on, print a warning.
1226  -Makefiles use automatic dependencies.
1227
1228 Ragel 1.1.0 - Apr 15, 2002
1229 ==========================
1230  -Added goto fsm: much faster than any other fsm style.
1231  -Default operator (if two machines are side by side with no operator
1232   between them) is concatenation. First showed up in 1.0.4.
1233  -The fsm machine no longer auotmatically builds the flat table for
1234   transition indicies. Instead it keeps the key,ptr pair. In tabcodegen
1235   the flat table is produced. This way very large alphabets with sparse
1236   transitions will not consume large amounts of mem. This is also in prep
1237   for fsm graph getting a default transition.
1238  -Generated code contains a statement explicitly stating that ragel fsms
1239   are NOT covered by the GPL. Technically, Ragel copies part of itself
1240   to the output to make the generic fsm execution routine (for table driven
1241   fsms only) and so the output could be considered under the GPL. But this
1242   code is very trivial and could easlily be rewritten. The actual fsm data
1243   is subject to the copyright of the source. To promote the use of Ragel,
1244   a special exception is made for the part of the output copied from Ragel:
1245   it may be used without restriction.
1246  -Much more elegant code generation scheme is employed. Code generation
1247   class members need only put the 'codegen' keyword after their 'void' type
1248   in order to be automatically registerd to handle macros of the same name.
1249   An awk script recognises this keyword and generates an appropriate driver.
1250  -Ragel gets a test suite.
1251  -Postfunc and prefunc go away because they are not supported by non
1252   loop-driven fsms (goto, switch) and present duplicate functionality. 
1253   Universal funcs can be implemented by using $ operator.
1254  -Automatic dependencies used in build system, no more make depend target.
1255  -Code generation section in docs.
1256  -Uses the latests aapl.
1257
1258 Ragel 1.0.5 - Mar 3, 2002
1259 =========================
1260  -Bugfix in SetErrorState that caused an assertion failure when compiling
1261   simple machines that did not have full transition tables (and thus did
1262   not show up on any example machines). Assertion failure did not occur
1263   when using the switch statement code as ragel does not call SetErrorState
1264   in that case.
1265  -Fixed some missing includes, now compiles on redhat.
1266  -Moved the FsmMachTrans Compare class out of FsmMachTrans. Some compilers
1267   don't deal with nested classes in templates too well.
1268  -Removed old unused BASEREF in fsmgraph and ragel now compiles using
1269   egcs-2.91.66 and presumably SUNWspro. The baseref is no longer needed
1270   because states do not support being elements in multiple lists. I would
1271   rather be able to support more compilers than have this feature.
1272  -Started a README with compilation notes. Started an AUTHORS file.
1273  -Started the user documentation. Describes basic machines and operators.
1274
1275 Ragel 1.0.4 - Mar 1, 2002
1276 =========================
1277  -Ported to the version of Aapl just after 2.2.0 release. See 
1278   http://www.ragel.ca/aapl/ for details on aapl.
1279  -Fixed a bug in the clang example: the newline machine was not stared.
1280  -Added explanations to the clang and mailbox examples. This should
1281   help people that want to learn the lanuage as the manual is far from
1282   complete.
1283
1284 Ragel 1.0.3 - Feb 2, 2002
1285 =========================
1286  -Added aapl to the ragel tree. No longer requires you to download
1287   and build aapl separately. Should avoid discouraging impatient users
1288   from compiling ragel.
1289  -Added the examples to the ragel tree.
1290  -Added configure script checks for bison and flex.
1291  -Fixed makefile so as not to die with newer versions of bison that
1292   write the header of the parser to a .hh file.
1293  -Started ChangeLog file.
1294
1295 Ragel 1.0.2 - Jan 30, 2002
1296 ==========================
1297  -Bug fix in calculating highIndex for table based code. Was using
1298   the length of out tranisition table rather than the value at the
1299   end.
1300  -If high/low index are at the limits, output a define in their place,
1301   not the high/low values themselves so as not to cause compiler warnings.
1302  -If the resulting machines don't have any indicies or functions, then
1303   omit the empty unrefereced static arrays so as not to cause compiler
1304   warnings about unused static vars.
1305  -Fixed variable sized indicies support. The header cannot have any
1306   reference to INDEX_TYPE as that info is not known at the time the header
1307   data is written. Forces us to use a void * for pointers to indicies. In
1308   the c++ versions we are forced to make much of the data non-member
1309   static data in the code portion for the same reason.
1310
1311 Ragel 1.0.1 - Jan 28, 2002
1312 ==========================
1313  -Exe name change from reglang to ragel.
1314  -Added ftabcodegen output code style which uses a table for states and
1315   transitions but uses a switch statement for the function execution.
1316  -Reformatted options in usage dump to look better.
1317  -Support escape sequences in [] sections of regular expressions.
1318
1319 Ragel 1.0 - Jan 25, 2002
1320 ========================
1321  -Initial release.