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