external/ragel.git
15 years agoRemoved the dist-hook in Makefile.am. Touching the files doesn't seem to work
thurston [Mon, 18 May 2009 14:40:02 +0000 (14:40 +0000)]
Removed the dist-hook in Makefile.am. Touching the files doesn't seem to work
after all. Not sure why. Just going to modify build_parsers and build_manual
using the release script before invoking make dist.

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

15 years agoSomehow r663, which contained a fix for 64bit, got checked in as a null change
thurston [Mon, 18 May 2009 14:37:42 +0000 (14:37 +0000)]
Somehow r663, which contained a fix for 64bit, got checked in as a null change
(whitespace only). This fixes that.

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

15 years agoBrought back the dist hook with an improvement. To get around the reconfiguring
thurston [Sat, 18 Apr 2009 17:58:07 +0000 (17:58 +0000)]
Brought back the dist hook with an improvement. To get around the reconfiguring
of a freshly configured dist that is caused by changing the modified time of
configure and configure.in, we can use "cp -p" "touch -r" to reset the
timestamp of the modified files. Note that "make dist" is a maintainer activity
so these don't need to be portable.

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

15 years agoA couple changes from Josef Goettgens.
thurston [Tue, 14 Apr 2009 02:35:43 +0000 (02:35 +0000)]
A couple changes from Josef Goettgens.

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

15 years agoRemoved the dist-hook. Just going to use ragel-release for changing
thurston [Thu, 9 Apr 2009 02:39:13 +0000 (02:39 +0000)]
Removed the dist-hook. Just going to use ragel-release for changing
build_parsers. Added the ragel and kelbt sources to EXTRA_DIST. Fixed the
wrapper around the checks for ragel and kelbt in the configure script.

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

15 years agoAdded contrib to the automake system.
thurston [Sat, 4 Apr 2009 22:39:03 +0000 (22:39 +0000)]
Added contrib to the automake system.

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

15 years agoAutomake support for Ragel from Flameeyes.
thurston [Sat, 4 Apr 2009 21:59:32 +0000 (21:59 +0000)]
Automake support for Ragel from Flameeyes.

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

15 years agoPut the CLEANFILES for the parsers inside the BUILD_PARSERS check. Added
thurston [Sat, 4 Apr 2009 18:04:53 +0000 (18:04 +0000)]
Put the CLEANFILES for the parsers inside the BUILD_PARSERS check. Added
Makefile.in to svn:ignore in doc/.

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

15 years agoAdded doc to automake control. Using another conditional to control the
thurston [Sat, 4 Apr 2009 18:02:13 +0000 (18:02 +0000)]
Added doc to automake control. Using another conditional to control the
building of the manual. We don't want it built in the dist because the build
dependencies cannot be expected to exist.

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

15 years agoUpdated the svn:ignore in test, added EXTRA_DIST so that tests get added to the
thurston [Sat, 4 Apr 2009 15:58:50 +0000 (15:58 +0000)]
Updated the svn:ignore in test, added EXTRA_DIST so that tests get added to the
distribution, and added CLEANFILES.

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

15 years agoMoved the authoritative VERSION and PUBDATE to configure.in. Now generating
thurston [Sat, 4 Apr 2009 15:45:35 +0000 (15:45 +0000)]
Moved the authoritative VERSION and PUBDATE to configure.in. Now generating
runtests from runtests.in so we can get the compiler substitutions in runtests.
Also using automake in test/.

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

15 years agoMerged in the ragel-6.4-am branch.
thurston [Sat, 4 Apr 2009 01:36:17 +0000 (01:36 +0000)]
Merged in the ragel-6.4-am branch.

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

15 years agoCS is in use on OpenSolaris, changed to vCS(). Changed EOFV() to vEOF(). The
thurston [Sat, 28 Mar 2009 15:55:32 +0000 (15:55 +0000)]
CS is in use on OpenSolaris, changed to vCS(). Changed EOFV() to vEOF(). The
little v in front looks better than the big V on the end.

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

15 years agoCan't pass item->nameTarg->id into makeTargetItem. Just pass item->nameTarg and
thurston [Thu, 26 Mar 2009 02:07:09 +0000 (02:07 +0000)]
Can't pass item->nameTarg->id into makeTargetItem. Just pass item->nameTarg and
derefence it after checking generatingSectionSubset. This bug crept in during
the merge of the frontend and backend and only showed up when using -V and -M
and the specified machine referenced another machine that didn't exist.

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

15 years agoRemoved references to intermediate file parsers.
thurston [Sun, 22 Mar 2009 16:35:41 +0000 (16:35 +0000)]
Removed references to intermediate file parsers.

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

15 years agoDon't try to install the backend manual pages.
thurston [Sun, 22 Mar 2009 16:01:01 +0000 (16:01 +0000)]
Don't try to install the backend manual pages.

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

15 years agodon't need the codegen variable
thurston [Sun, 22 Mar 2009 16:00:42 +0000 (16:00 +0000)]
don't need the codegen variable

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

15 years agoDocumentation for 6.4.
thurston [Sun, 22 Mar 2009 15:57:18 +0000 (15:57 +0000)]
Documentation for 6.4.

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

15 years agoAdded to paragraph on build_parsers.
thurston [Sun, 22 Mar 2009 15:55:48 +0000 (15:55 +0000)]
Added to paragraph on build_parsers.

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

15 years agoDocumented:
thurston [Sun, 22 Mar 2009 15:50:51 +0000 (15:50 +0000)]
Documented:
write start;
write first_final;
and write error;

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

15 years agoGot XML output working.
thurston [Sun, 22 Mar 2009 01:26:32 +0000 (01:26 +0000)]
Got XML output working.

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

15 years agoThe main inputData (id) is no longer a global. It is allocated in main() before proce...
thurston [Sat, 21 Mar 2009 20:23:13 +0000 (20:23 +0000)]
The main inputData (id) is no longer a global. It is allocated in main() before processing arguments.

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

15 years agoMoved some global data into InputData. Not all there yet.
thurston [Sat, 21 Mar 2009 20:15:43 +0000 (20:15 +0000)]
Moved some global data into InputData. Not all there yet.

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

15 years agoRemoved wantComplete and outputActive from InputData. The wantComplete var is
thurston [Sat, 21 Mar 2009 15:10:35 +0000 (15:10 +0000)]
Removed wantComplete and outputActive from InputData. The wantComplete var is
used in CodeGenData and can be set when the code generator is allocated. It
doesn't need to be passed in from the main routine. The outputActive var is not
used.

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

15 years agoOnly one executable now. Specified which frontend languages support which code
thurston [Thu, 19 Mar 2009 02:23:50 +0000 (02:23 +0000)]
Only one executable now. Specified which frontend languages support which code
generation options. Added the -x option to the visualization section (whole
dedicated section necessary?).

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

15 years agoUpdated usage information concerning which host languages support which code
thurston [Wed, 18 Mar 2009 03:03:38 +0000 (03:03 +0000)]
Updated usage information concerning which host languages support which code
styles.

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

15 years agoAdded a couple missing periods.
thurston [Wed, 18 Mar 2009 03:01:28 +0000 (03:01 +0000)]
Added a couple missing periods.

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

15 years agoRemoved backend manual pages.
thurston [Wed, 18 Mar 2009 03:00:33 +0000 (03:00 +0000)]
Removed backend manual pages.

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

15 years agoMerged in remaining manual pages.
thurston [Wed, 18 Mar 2009 02:58:46 +0000 (02:58 +0000)]
Merged in remaining manual pages.

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

15 years agoMerged in rlgen-java.1.in.
thurston [Wed, 18 Mar 2009 02:45:24 +0000 (02:45 +0000)]
Merged in rlgen-java.1.in.

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

15 years agoMerged contents of rlgen-cd.1.in into ragel.1.in.
thurston [Wed, 18 Mar 2009 02:39:58 +0000 (02:39 +0000)]
Merged contents of rlgen-cd.1.in into ragel.1.in.

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

15 years agoThe terminateAllParsers function moved into InputData.
thurston [Mon, 16 Mar 2009 01:58:23 +0000 (01:58 +0000)]
The terminateAllParsers function moved into InputData.

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

15 years agoImproved graphviz output and got -M and -S working again.
thurston [Sun, 15 Mar 2009 22:55:19 +0000 (22:55 +0000)]
Improved graphviz output and got -M and -S working again.

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

15 years agoSome function renaming.
thurston [Sun, 15 Mar 2009 15:03:28 +0000 (15:03 +0000)]
Some function renaming.

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

15 years agoCleanup and code movement related to makeCodeGen.
thurston [Sun, 15 Mar 2009 14:34:17 +0000 (14:34 +0000)]
Cleanup and code movement related to makeCodeGen.

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

15 years agoSome more cleanup. Put a pointer to CodeGenData in ParseData and eliminate codeGenMap...
thurston [Sun, 15 Mar 2009 14:18:58 +0000 (14:18 +0000)]
Some more cleanup. Put a pointer to CodeGenData in ParseData and eliminate codeGenMap from InputData.

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

15 years agoA bit more cleanup.
thurston [Sun, 15 Mar 2009 13:53:33 +0000 (13:53 +0000)]
A bit more cleanup.

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

15 years agoSome cleanup of output stream opening.
thurston [Sun, 15 Mar 2009 13:47:53 +0000 (13:47 +0000)]
Some cleanup of output stream opening.

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

15 years agoWe don't need to create allocate the outpute file stream and open the file at
thurston [Sun, 15 Mar 2009 01:19:07 +0000 (01:19 +0000)]
We don't need to create allocate the outpute file stream and open the file at
the same time. Allocate the stream when the code generator is allocated, but
open the output after the reduced machine is fully built, just before the
write.

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

15 years agoUpdated the help output. Moved some code from InputData:: to main.
thurston [Sat, 14 Mar 2009 16:56:37 +0000 (16:56 +0000)]
Updated the help output. Moved some code from InputData:: to main.

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

15 years agoNeed line directives ahead of the host blocks.
thurston [Mon, 26 Jan 2009 17:00:26 +0000 (17:00 +0000)]
Need line directives ahead of the host blocks.

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

15 years agoDon't need the gperf keyword seaching anymore.
thurston [Mon, 26 Jan 2009 16:54:50 +0000 (16:54 +0000)]
Don't need the gperf keyword seaching anymore.

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

15 years agoFixed a problem reading hex numbers that have the high bit set when the
thurston [Fri, 23 Jan 2009 17:35:33 +0000 (17:35 +0000)]
Fixed a problem reading hex numbers that have the high bit set when the
alphabet is signed and on 64 bit. Reported by _why. Fix provided by Wialliam
Morgan. The literal 0xffffffff was used for a fully set long when -1L should be
used instead.

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

15 years agoadded:
thurston [Sun, 4 Jan 2009 21:23:15 +0000 (21:23 +0000)]
added:
    write start;
    write first_final;
    write error;

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

15 years agoChanged the names of the variables that represent the no* options.
thurston [Sun, 4 Jan 2009 20:39:52 +0000 (20:39 +0000)]
Changed the names of the variables that represent the no* options.

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

15 years agoFixed a copy-paste error reported by Jose Quinteiro.
thurston [Thu, 11 Dec 2008 04:40:50 +0000 (04:40 +0000)]
Fixed a copy-paste error reported by Jose Quinteiro.

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

15 years agoUpdated the header define wrapper since renaming.
thurston [Sat, 15 Nov 2008 20:56:04 +0000 (20:56 +0000)]
Updated the header define wrapper since renaming.

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

15 years agoRemoved the hyphens from the file names.
thurston [Sat, 15 Nov 2008 18:40:25 +0000 (18:40 +0000)]
Removed the hyphens from the file names.

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

15 years agoMore renaming.
thurston [Sat, 15 Nov 2008 18:13:22 +0000 (18:13 +0000)]
More renaming.

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

15 years agoMore cleanup ... dot and ruby file names.
thurston [Sat, 15 Nov 2008 03:43:38 +0000 (03:43 +0000)]
More cleanup ... dot and ruby file names.

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

15 years agoCleanup of dot code generation.
thurston [Sat, 15 Nov 2008 03:19:05 +0000 (03:19 +0000)]
Cleanup of dot code generation.

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

15 years agoCleanup of the C/D code generator.
thurston [Sat, 15 Nov 2008 01:33:13 +0000 (01:33 +0000)]
Cleanup of the C/D code generator.

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

15 years agoSome cleanup of the java code generation files.
thurston [Sat, 15 Nov 2008 00:51:53 +0000 (00:51 +0000)]
Some cleanup of the java code generation files.

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

15 years agoRemoved the now missing makefiles from the list of files to generate in the
thurston [Sat, 15 Nov 2008 00:25:15 +0000 (00:25 +0000)]
Removed the now missing makefiles from the list of files to generate in the
configure script. Changed the csharp- prefix to cs-. Remove the
cs-rlgen-csharp.h and cs-main.cpp files.

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

15 years agoDon't need the redfsm directory anymore.
thurston [Fri, 14 Nov 2008 23:59:37 +0000 (23:59 +0000)]
Don't need the redfsm directory anymore.

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

15 years agoMoved all the code into the ragel directory.
thurston [Fri, 14 Nov 2008 23:58:13 +0000 (23:58 +0000)]
Moved all the code into the ragel directory.

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

15 years agoErich Ocean did more than just Objective-C code generation -- he contributed a
thurston [Thu, 13 Nov 2008 18:59:20 +0000 (18:59 +0000)]
Erich Ocean did more than just Objective-C code generation -- he contributed a
lot of feedback.

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

16 years agoMore refactoring in the layer between backend and frontend.
thurston [Mon, 27 Oct 2008 18:26:31 +0000 (18:26 +0000)]
More refactoring in the layer between backend and frontend.

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

16 years agoMinor refactoring. Added inputdata.h, which was left behind during previous
thurston [Mon, 27 Oct 2008 16:04:14 +0000 (16:04 +0000)]
Minor refactoring. Added inputdata.h, which was left behind during previous
commits.

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

16 years agoSome more movement of code and data within the layer between frontend and
thurston [Sun, 26 Oct 2008 19:28:44 +0000 (19:28 +0000)]
Some more movement of code and data within the layer between frontend and
backend. Needs more cleanup.

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

16 years agoSome more refactoring following the elimination of the intermediate file. Don't
thurston [Sun, 26 Oct 2008 18:03:11 +0000 (18:03 +0000)]
Some more refactoring following the elimination of the intermediate file. Don't
need XmlParser. Now using a new struct InputData instead.

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

16 years agosome refactoring
thurston [Sun, 26 Oct 2008 03:20:16 +0000 (03:20 +0000)]
some refactoring

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

16 years agoMore work on the direct connection between frontend and backend. Now appears to
thurston [Sun, 26 Oct 2008 01:36:54 +0000 (01:36 +0000)]
More work on the direct connection between frontend and backend. Now appears to
work. Test suite is passing.

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

16 years agoThe rest of the direct-to-backend code. Not tested yet.
thurston [Fri, 24 Oct 2008 22:37:40 +0000 (22:37 +0000)]
The rest of the direct-to-backend code. Not tested yet.

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

16 years agoImplemented makeLmSwitch and started making calls to makeGenInlineList.
thurston [Sun, 19 Oct 2008 17:30:44 +0000 (17:30 +0000)]
Implemented makeLmSwitch and started making calls to makeGenInlineList.

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

16 years agoScript for generating unicode machines. From Rakan El-Khalil.
thurston [Thu, 9 Oct 2008 23:29:27 +0000 (23:29 +0000)]
Script for generating unicode machines. From Rakan El-Khalil.

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

16 years agomore work on the building of backend inline lists
thurston [Wed, 8 Oct 2008 21:10:46 +0000 (21:10 +0000)]
more work on the building of backend inline lists

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

16 years agoGet ragel working again while the direct-to-backend code is being written.
thurston [Wed, 8 Oct 2008 20:01:44 +0000 (20:01 +0000)]
Get ragel working again while the direct-to-backend code is being written.

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

16 years agoremoved unused function
thurston [Wed, 8 Oct 2008 19:49:25 +0000 (19:49 +0000)]
removed unused function

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

16 years agoImplemented more of the direct access to the backend.
thurston [Wed, 8 Oct 2008 18:42:32 +0000 (18:42 +0000)]
Implemented more of the direct access to the backend.

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

16 years agoStarted working on the direct construction of the backend inline item lists.
thurston [Wed, 8 Oct 2008 18:27:39 +0000 (18:27 +0000)]
Started working on the direct construction of the backend inline item lists.

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

16 years agoNeed preserve xml code generation and duplicate+migrate to direct backend data
thurston [Wed, 8 Oct 2008 18:06:42 +0000 (18:06 +0000)]
Need preserve xml code generation and duplicate+migrate to direct backend data
generation. This commit brings back some of the xml code generation code that
was migrated to direct.

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

16 years agoMore work on the direct access to the backend. The xml code gen should be
thurston [Wed, 8 Oct 2008 17:47:19 +0000 (17:47 +0000)]
More work on the direct access to the backend. The xml code gen should be
preserved, not converted. Going to have to bring back some changed code.

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

16 years agoThe action of the <ragel_def> tag was made into a direct function call.
thurston [Tue, 7 Oct 2008 22:01:55 +0000 (22:01 +0000)]
The action of the <ragel_def> tag was made into a direct function call.

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

16 years agoDon't need to pass the language as a string, just use hostLang.
thurston [Tue, 7 Oct 2008 20:58:05 +0000 (20:58 +0000)]
Don't need to pass the language as a string, just use hostLang.

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

16 years agoStarting to elminated the XML intermediate file. Removed the outter <ragel>
thurston [Tue, 7 Oct 2008 20:45:56 +0000 (20:45 +0000)]
Starting to elminated the XML intermediate file. Removed the outter <ragel>
tag. This required including xmlparse into the frontend files. One name clash
of ActionTableMap had to be fixed. It also required fixing some const
correctness problems.

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

16 years ago"eof" is no longer a write command.
thurston [Tue, 7 Oct 2008 19:44:36 +0000 (19:44 +0000)]
"eof" is no longer a write command.

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

16 years agoemail address update: thurston@cs.queensu.ca -> thurston@complang.org
thurston [Tue, 7 Oct 2008 19:36:00 +0000 (19:36 +0000)]
email address update: thurston@cs.queensu.ca -> thurston@complang.org

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

16 years agoIn kelbt 0.13 the eof token is prefixed with the parser name. Also updated the
thurston [Tue, 7 Oct 2008 02:25:13 +0000 (02:25 +0000)]
In kelbt 0.13 the eof token is prefixed with the parser name. Also updated the
copyright year for -v, --version.

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

16 years agoAdded support for DESTDIR variable. Patch from Diego 'Flameeyes' Pettenò.
thurston [Mon, 6 Oct 2008 17:16:07 +0000 (17:16 +0000)]
Added support for DESTDIR variable. Patch from Diego 'Flameeyes' Pettenò.

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

16 years agoUse CXXFLAGS instead of CFLAGS for C++ compiling. Patch from Diego 'Flameeyes'
thurston [Mon, 6 Oct 2008 16:49:50 +0000 (16:49 +0000)]
Use CXXFLAGS instead of CFLAGS for C++ compiling. Patch from Diego 'Flameeyes'
Pettenò.

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

16 years agoremoved redundant error check
thurston [Mon, 6 Oct 2008 16:42:34 +0000 (16:42 +0000)]
removed redundant error check

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

16 years agoA fix to the documentation makefile from John D. Mitchell.
thurston [Sun, 7 Sep 2008 22:14:53 +0000 (22:14 +0000)]
A fix to the documentation makefile from John D. Mitchell.

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

16 years agoNow supplying the XmlParser to writeMachines.
thurston [Mon, 1 Sep 2008 23:31:52 +0000 (23:31 +0000)]
Now supplying the XmlParser to writeMachines.

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

16 years agoThe XML parser and scanner are now created in ragel/main.cpp. These structures
thurston [Mon, 1 Sep 2008 22:50:27 +0000 (22:50 +0000)]
The XML parser and scanner are now created in ragel/main.cpp. These structures
can now be made accessible during the writing of the XML file, allowing
incremental bypassing of the XML file.

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

16 years agoRenaming to avoid name conflicts following the merge of the frontend and backend.
thurston [Mon, 1 Sep 2008 16:45:30 +0000 (16:45 +0000)]
Renaming to avoid name conflicts following the merge of the frontend and backend.

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

16 years agoBackend main functions are now factored out.
thurston [Sun, 31 Aug 2008 16:44:13 +0000 (16:44 +0000)]
Backend main functions are now factored out.

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

16 years agoRemoved arg passing from frontend to backend functions.
thurston [Sun, 31 Aug 2008 15:45:26 +0000 (15:45 +0000)]
Removed arg passing from frontend to backend functions.

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

16 years agoDot output working again.
thurston [Sat, 30 Aug 2008 23:34:42 +0000 (23:34 +0000)]
Dot output working again.

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

16 years agoStarted on the move back to a single executable. The backend programs are now a
thurston [Sat, 30 Aug 2008 22:17:10 +0000 (22:17 +0000)]
Started on the move back to a single executable. The backend programs are now a
part of the ragel program, with the the frontend and and backend components now
function calls. The intermediate file is still used but eventually it will be
removed.

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

16 years agoNotes on version 6.3.
thurston [Fri, 29 Aug 2008 15:16:00 +0000 (15:16 +0000)]
Notes on version 6.3.

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

16 years agoInclude the root in the include history.
thurston [Fri, 18 Jul 2008 22:59:38 +0000 (22:59 +0000)]
Include the root in the include history.

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

16 years agoTrack the entire include history of a parser state to prevent duplicates.
thurston [Fri, 18 Jul 2008 22:42:08 +0000 (22:42 +0000)]
Track the entire include history of a parser state to prevent duplicates.

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

16 years agoAdded Mitchell Foral.
thurston [Sun, 1 Jun 2008 19:10:35 +0000 (19:10 +0000)]
Added Mitchell Foral.

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

16 years agoIn the condition code we need to copy transitions that have non-empty
thurston [Sun, 1 Jun 2008 19:10:17 +0000 (19:10 +0000)]
In the condition code we need to copy transitions that have non-empty
lmActionTable arrays so we can't assert emptyness in the constructor. Lift out
the assertion and copy the array in the constructor.

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

16 years agoadded item.
thurston [Wed, 28 May 2008 21:01:05 +0000 (21:01 +0000)]
added item.

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

16 years agoFixed crash on failed lookup of goto/call/etc target.
thurston [Mon, 12 May 2008 23:25:01 +0000 (23:25 +0000)]
Fixed crash on failed lookup of goto/call/etc target.

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

16 years agoMake all links black except for citations (of which there are none).
thurston [Mon, 12 May 2008 23:03:00 +0000 (23:03 +0000)]
Make all links black except for citations (of which there are none).

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

16 years agoanother grammar fix
thurston [Fri, 9 May 2008 19:09:30 +0000 (19:09 +0000)]
another grammar fix

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

16 years agoMinor clarity fixes.
thurston [Fri, 9 May 2008 19:08:26 +0000 (19:08 +0000)]
Minor clarity fixes.

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