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