thurston [Fri, 9 Mar 2007 20:16:38 +0000 (20:16 +0000)]
Removed item just completed.
git-svn-id: http://svn.complang.org/ragel/trunk@129
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Fri, 9 Mar 2007 20:16:12 +0000 (20:16 +0000)]
Added an option -l to rlgen-cd which inhibits the the writing of #line
directives.
git-svn-id: http://svn.complang.org/ragel/trunk@128
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Fri, 9 Mar 2007 20:15:31 +0000 (20:15 +0000)]
These now live in rlgen-dot.
git-svn-id: http://svn.complang.org/ragel/trunk@127
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Fri, 9 Mar 2007 19:46:32 +0000 (19:46 +0000)]
Added a new syntax for verbose embeddings. This adds parentheses:
$from(action_name);
Verbose embeddings without parentheses can make code difficult to read
because they force a space in the middle of an action embedding. There is a
tendency to associtate spaces with concatenation. Without syntax
highlighting to make it clear that the embedding type is a keyword, the
problem is especially bad. The danger is that a verbose embedding could be
read as an embedding of the embedding type:
main := 'foo' $from some_action '\n';
With parentheses this statment reads much more clearly.
main := 'foo' $from(some_action) '\n';
git-svn-id: http://svn.complang.org/ragel/trunk@126
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Mon, 5 Mar 2007 14:28:59 +0000 (14:28 +0000)]
Added two entries.
git-svn-id: http://svn.complang.org/ragel/trunk@124
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Sat, 3 Mar 2007 15:13:42 +0000 (15:13 +0000)]
Fixed the distclean target, it was calling clean in the subdirs. Added a define
for strcasecmp which is not available on windows.
git-svn-id: http://svn.complang.org/ragel/trunk@121
052ea7fc-9027-0410-9066-
f65837a77df0
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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