<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div sab="68"><span sab="69"></span></div><div sab="70"></div><div sab="71">My command line is Setup to Generate C# code - Note the -A option</div><div sab="71"><br></div><div sab="71">c:\Ragel\ragel -A -G1 -L -o C:\Ragel\Machine.cs C:\Ragel\Machine_actions.rl</div><div sab="71"><br></div><div sab="71">Here is a portion of the code it generated. This is Win7 if it matters. </div><div sab="71"><br></div><div sab="71">#include <stdio.h><br>#include <string.h></div><div sab="71"><br>/* #line 8 "C:\\Ragel\\Machine.cs" */<br>const int ASCII_Machine_1_start = 1;<br>const int ASCII_Machine_1_first_final = 6;<br>const int ASCII_Machine_1_error = 0;</div><div sab="71">const int ASCII_Machine_1_en_main = 1;</div><div sab="71"><br>/* #line 17 "C:/Ragel/Machine_actions.rl" */</div><div
sab="71">int parse(char* string)<br>{<br> int cs;<br> int res=0;<br> char *p, *pe;</div><div sab="71"> p = string;<br> pe = p + strlen(string);</div><div sab="71"><br></div><div sab="71">I may be new to all this but it looks like C code Not C#</div><div sab="71">#include files are allowed in C#</div><div sab="71">strlen is not a valid Keyword in C# .</div><div sab="71"> Am I doing something incorrect in the command Line ?</div><div sab="71"><br></div><div sab="71">Thanks</div><div sab="71"><br></div><div sab="72">Jerry</div></div></body></html>