Hmm, the previous code looked like it came from rbxgoto.cpp. This is your Ragel output.
My command line is Setup to Generate C# code - Note the -A option c:\Ragel\ragel -A -G1 -L -o C:\Ragel\Machine.cs C:\Ragel\Machine_actions.rl Here is a portion of the code it generated. This is Win7 if it matters. #include <stdio.h> #include <string.h> /* #line 8 "C:\\Ragel\\Machine.cs" */ const int ASCII_Machine_1_start = 1; const int ASCII_Machine_1_first_final = 6; const int ASCII_Machine_1_error = 0; const int ASCII_Machine_1_en_main = 1; /* #line 17 "C:/Ragel/Machine_actions.rl" */ int parse(char* string) { int cs; int res=0; char *p, *pe; p = string; pe = p + strlen(string); I may be new to all this but it looks like C code Not C# #include files are allowed in C# strlen is not a valid Keyword in C# . Am I doing something incorrect in the command Line ? Thanks Jerry _______________________________________________ ragel-users mailing list ragel-users@complang.org http://www.complang.org/mailman/listinfo/ragel-users
_______________________________________________ ragel-users mailing list ragel-users@complang.org http://www.complang.org/mailman/listinfo/ragel-users