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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
thurston [Mon, 15 Oct 2007 22:40:06 +0000 (22:40 +0000)]
Go back to 3.X semantics for >, % and error actions. The > operator also embeds
a leaving action/priority into the start state if it is final. If EOF happens
in a state with a leaving operator then leaving action it is executed. If EOF
happens in a non-final state that has an error action, the error action is
executed.
git-svn-id: http://svn.complang.org/ragel/trunk@301
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Mon, 15 Oct 2007 15:59:53 +0000 (15:59 +0000)]
Added an item.
git-svn-id: http://svn.complang.org/ragel/trunk@300
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Wed, 3 Oct 2007 17:11:45 +0000 (17:11 +0000)]
Formatting fix.
git-svn-id: http://svn.complang.org/ragel/trunk@299
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Wed, 3 Oct 2007 16:55:39 +0000 (16:55 +0000)]
Did gotos faked with if statements and execution of EOF transitions for the
flat table code generators.
git-svn-id: http://svn.complang.org/ragel/trunk@298
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Wed, 3 Oct 2007 15:55:44 +0000 (15:55 +0000)]
Gotos faked with if statements and execution of EOF transitions for
RubyFTabCodeGen.
git-svn-id: http://svn.complang.org/ragel/trunk@297
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Wed, 3 Oct 2007 15:20:23 +0000 (15:20 +0000)]
Emulating gotos using a series of if tests. Eof transitions now working.
git-svn-id: http://svn.complang.org/ragel/trunk@296
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Sun, 30 Sep 2007 15:11:17 +0000 (15:11 +0000)]
Need to record when the out label is used.
git-svn-id: http://svn.complang.org/ragel/trunk@295
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Sun, 30 Sep 2007 15:08:13 +0000 (15:08 +0000)]
Updated examples for the first of the 6.0 changes: removed write eof and added
eof pointer.
git-svn-id: http://svn.complang.org/ragel/trunk@294
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Sat, 29 Sep 2007 18:53:32 +0000 (18:53 +0000)]
Scanner EOF transitions are now taken in Java code. Restructured the Java
driver; a switch statement with fallthrough cases are now used to emulate
gotos.
git-svn-id: http://svn.complang.org/ragel/trunk@293
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Fri, 28 Sep 2007 22:12:39 +0000 (22:12 +0000)]
Scanner EOF transitions are now taken (C/D code only).
git-svn-id: http://svn.complang.org/ragel/trunk@292
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Fri, 28 Sep 2007 03:56:01 +0000 (03:56 +0000)]
EOF actions and targets for processing tokens are now set in scanner final
states. EOF transitions (present when an EOF targets are present) are now
passed to the backend and stored. Appropriate code not yet generated.
git-svn-id: http://svn.complang.org/ragel/trunk@291
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Thu, 27 Sep 2007 21:21:09 +0000 (21:21 +0000)]
Not yet supporting minimization of states with eof targets.
git-svn-id: http://svn.complang.org/ragel/trunk@290
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Thu, 27 Sep 2007 16:07:44 +0000 (16:07 +0000)]
Added the eofTarget to StateAp. This will be used only to track the transition
back to the start state in scanners.
git-svn-id: http://svn.complang.org/ragel/trunk@289
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Mon, 24 Sep 2007 21:05:15 +0000 (21:05 +0000)]
Removed the write eof command.
git-svn-id: http://svn.complang.org/ragel/trunk@288
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Mon, 24 Sep 2007 19:47:14 +0000 (19:47 +0000)]
Added an override for the eof variable.
git-svn-id: http://svn.complang.org/ragel/trunk@287
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Mon, 24 Sep 2007 19:02:37 +0000 (19:02 +0000)]
Introcuded the "eof" variable for indicating the end of file. The p variable is
checked against eof when the processing loop is broken out of due to p == pe.
If p == eof at this time then the EOF actions are executed. The variable is
required only when EOF actions have been emebedded.
git-svn-id: http://svn.complang.org/ragel/trunk@286
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Mon, 24 Sep 2007 14:19:13 +0000 (14:19 +0000)]
Added missing include.
git-svn-id: http://svn.complang.org/ragel/trunk@285
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Sun, 23 Sep 2007 17:52:45 +0000 (17:52 +0000)]
Remove the 'noend' write option. This example is referenced a lot and as a
first example it shouldn't contain a special purpose write option like 'noend'.
git-svn-id: http://svn.complang.org/ragel/trunk@284
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Sun, 16 Sep 2007 15:47:18 +0000 (15:47 +0000)]
Documentation for version 5.24.
git-svn-id: http://svn.complang.org/ragel/trunk@282
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Sun, 16 Sep 2007 15:31:54 +0000 (15:31 +0000)]
Added documentation for prepush and postpop.
git-svn-id: http://svn.complang.org/ragel/trunk@281
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Sat, 15 Sep 2007 19:46:38 +0000 (19:46 +0000)]
Added two new statements: prepush and postpop. These are code blocks that are
written out during call and return statements immediately before pushing the
current state to the state stack on a call and immediately after popping the
current state on a return. These can be used to implement a dynamically
resizable stack. Test cases are in test/recdescent?.rl.
git-svn-id: http://svn.complang.org/ragel/trunk@280
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Fri, 14 Sep 2007 01:11:59 +0000 (01:11 +0000)]
Removed non-issue.
git-svn-id: http://svn.complang.org/ragel/trunk@279
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Thu, 13 Sep 2007 17:54:31 +0000 (17:54 +0000)]
If the condition embedding code runs out of available characters in the
keyspace an error message is emitted. A paragraph about this was added to the
manual.
git-svn-id: http://svn.complang.org/ragel/trunk@278
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Thu, 13 Sep 2007 00:49:49 +0000 (00:49 +0000)]
The first example that appears in the manual uses the special-purpose 'noend'
write option. This tends to trip people up. Added a basic example which appears
first.
git-svn-id: http://svn.complang.org/ragel/trunk@277
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Thu, 6 Sep 2007 16:23:17 +0000 (16:23 +0000)]
Patch from Victor Hugo Borja <vic@rubyforge.org>
This patch implements -T1 -F0 -F1 and -G0 in the ruby code generator.
Goto-driven code generation requires rubinius asm directives (specify with
--rbx option). These code generators pass all the ruby tests.
git-svn-id: http://svn.complang.org/ragel/trunk@276
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Thu, 6 Sep 2007 15:01:27 +0000 (15:01 +0000)]
Added some notes on the fixed size stack issue.
git-svn-id: http://svn.complang.org/ragel/trunk@275
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Wed, 8 Aug 2007 20:17:03 +0000 (20:17 +0000)]
Should be crediting Arbor.
git-svn-id: http://svn.complang.org/ragel/trunk@273
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Tue, 7 Aug 2007 14:57:18 +0000 (14:57 +0000)]
Added item.
git-svn-id: http://svn.complang.org/ragel/trunk@272
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Fri, 3 Aug 2007 17:16:55 +0000 (17:16 +0000)]
Updates to TODO and error message.
git-svn-id: http://svn.complang.org/ragel/trunk@271
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Tue, 24 Jul 2007 21:16:08 +0000 (21:16 +0000)]
Documentation for 5.23.
git-svn-id: http://svn.complang.org/ragel/trunk@267
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Mon, 23 Jul 2007 04:27:42 +0000 (04:27 +0000)]
removed done item
git-svn-id: http://svn.complang.org/ragel/trunk@265
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Mon, 23 Jul 2007 04:14:31 +0000 (04:14 +0000)]
Grammar fixes: changing "which" to "that" where appropriate.
git-svn-id: http://svn.complang.org/ragel/trunk@264
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Sun, 22 Jul 2007 02:31:55 +0000 (02:31 +0000)]
Renaming "Entering Actions" to "Starting Actions."
git-svn-id: http://svn.complang.org/ragel/trunk@263
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Fri, 20 Jul 2007 18:59:02 +0000 (18:59 +0000)]
added an item.
git-svn-id: http://svn.complang.org/ragel/trunk@262
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Wed, 11 Jul 2007 18:07:00 +0000 (18:07 +0000)]
Added an item.
git-svn-id: http://svn.complang.org/ragel/trunk@260
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Fri, 6 Jul 2007 16:00:26 +0000 (16:00 +0000)]
Added item to look into.
git-svn-id: http://svn.complang.org/ragel/trunk@259
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Sun, 24 Jun 2007 21:43:34 +0000 (21:43 +0000)]
Remainder of formatting changes.
git-svn-id: http://svn.complang.org/ragel/trunk@258
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Sat, 23 Jun 2007 01:55:56 +0000 (01:55 +0000)]
Formatting updates.
git-svn-id: http://svn.complang.org/ragel/trunk@257
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Fri, 22 Jun 2007 03:50:05 +0000 (03:50 +0000)]
Improved the error message given when there is a write statement but no machine
instantiations and hence no state machine.
git-svn-id: http://svn.complang.org/ragel/trunk@256
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Thu, 21 Jun 2007 00:02:01 +0000 (00:02 +0000)]
Added a section on recursion.
git-svn-id: http://svn.complang.org/ragel/trunk@255
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Wed, 20 Jun 2007 23:43:04 +0000 (23:43 +0000)]
Moved cases around.
git-svn-id: http://svn.complang.org/ragel/trunk@254
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Wed, 20 Jun 2007 23:14:08 +0000 (23:14 +0000)]
Updates to "machine instantiation", "write init" and "write exports" sectons.
Added the "variables used by ragel" section.
git-svn-id: http://svn.complang.org/ragel/trunk@253
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Wed, 20 Jun 2007 20:21:41 +0000 (20:21 +0000)]
Removed references to rlcodegen.
git-svn-id: http://svn.complang.org/ragel/trunk@252
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Tue, 19 Jun 2007 03:22:30 +0000 (03:22 +0000)]
More formatting changes.
git-svn-id: http://svn.complang.org/ragel/trunk@251
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Tue, 19 Jun 2007 02:03:30 +0000 (02:03 +0000)]
Started reworking formatting.
git-svn-id: http://svn.complang.org/ragel/trunk@250
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Tue, 19 Jun 2007 00:30:56 +0000 (00:30 +0000)]
Eliminated the use callcc as an alternative to goto. Instead, the named breaks
implementation used in the java code generator is imitated using control flow
variables.
git-svn-id: http://svn.complang.org/ragel/trunk@249
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Fri, 15 Jun 2007 22:06:54 +0000 (22:06 +0000)]
5.22 date wrong in changelog, fixed.
git-svn-id: http://svn.complang.org/ragel/trunk@248
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Thu, 14 Jun 2007 15:01:51 +0000 (15:01 +0000)]
Updates for release 5.22.
git-svn-id: http://svn.complang.org/ragel/trunk@246
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Thu, 14 Jun 2007 14:10:18 +0000 (14:10 +0000)]
Added variable statement to man page.
git-svn-id: http://svn.complang.org/ragel/trunk@245
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Thu, 14 Jun 2007 03:49:47 +0000 (03:49 +0000)]
Note on the data variable for ruby and java code.
git-svn-id: http://svn.complang.org/ragel/trunk@244
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Thu, 14 Jun 2007 03:46:41 +0000 (03:46 +0000)]
The "data" variable can now be overridden using the variable statement. This is
applicable in Ruby and Java code only.
git-svn-id: http://svn.complang.org/ragel/trunk@243
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Tue, 12 Jun 2007 14:10:03 +0000 (14:10 +0000)]
Added an item.
git-svn-id: http://svn.complang.org/ragel/trunk@242
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Mon, 11 Jun 2007 14:00:19 +0000 (14:00 +0000)]
Adjusted whitespace in xml output.
git-svn-id: http://svn.complang.org/ragel/trunk@241
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Sun, 10 Jun 2007 18:37:09 +0000 (18:37 +0000)]
Documentation updates.
git-svn-id: http://svn.complang.org/ragel/trunk@240
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Sun, 10 Jun 2007 17:21:26 +0000 (17:21 +0000)]
Can cleanup the xml code generation and remove the holdte and execte tags
following the previous commit.
git-svn-id: http://svn.complang.org/ragel/trunk@239
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Sat, 9 Jun 2007 22:01:46 +0000 (22:01 +0000)]
The p varialbe is now set up at the beginning of a scanner action, rather than
at the end. This leaves scanner actions free to manipulate p and removes the
need for the special holdTE and execTE (TE for tokend) versions of hold and
exec. It also removes the need to set p = tokend-1 immediately before any
control flow.
The error handler in LmSwitch actions is now generated by the frontend, rather
than the backend. This became possible when the creation of the error state was
moved to the frontend.
git-svn-id: http://svn.complang.org/ragel/trunk@238
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Sat, 9 Jun 2007 21:35:12 +0000 (21:35 +0000)]
Changed the names of the generated scanner actions to match the types of
generated scanner actions.
git-svn-id: http://svn.complang.org/ragel/trunk@237
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Sat, 9 Jun 2007 21:31:11 +0000 (21:31 +0000)]
Use the variable feature for pullscan.
git-svn-id: http://svn.complang.org/ragel/trunk@236
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Fri, 8 Jun 2007 19:51:30 +0000 (19:51 +0000)]
Include the offset of p in the test.
git-svn-id: http://svn.complang.org/ragel/trunk@235
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Fri, 8 Jun 2007 16:45:24 +0000 (16:45 +0000)]
Put the scanner action generators together.
git-svn-id: http://svn.complang.org/ragel/trunk@234
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Fri, 8 Jun 2007 13:32:42 +0000 (13:32 +0000)]
Updated documentation for -S and -M.
git-svn-id: http://svn.complang.org/ragel/trunk@233
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Fri, 8 Jun 2007 13:31:54 +0000 (13:31 +0000)]
Bug fix: when -S or -M was given the ragel version number was not emitted,
causing the backend to reject the intermediate format. From Tim Potter.
git-svn-id: http://svn.complang.org/ragel/trunk@232
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Sun, 13 May 2007 00:21:33 +0000 (00:21 +0000)]
Need to isolate the start state of a scanner before setting the to-state and
from-state actions which clear and set tokstart.
git-svn-id: http://svn.complang.org/ragel/trunk@230
052ea7fc-9027-0410-9066-
f65837a77df0
thurston [Thu, 10 May 2007 02:35:54 +0000 (02:35 +0000)]
Version 5.21.
git-svn-id: http://svn.complang.org/ragel/trunk@228
052ea7fc-9027-0410-9066-
f65837a77df0