external/ragel.git
17 years agoMake use of @datadir@ and @mandir@ in doc/Makefile.in for specifying where
thurston [Fri, 2 Mar 2007 19:39:42 +0000 (19:39 +0000)]
Make use of @datadir@ and @mandir@ in doc/Makefile.in for specifying where
documentation should be installed. Patch from Marcus Rueckert. The prefix
variable should be lowercase in makefiles, since @datadir@ and @mandir@ expect
this. Added names to the CREDITS file.

git-svn-id: http://svn.complang.org/ragel/trunk@120 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoAdded Josef Goettgens.
thurston [Fri, 2 Mar 2007 18:13:47 +0000 (18:13 +0000)]
Added Josef Goettgens.

git-svn-id: http://svn.complang.org/ragel/trunk@119 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoRemoved extra ;, spelling fix in comment.
thurston [Fri, 2 Mar 2007 18:10:58 +0000 (18:10 +0000)]
Removed extra ;, spelling fix in comment.

git-svn-id: http://svn.complang.org/ragel/trunk@118 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoThe Action::numRefs() and RedAction::numRefs() functions should return int.
thurston [Fri, 2 Mar 2007 17:47:03 +0000 (17:47 +0000)]
The Action::numRefs() and RedAction::numRefs() functions should return int.
Since the numbers these functions return are usually very low and the result is
only checked with the test > 0, the error never manifested.

git-svn-id: http://svn.complang.org/ragel/trunk@117 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoAdded malloc.h includes. From Josef Goettgens.
thurston [Fri, 2 Mar 2007 17:38:08 +0000 (17:38 +0000)]
Added malloc.h includes. From Josef Goettgens.

git-svn-id: http://svn.complang.org/ragel/trunk@116 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoFixed some references to Java left over from the split. Also, the line
thurston [Wed, 14 Feb 2007 15:45:31 +0000 (15:45 +0000)]
Fixed some references to Java left over from the split. Also, the line
directive function does not need to guard against java code.

git-svn-id: http://svn.complang.org/ragel/trunk@115 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoAdded item.
thurston [Wed, 14 Feb 2007 05:35:31 +0000 (05:35 +0000)]
Added item.

git-svn-id: http://svn.complang.org/ragel/trunk@114 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoSome additional fixes before release.
thurston [Wed, 14 Feb 2007 00:34:23 +0000 (00:34 +0000)]
Some additional fixes before release.

git-svn-id: http://svn.complang.org/ragel/trunk@112 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoEnlarged the graphics. Improved the priority section and the lookahead section.
thurston [Wed, 14 Feb 2007 00:07:27 +0000 (00:07 +0000)]
Enlarged the graphics. Improved the priority section and the lookahead section.

git-svn-id: http://svn.complang.org/ragel/trunk@111 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoDiscontinuing ragel.spec. It is more appropriate for this to be written by
thurston [Tue, 13 Feb 2007 21:00:23 +0000 (21:00 +0000)]
Discontinuing ragel.spec. It is more appropriate for this to be written by
package maintenance developers.

git-svn-id: http://svn.complang.org/ragel/trunk@110 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoUpdated the ChangeLog for 5.18.
thurston [Tue, 13 Feb 2007 20:56:27 +0000 (20:56 +0000)]
Updated the ChangeLog for 5.18.

git-svn-id: http://svn.complang.org/ragel/trunk@109 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoAdded an item.
thurston [Tue, 13 Feb 2007 19:14:55 +0000 (19:14 +0000)]
Added an item.

git-svn-id: http://svn.complang.org/ragel/trunk@108 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoThe code generators now exit immediately if the language is not correct. Write
thurston [Tue, 13 Feb 2007 19:11:38 +0000 (19:11 +0000)]
The code generators now exit immediately if the language is not correct.  Write
statements are no longer interpreted in rlgen-dot. Since they have no meaning
in this generator, it is best to ignore them.

git-svn-id: http://svn.complang.org/ragel/trunk@107 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoUpdated the help and version information in the backend programs. Also updated
thurston [Tue, 13 Feb 2007 18:30:10 +0000 (18:30 +0000)]
Updated the help and version information in the backend programs. Also updated
the option processing. Renamed and updated the man page for the backend. Added
man pages for the new backend programs.

Removed unused options from the list of options which are accepted in the
backend programs.

git-svn-id: http://svn.complang.org/ragel/trunk@106 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoThe rlcodegen executable was changed to rlgen-cd.
thurston [Mon, 12 Feb 2007 05:48:51 +0000 (05:48 +0000)]
The rlcodegen executable was changed to rlgen-cd.

git-svn-id: http://svn.complang.org/ragel/trunk@105 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoMoved rlcodegen to rlgen-cd.
thurston [Mon, 12 Feb 2007 05:32:59 +0000 (05:32 +0000)]
Moved rlcodegen to rlgen-cd.

git-svn-id: http://svn.complang.org/ragel/trunk@104 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoSplit dotfile generation out into its own executable.
thurston [Mon, 12 Feb 2007 05:18:28 +0000 (05:18 +0000)]
Split dotfile generation out into its own executable.

git-svn-id: http://svn.complang.org/ragel/trunk@103 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoFixed error in ruby code generation which crept in during the last change.
thurston [Mon, 12 Feb 2007 03:51:30 +0000 (03:51 +0000)]
Fixed error in ruby code generation which crept in during the last change.
Updated the machine name and alphtype in atoi3 to reflect the fact that it is a
ruby test.

git-svn-id: http://svn.complang.org/ragel/trunk@102 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoSame patch as previous revision, except for Ruby: KEY() should be returning a
thurston [Sun, 11 Feb 2007 17:40:50 +0000 (17:40 +0000)]
Same patch as previous revision, except for Ruby: KEY() should be returning a
string, allowing it to be interpreted. ARRAY_ITEM() now accepts a string.

git-svn-id: http://svn.complang.org/ragel/trunk@101 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoKEY() should be returning a string, allowing it to be interpreted. ARRAY_ITEM()
thurston [Sun, 11 Feb 2007 17:30:07 +0000 (17:30 +0000)]
KEY() should be returning a string, allowing it to be interpreted. ARRAY_ITEM()
now accepts a string.

git-svn-id: http://svn.complang.org/ragel/trunk@100 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoWe have gone back to supporting all alphtypes. We don't need to force the byte
thurston [Sun, 11 Feb 2007 17:24:46 +0000 (17:24 +0000)]
We have gone back to supporting all alphtypes. We don't need to force the byte
alphabet type anymore.

git-svn-id: http://svn.complang.org/ragel/trunk@99 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoUse a single function for both the active flag (now called ignoreSection) and
thurston [Sun, 11 Feb 2007 06:58:05 +0000 (06:58 +0000)]
Use a single function for both the active flag (now called ignoreSection) and
the parser exists test. The initialization of ignoreSection was flipped to fix
a bug which inhibited the parser exists test.

git-svn-id: http://svn.complang.org/ragel/trunk@98 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoThe parserExists function should be called before active is checked.
thurston [Sun, 11 Feb 2007 06:30:54 +0000 (06:30 +0000)]
The parserExists function should be called before active is checked.

git-svn-id: http://svn.complang.org/ragel/trunk@97 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoWhen displaying printables in graphviz output, print 32 as SP.
thurston [Sun, 11 Feb 2007 06:12:22 +0000 (06:12 +0000)]
When displaying printables in graphviz output, print 32 as SP.

git-svn-id: http://svn.complang.org/ragel/trunk@96 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoNew array generation for Java. For a single array a series of initialization
thurston [Sun, 11 Feb 2007 05:56:19 +0000 (05:56 +0000)]
New array generation for Java. For a single array a series of initialization
functions are created, with each function only handling a max number of
elements. This compiles to something very similar to what the java compiler
produces for literally specified arrays, except we use multiple functions and
can therefore handle arrays which would cause the "code too large" error if
specified with a list of literal values.

git-svn-id: http://svn.complang.org/ragel/trunk@95 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoFixed the segfault which occured when a machine reference failed.
thurston [Sun, 11 Feb 2007 01:09:53 +0000 (01:09 +0000)]
Fixed the segfault which occured when a machine reference failed.

git-svn-id: http://svn.complang.org/ragel/trunk@94 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoAdded a couple items.
thurston [Sat, 10 Feb 2007 20:23:57 +0000 (20:23 +0000)]
Added a couple items.

git-svn-id: http://svn.complang.org/ragel/trunk@93 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoFixed the null dereference and consequential segfault which occurred when
thurston [Sat, 10 Feb 2007 17:50:23 +0000 (17:50 +0000)]
Fixed the null dereference and consequential segfault which occurred when
trying to create empty machines with [] and // and /a[]b/.

git-svn-id: http://svn.complang.org/ragel/trunk@92 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoMake control codes with escape sequences into printable characters. From Arne
thurston [Fri, 9 Feb 2007 05:02:30 +0000 (05:02 +0000)]
Make control codes with escape sequences into printable characters. From Arne
Goedeke.

git-svn-id: http://svn.complang.org/ragel/trunk@91 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoRemoved a completed item.
thurston [Fri, 9 Feb 2007 04:04:56 +0000 (04:04 +0000)]
Removed a completed item.

git-svn-id: http://svn.complang.org/ragel/trunk@90 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoUpdated to the latest aapl. This completely eliminates the shallowCopy
thurston [Thu, 8 Feb 2007 19:14:57 +0000 (19:14 +0000)]
Updated to the latest aapl. This completely eliminates the shallowCopy
function. With that, a definite memory leak is fixed.

git-svn-id: http://svn.complang.org/ragel/trunk@89 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoUpdated an item.
thurston [Thu, 8 Feb 2007 03:32:48 +0000 (03:32 +0000)]
Updated an item.

git-svn-id: http://svn.complang.org/ragel/trunk@88 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoAdded missing write init.
thurston [Tue, 6 Feb 2007 21:09:33 +0000 (21:09 +0000)]
Added missing write init.

git-svn-id: http://svn.complang.org/ragel/trunk@87 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoAdded an item.
thurston [Tue, 6 Feb 2007 20:54:28 +0000 (20:54 +0000)]
Added an item.

git-svn-id: http://svn.complang.org/ragel/trunk@86 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoAdded a ruby test: atoi3.rl and adapted the test harness to build and run ruby
thurston [Tue, 6 Feb 2007 17:51:50 +0000 (17:51 +0000)]
Added a ruby test: atoi3.rl and adapted the test harness to build and run ruby
tests.

git-svn-id: http://svn.complang.org/ragel/trunk@85 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoAdded an item.
thurston [Tue, 6 Feb 2007 17:49:37 +0000 (17:49 +0000)]
Added an item.

git-svn-id: http://svn.complang.org/ragel/trunk@84 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoUpdated Victor's email address. The frontend parameter check must accept -R.
thurston [Tue, 6 Feb 2007 04:38:39 +0000 (04:38 +0000)]
Updated Victor's email address. The frontend parameter check must accept -R.
The genLineDirective function in rlcodegen must guard against graphviz dotfile
generation.

If the error state exists, it is now the first state. Since the graphviz
generation does not print the error state, a gap over the error state made it
appear as though a state was missing.

git-svn-id: http://svn.complang.org/ragel/trunk@83 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoSome fixes and cleanup. Some basic tests appear to work.
thurston [Tue, 6 Feb 2007 04:12:46 +0000 (04:12 +0000)]
Some fixes and cleanup. Some basic tests appear to work.

git-svn-id: http://svn.complang.org/ragel/trunk@82 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoSome documentation updates for 5.18. The recursive rules in the makefile can
thurston [Mon, 5 Feb 2007 23:36:22 +0000 (23:36 +0000)]
Some documentation updates for 5.18. The recursive rules in the makefile can
use hidden commands.

git-svn-id: http://svn.complang.org/ragel/trunk@81 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoThe reference to the act variable in the scanner switch was not done with
thurston [Mon, 5 Feb 2007 21:23:25 +0000 (21:23 +0000)]
The reference to the act variable in the scanner switch was not done with
ACT(). Now fixed.

git-svn-id: http://svn.complang.org/ragel/trunk@80 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoNow that static data is also const, there is no need to eliminate the error and
thurston [Mon, 5 Feb 2007 16:31:25 +0000 (16:31 +0000)]
Now that static data is also const, there is no need to eliminate the error and
first final states from the write data statement in order to avoid a gcc
compiler warnings. For a first example all the data elements should be written.

git-svn-id: http://svn.complang.org/ragel/trunk@79 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoThe writeStatement function is now part of CodeGenData.
thurston [Mon, 5 Feb 2007 01:31:52 +0000 (01:31 +0000)]
The writeStatement function is now part of CodeGenData.

Leading code which is common to all finishRagelDef() functions has been moved
to the parser class, immediately before calling finishRagelDef().

The setLabelsNeeded() function is now called from writeExec in code generators
that require it (in-place goto and split goto).

The hasBeenPrepared variable is no longer needed, removed.

git-svn-id: http://svn.complang.org/ragel/trunk@78 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoThe conversion from the string language type which comes in from the XML file
thurston [Sun, 4 Feb 2007 23:54:47 +0000 (23:54 +0000)]
The conversion from the string language type which comes in from the XML file
to the hostLangType and hostLang variables is now handled by the redfsm.a
library. The code generators can use hostLang variable to check that the host
language is correct.

Adapted the line directive writing for Java and Ruby. In these languages a
comment which indicates the line number is written.

git-svn-id: http://svn.complang.org/ragel/trunk@77 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoSome cleanup of code. These functions are not needed in Java and Ruby code
thurston [Sun, 4 Feb 2007 18:27:10 +0000 (18:27 +0000)]
Some cleanup of code. These functions are not needed in Java and Ruby code
generation.

git-svn-id: http://svn.complang.org/ragel/trunk@76 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoMovement of common classes and code to common.a.
thurston [Sun, 4 Feb 2007 18:21:42 +0000 (18:21 +0000)]
Movement of common classes and code to common.a.

git-svn-id: http://svn.complang.org/ragel/trunk@75 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoDisabled the setting of state ids in the backend to go live with the equivalent
thurston [Sun, 4 Feb 2007 04:40:40 +0000 (04:40 +0000)]
Disabled the setting of state ids in the backend to go live with the equivalent
work done in the frontend.

git-svn-id: http://svn.complang.org/ragel/trunk@74 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoComplete transition list building must be avoided for the error state.
thurston [Sun, 4 Feb 2007 03:44:20 +0000 (03:44 +0000)]
Complete transition list building must be avoided for the error state.

git-svn-id: http://svn.complang.org/ragel/trunk@73 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoThe frontend is now responsible for creating the error state, if needed. The
thurston [Sun, 4 Feb 2007 03:15:18 +0000 (03:15 +0000)]
The frontend is now responsible for creating the error state, if needed. The
error state id is passed using the <error_state> tag.

git-svn-id: http://svn.complang.org/ragel/trunk@72 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoJava and Ruby code generators don't need to switch on the language to choose a
thurston [Sun, 4 Feb 2007 03:08:34 +0000 (03:08 +0000)]
Java and Ruby code generators don't need to switch on the language to choose a
default extension.

git-svn-id: http://svn.complang.org/ragel/trunk@71 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoFixed error from last commit: The frontend should emit states with numbers
thurston [Sat, 3 Feb 2007 21:48:19 +0000 (21:48 +0000)]
Fixed error from last commit: The frontend should emit states with numbers
starting at 0. The state numbers in the XML file are now read and used to set
the state id. They are currently overwritten, but this should change when the
frontend is able to decide if an error state is needed.

git-svn-id: http://svn.complang.org/ragel/trunk@70 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoThe frontend now does a depth first ordering of states and then sorts states
thurston [Sat, 3 Feb 2007 21:29:15 +0000 (21:29 +0000)]
The frontend now does a depth first ordering of states and then sorts states
based on final state status before assigning ids.

git-svn-id: http://svn.complang.org/ragel/trunk@69 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoEnabled rlgen-ruby in the top-level makefile. Merged the remaining parts of the
thurston [Sat, 3 Feb 2007 01:47:50 +0000 (01:47 +0000)]
Enabled rlgen-ruby in the top-level makefile. Merged the remaining parts of the
patch from Victor.

git-svn-id: http://svn.complang.org/ragel/trunk@68 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoMerged in Ruby code generator from Victor Hugo Borja. Started with a copy of
thurston [Sat, 3 Feb 2007 01:14:38 +0000 (01:14 +0000)]
Merged in Ruby code generator from Victor Hugo Borja. Started with a copy of
the Java code generator written in the framework, then merged in the code
generation that Victor wrote for the old framework and adapted it. This
compiles. Has not yet been tested.

git-svn-id: http://svn.complang.org/ragel/trunk@67 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoUpdated version information in the both backend programs. Removed outputFormat
thurston [Sat, 3 Feb 2007 00:06:44 +0000 (00:06 +0000)]
Updated version information in the both backend programs. Removed outputFormat
and codeStyle options from the java code generator.

git-svn-id: http://svn.complang.org/ragel/trunk@66 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoCR characters need to be treated as whitespace.
thurston [Fri, 2 Feb 2007 23:54:57 +0000 (23:54 +0000)]
CR characters need to be treated as whitespace.

git-svn-id: http://svn.complang.org/ragel/trunk@65 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoMerged the FsmCodeGen, TabCodeGen and JavaTabCodeGen classes. Updated the
thurston [Fri, 2 Feb 2007 23:30:45 +0000 (23:30 +0000)]
Merged the FsmCodeGen, TabCodeGen and JavaTabCodeGen classes. Updated the
runtests script to use the new filename for the java code generator.

git-svn-id: http://svn.complang.org/ragel/trunk@64 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoShortened the name of the Java code generation executable.
thurston [Fri, 2 Feb 2007 21:03:29 +0000 (21:03 +0000)]
Shortened the name of the Java code generation executable.

git-svn-id: http://svn.complang.org/ragel/trunk@63 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoUpdated svn:ignore in common, now that objects and an archive are created.
thurston [Fri, 2 Feb 2007 20:30:57 +0000 (20:30 +0000)]
Updated svn:ignore in common, now that objects and an archive are created.

git-svn-id: http://svn.complang.org/ragel/trunk@62 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoImprovements to the examples build following the merge.
thurston [Fri, 2 Feb 2007 19:07:29 +0000 (19:07 +0000)]
Improvements to the examples build following the merge.

git-svn-id: http://svn.complang.org/ragel/trunk@61 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoRemoved last example directory.
thurston [Fri, 2 Feb 2007 18:52:26 +0000 (18:52 +0000)]
Removed last example directory.

git-svn-id: http://svn.complang.org/ragel/trunk@60 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoEliminated per-example private directories.
thurston [Fri, 2 Feb 2007 18:51:01 +0000 (18:51 +0000)]
Eliminated per-example private directories.

git-svn-id: http://svn.complang.org/ragel/trunk@59 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoThe common code is now a library (no more #include "common.cpp"). Improvements
thurston [Fri, 2 Feb 2007 18:34:52 +0000 (18:34 +0000)]
The common code is now a library (no more #include "common.cpp"). Improvements
to the recurisve calls to make. Now using phony targets instead of shell script
code which iterates over a list of items.

git-svn-id: http://svn.complang.org/ragel/trunk@58 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoRemoved Java code generation from rlcodegen. Added the cd javagen && make to
thurston [Fri, 2 Feb 2007 17:12:27 +0000 (17:12 +0000)]
Removed Java code generation from rlcodegen. Added the cd javagen && make to
the top level makefile (not covered by SUBDIRS variable).

git-svn-id: http://svn.complang.org/ragel/trunk@57 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoUpdated SUBDIRS in the top-level makefile and the clean target in javagen.
thurston [Fri, 2 Feb 2007 07:02:38 +0000 (07:02 +0000)]
Updated SUBDIRS in the top-level makefile and the clean target in javagen.

git-svn-id: http://svn.complang.org/ragel/trunk@56 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoRemoved inactive code originating from the split out of rlcodegen.
thurston [Fri, 2 Feb 2007 06:56:37 +0000 (06:56 +0000)]
Removed inactive code originating from the split out of rlcodegen.

git-svn-id: http://svn.complang.org/ragel/trunk@55 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoApplied java data array encoding patch from Colin Fleming. Only works with byte
thurston [Fri, 2 Feb 2007 06:48:40 +0000 (06:48 +0000)]
Applied java data array encoding patch from Colin Fleming. Only works with byte
and short alphabet types. The transformation to java in the test suite sets the
byte alphabet type (default is char, which is unimplemented).

git-svn-id: http://svn.complang.org/ragel/trunk@54 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoJava code generation split out into its own executable. Still needs to be
thurston [Fri, 2 Feb 2007 05:59:48 +0000 (05:59 +0000)]
Java code generation split out into its own executable. Still needs to be
removed from rlcodegen.

git-svn-id: http://svn.complang.org/ragel/trunk@53 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoGraphvizDotGen is now a subclass of CodeGenData.
thurston [Fri, 2 Feb 2007 04:32:40 +0000 (04:32 +0000)]
GraphvizDotGen is now a subclass of CodeGenData.

git-svn-id: http://svn.complang.org/ragel/trunk@52 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoSplit the XML parsing, reduced fsm, and the code generation data structures out
thurston [Fri, 2 Feb 2007 03:50:18 +0000 (03:50 +0000)]
Split the XML parsing, reduced fsm, and the code generation data structures out
of rlcodegen.

git-svn-id: http://svn.complang.org/ragel/trunk@51 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoMore separation between the XML reading and data collection classes, and the
thurston [Fri, 2 Feb 2007 01:14:37 +0000 (01:14 +0000)]
More separation between the XML reading and data collection classes, and the
code generation classes. The rlcodegen.h include was removed from the files
which will go into the redfsm.a library.

git-svn-id: http://svn.complang.org/ragel/trunk@50 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoAdded an item. Resulted from discussion with MenTaLguY.
thurston [Fri, 2 Feb 2007 01:07:49 +0000 (01:07 +0000)]
Added an item. Resulted from discussion with MenTaLguY.

git-svn-id: http://svn.complang.org/ragel/trunk@49 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoImprovements to the handling of write statements in the backend.
thurston [Thu, 1 Feb 2007 20:41:15 +0000 (20:41 +0000)]
Improvements to the handling of write statements in the backend.

git-svn-id: http://svn.complang.org/ragel/trunk@48 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoMachine preparation and code generation is now handled by two virtual functions
thurston [Thu, 1 Feb 2007 05:46:06 +0000 (05:46 +0000)]
Machine preparation and code generation is now handled by two virtual functions
in FsmCodeGen: finishRagelDef and writeStatement. All interpretation of the
write statement will happen there.

git-svn-id: http://svn.complang.org/ragel/trunk@47 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoWrite statements are no longer in ragel_def elements. They appear on their own
thurston [Thu, 1 Feb 2007 02:42:53 +0000 (02:42 +0000)]
Write statements are no longer in ragel_def elements. They appear on their own
next to host elements. The ragel_def tag is now used exclusively for defining a
machine.

git-svn-id: http://svn.complang.org/ragel/trunk@46 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoMoved code dependent on the output type and code style from CodeGenData to
thurston [Thu, 1 Feb 2007 00:02:59 +0000 (00:02 +0000)]
Moved code dependent on the output type and code style from CodeGenData to
FsmCodeGen.

git-svn-id: http://svn.complang.org/ragel/trunk@45 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoEliminated the pointer from the subclass FsmCodeGen up to the superclass
thurston [Wed, 31 Jan 2007 21:40:00 +0000 (21:40 +0000)]
Eliminated the pointer from the subclass FsmCodeGen up to the superclass
CodeGenData.

git-svn-id: http://svn.complang.org/ragel/trunk@44 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoThis transformation makes CodeGenData a superclass of FsmCodeGen. The existing
thurston [Wed, 31 Jan 2007 21:17:20 +0000 (21:17 +0000)]
This transformation makes CodeGenData a superclass of FsmCodeGen. The existing
pointer structure still works fine. They just now point to superclass and
subclass of one another. This can be phased out with virtual functions and
implicit superclass member class references.

git-svn-id: http://svn.complang.org/ragel/trunk@43 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoMore organizational changes. The codeGen structure is now created in the
thurston [Wed, 31 Jan 2007 20:41:10 +0000 (20:41 +0000)]
More organizational changes. The codeGen structure is now created in the
CodeGenData constructor.

git-svn-id: http://svn.complang.org/ragel/trunk@42 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoEliminated the cgd global.
thurston [Tue, 30 Jan 2007 21:49:32 +0000 (21:49 +0000)]
Eliminated the cgd global.

git-svn-id: http://svn.complang.org/ragel/trunk@41 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoAdded an item.
thurston [Tue, 30 Jan 2007 21:16:42 +0000 (21:16 +0000)]
Added an item.

git-svn-id: http://svn.complang.org/ragel/trunk@40 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoDid some more reorganization in support of separating out a redfsm.a library
thurston [Tue, 30 Jan 2007 21:13:05 +0000 (21:13 +0000)]
Did some more reorganization in support of separating out a redfsm.a library
from code generation. The makeCodeGen function is now a callback which will be
executed by the redfsm.a library and implemented by the code generator
executable.

git-svn-id: http://svn.complang.org/ragel/trunk@39 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoMoved the value limits which are collected during machine analysis time from
thurston [Tue, 30 Jan 2007 18:52:31 +0000 (18:52 +0000)]
Moved the value limits which are collected during machine analysis time from
CodeGenData to RedFsm.

git-svn-id: http://svn.complang.org/ragel/trunk@38 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoAdded item.
thurston [Tue, 30 Jan 2007 17:42:18 +0000 (17:42 +0000)]
Added item.

git-svn-id: http://svn.complang.org/ragel/trunk@37 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoThe spelling of Erich's name has changed. Now updated throughout.
thurston [Tue, 30 Jan 2007 06:18:35 +0000 (06:18 +0000)]
The spelling of Erich's name has changed. Now updated throughout.

git-svn-id: http://svn.complang.org/ragel/trunk@36 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoMoved more analysis code from FsmCodeGen into CodeGenData. Eliminated the
thurston [Tue, 30 Jan 2007 06:05:28 +0000 (06:05 +0000)]
Moved more analysis code from FsmCodeGen into CodeGenData. Eliminated the
fsmName variable from FsmCodeGen.

git-svn-id: http://svn.complang.org/ragel/trunk@35 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoMoved analysis code from FsmCodeGen into CodeGenData.
thurston [Tue, 30 Jan 2007 05:20:52 +0000 (05:20 +0000)]
Moved analysis code from FsmCodeGen into CodeGenData.

git-svn-id: http://svn.complang.org/ragel/trunk@34 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoRemoved output-related globals. Fixed and error in splitcodegen which tested
thurston [Tue, 30 Jan 2007 03:01:49 +0000 (03:01 +0000)]
Removed output-related globals. Fixed and error in splitcodegen which tested
the wrong output_filter for open failure.

git-svn-id: http://svn.complang.org/ragel/trunk@33 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoAdded an item.
thurston [Mon, 29 Jan 2007 17:30:47 +0000 (17:30 +0000)]
Added an item.

git-svn-id: http://svn.complang.org/ragel/trunk@32 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoUpdates to the scanner section. Gave the semantic condition figures bounding
thurston [Mon, 29 Jan 2007 01:47:34 +0000 (01:47 +0000)]
Updates to the scanner section. Gave the semantic condition figures bounding
boxes.

git-svn-id: http://svn.complang.org/ragel/trunk@31 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoMinor update to CREDITS file.
thurston [Mon, 29 Jan 2007 00:30:42 +0000 (00:30 +0000)]
Minor update to CREDITS file.

git-svn-id: http://svn.complang.org/ragel/trunk@30 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoThis can go.
thurston [Mon, 29 Jan 2007 00:08:53 +0000 (00:08 +0000)]
This can go.

git-svn-id: http://svn.complang.org/ragel/trunk@29 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoMore content added. Did a smallish reorganization. Needs a lot of cleanup
thurston [Mon, 29 Jan 2007 00:08:19 +0000 (00:08 +0000)]
More content added. Did a smallish reorganization. Needs a lot of cleanup
still.

git-svn-id: http://svn.complang.org/ragel/trunk@28 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoUpdates to the guarded operator section.
thurston [Sun, 28 Jan 2007 22:26:05 +0000 (22:26 +0000)]
Updates to the guarded operator section.

git-svn-id: http://svn.complang.org/ragel/trunk@27 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoExpanded the Introductions to chapters 3 and 4 (actions and controlling
thurston [Sun, 28 Jan 2007 19:38:43 +0000 (19:38 +0000)]
Expanded the Introductions to chapters 3 and 4 (actions and controlling
non-determinism).

git-svn-id: http://svn.complang.org/ragel/trunk@26 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoadded an item
thurston [Sun, 28 Jan 2007 17:51:58 +0000 (17:51 +0000)]
added an item

git-svn-id: http://svn.complang.org/ragel/trunk@25 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoDocumented 5.17 release. Updated the homepage in various places. Updated the
thurston [Sun, 28 Jan 2007 04:57:03 +0000 (04:57 +0000)]
Documented 5.17 release. Updated the homepage in various places. Updated the
README.

git-svn-id: http://svn.complang.org/ragel/trunk@23 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoSome rewording of things in the Introduction chapter.
thurston [Sat, 27 Jan 2007 22:24:35 +0000 (22:24 +0000)]
Some rewording of things in the Introduction chapter.

git-svn-id: http://svn.complang.org/ragel/trunk@22 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoAdded bounding boxes to the figures that had text cut off. Reduced the line
thurston [Sat, 27 Jan 2007 19:32:24 +0000 (19:32 +0000)]
Added bounding boxes to the figures that had text cut off. Reduced the line
weight in the figures describing the operations.

git-svn-id: http://svn.complang.org/ragel/trunk@21 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoAdjusted formatting: 11pt font, margins, don't use titlesec or pslatex.
thurston [Sat, 27 Jan 2007 18:20:30 +0000 (18:20 +0000)]
Adjusted formatting: 11pt font, margins, don't use titlesec or pslatex.

git-svn-id: http://svn.complang.org/ragel/trunk@20 052ea7fc-9027-0410-9066-f65837a77df0

17 years agoFinished replacement of manually drawn figures with graphviz drawn figures.
thurston [Sat, 27 Jan 2007 18:05:18 +0000 (18:05 +0000)]
Finished replacement of manually drawn figures with graphviz drawn figures.
These need bounding box fixes at the very least.

git-svn-id: http://svn.complang.org/ragel/trunk@19 052ea7fc-9027-0410-9066-f65837a77df0