dcsimg
Ignore a part of the input (don't pass to the parser) but save it as a string
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sergej_Zuyev
Posted On:   Wednesday, October 28, 2009 03:30 PM

I'm writing a program allowing to edit c# client source code and php serverscripts in a single file, which has a defined format. Example: properties { client.name <- "Client"; server.name <- "Server"; format <- "JSON"; } implementation {     function GetPlayer      {          client          {          Console.WriteLine("Test");          }          server          {                 More>>

I'm writing a program allowing to edit c# client source code and php serverscripts in a single file, which has a defined format.


Example:



properties

{

client.name <- "Client";

server.name <- "Server";



format <- "JSON";

}



implementation

{

    function GetPlayer

     {

         client

         {

         Console.WriteLine("Test");

         }

         server
         {

             echo "asdasd";

         }

     }


}



And i dont know how not to pass the embedded c# and php code to the parser, but store it in a variable or, better, write it into a file.


Many thanks in forward,
Sergej

   <<Less
About | Sitemap | Contact