external/ragel.git
16 years agoNew patch from Evan with setup factored out.
thurston [Wed, 30 Apr 2008 02:05:30 +0000 (02:05 +0000)]
New patch from Evan with setup factored out.

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

16 years agoPatch from Evan Phoenix: updated rubinius code generation to the latest
thurston [Tue, 29 Apr 2008 00:44:27 +0000 (00:44 +0000)]
Patch from Evan Phoenix: updated rubinius code generation to the latest
rubinius.

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

16 years agoadded an item.
thurston [Thu, 24 Apr 2008 20:47:52 +0000 (20:47 +0000)]
added an item.

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

16 years agolm_switch needs to set p from tokend when there is no user action.
thurston [Mon, 21 Apr 2008 17:55:02 +0000 (17:55 +0000)]
lm_switch needs to set p from tokend when there is no user action.

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

16 years agoAdded hyperref doc. From shabble on IRC.
thurston [Mon, 21 Apr 2008 16:05:50 +0000 (16:05 +0000)]
Added hyperref doc. From shabble on IRC.

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

16 years agoRemoved completed items.
thurston [Mon, 21 Apr 2008 15:56:06 +0000 (15:56 +0000)]
Removed completed items.

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

16 years agoremoved unused case
thurston [Sun, 20 Apr 2008 23:45:04 +0000 (23:45 +0000)]
removed unused case

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

16 years agoAdjust maxIndexOffset to include eofTrans. Use maxIndexOffset when picking the
thurston [Sun, 20 Apr 2008 23:39:18 +0000 (23:39 +0000)]
Adjust maxIndexOffset to include eofTrans. Use maxIndexOffset when picking the
type for eofTrans.

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

16 years agoBug fix for eofTrans. When not using indicies we can't use a transitions's id
thurston [Sun, 20 Apr 2008 23:16:19 +0000 (23:16 +0000)]
Bug fix for eofTrans. When not using indicies we can't use a transitions's id
to identify the transition to take. Instead add the transition to the end of
the list and store it's position in a new var called pos. The pos var is then
used as the index.

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

16 years agoMissing break.
thurston [Wed, 16 Apr 2008 20:05:46 +0000 (20:05 +0000)]
Missing break.

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

16 years agoApplied patch for compiling Ragel using MSVC from Andrei Polushin.
thurston [Tue, 15 Apr 2008 22:38:53 +0000 (22:38 +0000)]
Applied patch for compiling Ragel using MSVC from Andrei Polushin.
Changed WIN32 -> _WIN32.

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

16 years agoApplied a patch from Andrei Polushin for setting the error message format.
thurston [Tue, 15 Apr 2008 20:19:17 +0000 (20:19 +0000)]
Applied a patch from Andrei Polushin for setting the error message format.
  --error-format=gnu (default)
  --error-fromat=msvc
Switched from strcasecmp to strcmp for testing long arguments.
Changed ParamCheck::parameterArg -> paramArg.

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

16 years agoTest fnext in combination with fbreak.
thurston [Tue, 15 Apr 2008 18:23:23 +0000 (18:23 +0000)]
Test fnext in combination with fbreak.

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

16 years agoAdded Andrei Polushin.
thurston [Sun, 13 Apr 2008 22:54:04 +0000 (22:54 +0000)]
Added Andrei Polushin.

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

16 years agoTypo fix from Andrei Polushin.
thurston [Sun, 13 Apr 2008 22:12:19 +0000 (22:12 +0000)]
Typo fix from Andrei Polushin.

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

16 years agoLM_ACTION and SUB_ACTION need to propagate csForced. Really should overhaul the
thurston [Sun, 13 Apr 2008 21:57:30 +0000 (21:57 +0000)]
LM_ACTION and SUB_ACTION need to propagate csForced. Really should overhaul the
action traversal and store these properties in some traversal descriptor.

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

16 years agoAn fnext followed by an fbreak in -G2 did not work. The fbreak was not aware
thurston [Sat, 12 Apr 2008 17:10:56 +0000 (17:10 +0000)]
An fnext followed by an fbreak in -G2 did not work. The fbreak was not aware
that the fnext causes the cs variable to be forced active. In this case fbreak
does not need to save cs because it is already current.

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

16 years agoadded an item.
thurston [Fri, 11 Apr 2008 03:19:07 +0000 (03:19 +0000)]
added an item.

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

16 years agoError messages in start label analysis of join operations were causing
thurston [Wed, 9 Apr 2008 22:03:26 +0000 (22:03 +0000)]
Error messages in start label analysis of join operations were causing
assertion failures because location info was not set. Fixed by adding
locations.

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

16 years agoPropagate ALLOW_GENFLAGS and ALLOW_MINFLAGS from language independent tests to
thurston [Mon, 7 Apr 2008 02:54:26 +0000 (02:54 +0000)]
Propagate ALLOW_GENFLAGS and ALLOW_MINFLAGS from language independent tests to
the generated language specific .rl files. In cond1.rl we need to turn off -F0
and -F1 because csharp by default uses 16 bit alphabet excessive amount of
static data is generated.

Added *.cs and *_csharp.rl patterns to the ignore list in test.

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

16 years agoImproved include and import file searching errors. Added documentation for
thurston [Mon, 7 Apr 2008 00:35:00 +0000 (00:35 +0000)]
Improved include and import file searching errors. Added documentation for
include file searching and the -I option.

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

16 years agoInclude and import file searching now searches for the file name given based on
thurston [Sun, 6 Apr 2008 23:49:01 +0000 (23:49 +0000)]
Include and import file searching now searches for the file name given based on
the location of the current file, not the program's current path. Additional
search locations can be given using the -I option.

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

16 years agoAdded Tim Chklovski.
thurston [Thu, 3 Apr 2008 22:35:28 +0000 (22:35 +0000)]
Added Tim Chklovski.

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

16 years agoNeed to compute the low and high character-space keys from the condition-trans
thurston [Thu, 3 Apr 2008 22:33:28 +0000 (22:33 +0000)]
Need to compute the low and high character-space keys from the condition-trans
overlap when computing an expansion. Can't use the range supplied from the
condition overlap since they may not match. An incorrect machine that accepted
1(!cond1, !cond2) was generated for the following grammar.

c = 2 @matched_c;
sc1 = 1..2 when cond1;
sc2 = 1..2 when cond2;
main := sc1 | c | sc2;

This bug was reported by Tim Chklovski.

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

16 years agoAdded limits for the constant sizes.
thurston [Mon, 31 Mar 2008 18:08:49 +0000 (18:08 +0000)]
Added limits for the constant sizes.

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

16 years agoC# patch Daniel Tang.
thurston [Sun, 30 Mar 2008 20:04:15 +0000 (20:04 +0000)]
C# patch Daniel Tang.

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

16 years agoDocs for 6.1.
thurston [Wed, 26 Mar 2008 22:58:35 +0000 (22:58 +0000)]
Docs for 6.1.

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

16 years agoNeed to unset the final state status of the start state in kleene star.
thurston [Wed, 26 Mar 2008 22:19:44 +0000 (22:19 +0000)]
Need to unset the final state status of the start state in kleene star.
Possible to crash ragel by ignoring the warning.

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

16 years agoAdded a flag -d for turning off the removal of duplicate actions from actions
thurston [Thu, 20 Mar 2008 02:24:59 +0000 (02:24 +0000)]
Added a flag -d for turning off the removal of duplicate actions from actions
lists.

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

16 years agoScanners now ensure that a pattern's leaving actions are executed.
thurston [Thu, 14 Feb 2008 23:34:03 +0000 (23:34 +0000)]
Scanners now ensure that a pattern's leaving actions are executed.

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

16 years agoPrint any actions that are in State::eofTrans. These come from scanners only.
thurston [Thu, 14 Feb 2008 19:12:37 +0000 (19:12 +0000)]
Print any actions that are in State::eofTrans. These come from scanners only.

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

16 years agoUse @docdir@ for the docdir makefile variable.
thurston [Wed, 13 Feb 2008 23:46:44 +0000 (23:46 +0000)]
Use @docdir@ for the docdir makefile variable.

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

16 years agoCheck for ar and ranlib in the configure script.
thurston [Wed, 13 Feb 2008 23:11:16 +0000 (23:11 +0000)]
Check for ar and ranlib in the configure script.

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

16 years agoMenTaLguY needs to be in here.
thurston [Thu, 31 Jan 2008 17:16:53 +0000 (17:16 +0000)]
MenTaLguY needs to be in here.

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

16 years agoRemoved a comment that became invalid.
thurston [Sun, 13 Jan 2008 23:21:15 +0000 (23:21 +0000)]
Removed a comment that became invalid.

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

16 years agoAdded -V to the manual. Removed redundant description of visualization.
thurston [Sun, 13 Jan 2008 23:17:31 +0000 (23:17 +0000)]
Added -V to the manual. Removed redundant description of visualization.
Replaced it with a reference to the visualization section.

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

16 years agoUpdates to ChangeLog and release notes and the 6.0 version number.
thurston [Sat, 12 Jan 2008 18:33:02 +0000 (18:33 +0000)]
Updates to ChangeLog and release notes and the 6.0 version number.

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

16 years agoRemoved debug message. Fixed const-correctness.
thurston [Sat, 12 Jan 2008 00:46:33 +0000 (00:46 +0000)]
Removed debug message. Fixed const-correctness.

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

16 years agoEditing pass.
thurston [Sat, 12 Jan 2008 00:23:47 +0000 (00:23 +0000)]
Editing pass.

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

16 years agoRewrote the material taken from the changelog.
thurston [Sat, 12 Jan 2008 00:05:38 +0000 (00:05 +0000)]
Rewrote the material taken from the changelog.

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

16 years agoStarted on release notes for version 6.
thurston [Fri, 11 Jan 2008 23:24:21 +0000 (23:24 +0000)]
Started on release notes for version 6.

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

16 years agoSelf-host with 6.0.
thurston [Fri, 11 Jan 2008 23:14:17 +0000 (23:14 +0000)]
Self-host with 6.0.

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

16 years agotokstart => ts and tokend => te
thurston [Fri, 11 Jan 2008 20:20:26 +0000 (20:20 +0000)]
tokstart => ts and tokend => te

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

16 years agoThe "tokstart" and "tokend" variables were changed to "ts" and "te".
thurston [Fri, 11 Jan 2008 20:18:27 +0000 (20:18 +0000)]
The "tokstart" and "tokend" variables were changed to "ts" and "te".

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

16 years agoMore documentation of 6.0.
thurston [Fri, 11 Jan 2008 19:04:41 +0000 (19:04 +0000)]
More documentation of 6.0.

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

16 years agoThe fbreak statement now advances p.
thurston [Fri, 11 Jan 2008 18:38:04 +0000 (18:38 +0000)]
The fbreak statement now advances p.

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

16 years agoPrevent the left machine from persisting through :>> via an empty string on the
thurston [Fri, 11 Jan 2008 03:26:36 +0000 (03:26 +0000)]
Prevent the left machine from persisting through :>> via an empty string on the
right.

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

16 years agoDon't allow the left machine of <: to escape through the right machine via the
thurston [Fri, 11 Jan 2008 02:47:13 +0000 (02:47 +0000)]
Don't allow the left machine of <: to escape through the right machine via the
empty string.

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

16 years agoIf -M or -S are given and we're not generating a dot file then invoke the
thurston [Fri, 11 Jan 2008 02:10:13 +0000 (02:10 +0000)]
If -M or -S are given and we're not generating a dot file then invoke the
frontend. These options are not useful with code generators.

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

16 years agoAdded missing operators.
thurston [Fri, 11 Jan 2008 01:52:51 +0000 (01:52 +0000)]
Added missing operators.

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

16 years agoChanged -f option to -x. Added backend options that are now in the frontend to
thurston [Fri, 11 Jan 2008 01:43:10 +0000 (01:43 +0000)]
Changed -f option to -x. Added backend options that are now in the frontend to
the man page.

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

16 years agoChanged -f option to -x.
thurston [Fri, 11 Jan 2008 01:42:24 +0000 (01:42 +0000)]
Changed -f option to -x.

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

16 years agoTab expansion.
thurston [Thu, 10 Jan 2008 23:08:12 +0000 (23:08 +0000)]
Tab expansion.

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

16 years agoEditing pass of chapter 6.
thurston [Thu, 10 Jan 2008 23:03:06 +0000 (23:03 +0000)]
Editing pass of chapter 6.

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

16 years agoMore fixes to chapter 5.
thurston [Thu, 10 Jan 2008 21:56:07 +0000 (21:56 +0000)]
More fixes to chapter 5.

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

16 years agoEdits to chapter 5.
thurston [Thu, 10 Jan 2008 21:22:04 +0000 (21:22 +0000)]
Edits to chapter 5.

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

16 years agoEdits to chapter four.
thurston [Thu, 10 Jan 2008 20:33:01 +0000 (20:33 +0000)]
Edits to chapter four.

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

16 years agoUse the phrase "leaving" instead of "pending out".
thurston [Thu, 10 Jan 2008 19:26:23 +0000 (19:26 +0000)]
Use the phrase "leaving" instead of "pending out".

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

16 years agoEditing of chapter three. Removed the main label and reduced the state size in
thurston [Thu, 10 Jan 2008 18:52:06 +0000 (18:52 +0000)]
Editing of chapter three. Removed the main label and reduced the state size in
the two diagrams that need to the updated for 6.0.

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

16 years agoUpdates to the second half of chapter two.
thurston [Thu, 10 Jan 2008 05:06:00 +0000 (05:06 +0000)]
Updates to the second half of chapter two.

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

16 years agoImprovments to chapter 2.
thurston [Thu, 10 Jan 2008 00:25:01 +0000 (00:25 +0000)]
Improvments to chapter 2.

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

16 years agoPatch from Kenny MacDermid, runs ranlib on archives.
thurston [Wed, 9 Jan 2008 03:43:00 +0000 (03:43 +0000)]
Patch from Kenny MacDermid, runs ranlib on archives.

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

16 years agoMore fixes for ruby 1.9.
thurston [Sat, 5 Jan 2008 21:10:11 +0000 (21:10 +0000)]
More fixes for ruby 1.9.

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

16 years agoFixes for ruby 1.9.
thurston [Sat, 5 Jan 2008 21:05:44 +0000 (21:05 +0000)]
Fixes for ruby 1.9.

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

16 years agoAdded note.
thurston [Sat, 5 Jan 2008 17:13:08 +0000 (17:13 +0000)]
Added note.

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

16 years agoFixes for gcc 4.3.
thurston [Sat, 5 Jan 2008 03:41:33 +0000 (03:41 +0000)]
Fixes for gcc 4.3.

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

16 years agoFixes for compiling with gcc 4.3.
thurston [Sat, 5 Jan 2008 03:01:37 +0000 (03:01 +0000)]
Fixes for compiling with gcc 4.3.

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

16 years agoRemainder of warnings fixed.
thurston [Sat, 5 Jan 2008 02:53:06 +0000 (02:53 +0000)]
Remainder of warnings fixed.

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

16 years agoMore warning elimination concerning constness.
thurston [Sat, 5 Jan 2008 01:53:40 +0000 (01:53 +0000)]
More warning elimination concerning constness.

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

16 years agoMade paramSpec in ParamCheck a const char*.
thurston [Sat, 5 Jan 2008 01:13:20 +0000 (01:13 +0000)]
Made paramSpec in ParamCheck a const char*.

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

16 years agoMore warning elimination.
thurston [Fri, 4 Jan 2008 23:57:58 +0000 (23:57 +0000)]
More warning elimination.

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

16 years agoEliminated warnings from gcc 4.3 about conversion from string constants to
thurston [Fri, 4 Jan 2008 23:52:42 +0000 (23:52 +0000)]
Eliminated warnings from gcc 4.3 about conversion from string constants to
char* and about && within ||.

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

16 years agoUpdates to chapter one.
thurston [Fri, 4 Jan 2008 01:14:05 +0000 (01:14 +0000)]
Updates to chapter one.

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

16 years agoStarted on ChangeLog for 6.0. Improved documentation of name finding.
thurston [Thu, 3 Jan 2008 23:42:58 +0000 (23:42 +0000)]
Started on ChangeLog for 6.0. Improved documentation of name finding.

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

16 years agoAdded David Waite.
thurston [Thu, 3 Jan 2008 22:23:14 +0000 (22:23 +0000)]
Added David Waite.

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

16 years agoMerged in docs from 5.25 release
thurston [Thu, 3 Jan 2008 22:22:23 +0000 (22:22 +0000)]
Merged in docs from 5.25 release

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

16 years agoPatch from David Waite:
thurston [Thu, 3 Jan 2008 22:07:11 +0000 (22:07 +0000)]
Patch from David Waite:

Large arrays are now created by copying in the data from smaller arrays using
System.arraycopy(). This eliminates the debug data associated with explicit
initialization statements. It is also much easier on the java compiler which
can run out of memory compiling very large machines. The downside is that it
takes slightly longer to initialize static data.

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

16 years agoImprovements to the action ordering and duplicates section. Explicitly stated
thurston [Wed, 26 Dec 2007 18:19:40 +0000 (18:19 +0000)]
Improvements to the action ordering and duplicates section. Explicitly stated
that ragel does not compare action text. This tripped up a user.

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

16 years agoAdded missing initialization for dataExpr. Crash reported by Ryan Phelps.
thurston [Mon, 24 Dec 2007 20:48:37 +0000 (20:48 +0000)]
Added missing initialization for dataExpr. Crash reported by Ryan Phelps.

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

16 years agoOne of the ST_* macros collides with a macro in windows.h.
thurston [Wed, 24 Oct 2007 22:54:01 +0000 (22:54 +0000)]
One of the ST_* macros collides with a macro in windows.h.

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

16 years agoDot file generation can now be invoked using the -V option to the parent. We
thurston [Wed, 24 Oct 2007 20:46:27 +0000 (20:46 +0000)]
Dot file generation can now be invoked using the -V option to the parent. We
now require an input file. If standard in is used then we don't have a file
name on which to base the output.

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

16 years agoAdded comment.
thurston [Wed, 24 Oct 2007 17:42:54 +0000 (17:42 +0000)]
Added comment.

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

16 years agoNow spawning child processes on windows.
thurston [Wed, 24 Oct 2007 17:37:17 +0000 (17:37 +0000)]
Now spawning child processes on windows.

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

16 years agoPath checks for windows.
thurston [Wed, 24 Oct 2007 16:47:17 +0000 (16:47 +0000)]
Path checks for windows.

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

16 years agoFactored out the the fork+exec.
thurston [Wed, 24 Oct 2007 15:57:21 +0000 (15:57 +0000)]
Factored out the the fork+exec.

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

16 years agoAble to build native windows executables using Cygwin+MinGW. Still need to port
thurston [Wed, 24 Oct 2007 15:15:38 +0000 (15:15 +0000)]
Able to build native windows executables using Cygwin+MinGW. Still need to port
the executable location searching and fork+exec code.

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

16 years agoRather than have the frontend process call the backend, the ragel program now
thurston [Wed, 24 Oct 2007 00:38:48 +0000 (00:38 +0000)]
Rather than have the frontend process call the backend, the ragel program now
calls the frontend (itself with the -f option) and the backend.

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

16 years agoThe backend is now called by the ragel program; updated the test harness and
thurston [Tue, 23 Oct 2007 22:38:45 +0000 (22:38 +0000)]
The backend is now called by the ragel program; updated the test harness and
the examples makefile.

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

16 years agoCheck the status of the backend.
thurston [Tue, 23 Oct 2007 22:14:42 +0000 (22:14 +0000)]
Check the status of the backend.

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

16 years agoChanged the -l option in rlgen-cd to -L because it is covered in the frontend.
thurston [Tue, 23 Oct 2007 21:59:10 +0000 (21:59 +0000)]
Changed the -l option in rlgen-cd to -L because it is covered in the frontend.
Added a passthrough in the frontend for the backend options.

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

16 years agoAdded cfilebuf, which wrappes a FILE struct.
thurston [Tue, 23 Oct 2007 21:50:03 +0000 (21:50 +0000)]
Added cfilebuf, which wrappes a FILE struct.

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

16 years agoNow executing the backend.
thurston [Tue, 23 Oct 2007 21:36:52 +0000 (21:36 +0000)]
Now executing the backend.

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

16 years agoAdded name finding for backend executable. If any forward slash is found in
thurston [Tue, 23 Oct 2007 02:17:07 +0000 (02:17 +0000)]
Added name finding for backend executable. If any forward slash is found in
argv0 then it is assumed that the path is explicit and the path to the backend
executable should be derived from that. If no forward slash is found it is
assumed the file is being run from the installed location. The PREFIX supplied
during configuration is used.

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

16 years agoThe 'write eof' statement no longer exists.
thurston [Mon, 22 Oct 2007 20:35:41 +0000 (20:35 +0000)]
The 'write eof' statement no longer exists.

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

16 years agoAdded description of eof variable. Updated description of error actions.
thurston [Mon, 22 Oct 2007 20:24:35 +0000 (20:24 +0000)]
Added description of eof variable. Updated description of error actions.

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

16 years agoUpdated the description of error actions to reflect the EOF embedding when the
thurston [Mon, 22 Oct 2007 03:42:09 +0000 (03:42 +0000)]
Updated the description of error actions to reflect the EOF embedding when the
state is not final when compilation is complete.

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

16 years agoUpdated documentation for pending out actions: noted the EOF action embedding
thurston [Mon, 22 Oct 2007 02:19:20 +0000 (02:19 +0000)]
Updated documentation for pending out actions: noted the EOF action embedding
into a final state that remains final when compilation is complete. Regenerated
the exaction example because it uses entering actions and the start state is
final.

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

16 years agoUpdated description of the entering action operator. The fixbackbox.awk script
thurston [Sun, 21 Oct 2007 00:32:35 +0000 (00:32 +0000)]
Updated description of the entering action operator. The fixbackbox.awk script
is no longer needed for genfigs.sh. The genfigs.sh script now uses ragel and
rlgen-dot from the current source tree, not the ones on the system.

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

16 years agoImprovements to intro and layout in state embedding sections.
thurston [Thu, 18 Oct 2007 23:18:36 +0000 (23:18 +0000)]
Improvements to intro and layout in state embedding sections.

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

16 years agoThese examples need the eof pointer now that >, % and error actions also embed
thurston [Thu, 18 Oct 2007 01:11:31 +0000 (01:11 +0000)]
These examples need the eof pointer now that >, % and error actions also embed
into the EOF event.

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