> With git you can create your own local repository. Once it is working,
> send us the URL to it and we can then include it on our servers. If you
> want a public git repository, have a look at http://github.com/
>
> Hope this helps.
>

Local repository should be enough.

The C# protocol generator basically works. I´m using the
refly<http://www.codeproject.com/KB/cs/refly.aspx>library which is
wrapper around codedom.
Things which are missing:
- Visual basic support
- A method which cuts the long descriptions on the right place for better
reading
- The list implementation is not finish
- Error handling
- Documentation
- Removing @ chars in the generated code (very strange bug this @ chars)
- Fixing some bugs in the generated code (mostly missing id values)

I hope I generate the right code, here is a little bit of the code which
gets generated:

> namespace LibTpProto.Proto.TP04
> {
>     using System;
>
>
>     public class Connect : Request
>     {
>
>         private @string _string;
>
>         public @string _fRAME_TYPE = 3;
>
>         /// <summary>
>         ///   <!--
>         ///                 The client identification string can be any
> string but will mostly
>         ///                 used to produce stats of who uses which client.
> The server may return
>         ///                 either a OK, Fail or Redirect frame.
>         ///             -->
>         ///   <!---->
>         ///   <!---->
>         /// </summary>
>         public @string String
>         {
>             get
>             {
>                 return this._string;
>             }
>             set
>             {
>                 if ((value == null))
>                 {
>                     throw new System.ArgumentNullException();
>                 }
>                 this._string = value;
>             }
>         }
>     }
> }
>

I don´t know if this:

> if ((value == null))
>                 {
>                     throw new System.ArgumentNullException();
>                 }

is necessary. If not I can remove it easily.

-- 
~ Marcel Hauf
_______________________________________________
tp-devel mailing list
[email protected]
http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel

Reply via email to