external/ragel.git
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

17 years agoBegan replacement of manually drawn figures with graphviz drawn figures.
thurston [Sat, 27 Jan 2007 06:15:46 +0000 (06:15 +0000)]
Began replacement of manually drawn figures with graphviz drawn figures.

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

17 years agoFixed an unintentional concatenation of two patterns due to a missing
thurston [Fri, 26 Jan 2007 21:29:18 +0000 (21:29 +0000)]
Fixed an unintentional concatenation of two patterns due to a missing
semi-colon. The error was not covered by the (meagre) test input.

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

17 years agoadded an item
thurston [Fri, 26 Jan 2007 17:55:25 +0000 (17:55 +0000)]
added an item

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

17 years agoThe range keyword has been disabled for the parser rewrite of 5.17 so that the
thurston [Fri, 26 Jan 2007 01:50:08 +0000 (01:50 +0000)]
The range keyword has been disabled for the parser rewrite of 5.17 so that the
ragel language matches 5.16 exactly. Can revert these changes to the test to
make diffing against the 5.16 output easier. Will enable again in the future.

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

17 years agoCleanup and removal of globals.
thurston [Fri, 26 Jan 2007 01:42:43 +0000 (01:42 +0000)]
Cleanup and removal of globals.

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

17 years agoConverted to single-line parser specifications where appropriate.
thurston [Thu, 25 Jan 2007 07:00:05 +0000 (07:00 +0000)]
Converted to single-line parser specifications where appropriate.

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

17 years agoSwitched to the latest kelbt syntax. Like Ragel, this syntax is based on write
thurston [Thu, 25 Jan 2007 02:40:53 +0000 (02:40 +0000)]
Switched to the latest kelbt syntax. Like Ragel, this syntax is based on write
statements embedded in the host code which explicitly specify which portions of
the machine to write out.

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

17 years agoImproved the sync patterns.
thurston [Thu, 25 Jan 2007 02:36:29 +0000 (02:36 +0000)]
Improved the sync patterns.

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

17 years agoEnabled the location printing in the warning function.
thurston [Wed, 24 Jan 2007 05:57:31 +0000 (05:57 +0000)]
Enabled the location printing in the warning function.

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

17 years agoA fix from Matt Mower.
thurston [Wed, 24 Jan 2007 05:22:28 +0000 (05:22 +0000)]
A fix from Matt Mower.

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

17 years agoSome cleanup of comments and error messages.
thurston [Tue, 23 Jan 2007 04:42:30 +0000 (04:42 +0000)]
Some cleanup of comments and error messages.

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

17 years agoRemoved the old flex and bison files. Fixed a bug in regexes and OR literals:
thurston [Mon, 22 Jan 2007 19:22:01 +0000 (19:22 +0000)]
Removed the old flex and bison files. Fixed a bug in regexes and OR literals:
\0 was not properly recognized. Improved error reporting.

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

17 years agoThe range keyword was not functional in 5.16. Wait for after 5.17 to add it.
thurston [Mon, 22 Jan 2007 17:14:08 +0000 (17:14 +0000)]
The range keyword was not functional in 5.16. Wait for after 5.17 to add it.

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

17 years agoThe configure script now checks for ragel and kelbt instead of flex and bison.
thurston [Mon, 22 Jan 2007 04:46:37 +0000 (04:46 +0000)]
The configure script now checks for ragel and kelbt instead of flex and bison.
Cleaned up common/Makefile.in.

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

17 years agoCleanup and improvements to error messages.
thurston [Mon, 22 Jan 2007 04:32:02 +0000 (04:32 +0000)]
Cleanup and improvements to error messages.

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

17 years agoImported svn:ignore properties from private repository.
thurston [Sun, 21 Jan 2007 23:02:53 +0000 (23:02 +0000)]
Imported svn:ignore properties from private repository.

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

17 years agoImport from my private repository. Snapshot after version 5.16, immediately
thurston [Sun, 21 Jan 2007 22:58:22 +0000 (22:58 +0000)]
Import from my private repository. Snapshot after version 5.16, immediately
following the rewrite of the parsers. Repository revision number 3961.

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