Thread overview |
---|
July 12, 2006 Net IDL v0.0.6 code generator release | ||||
---|---|---|---|---|
| ||||
This is a code generator that facilitates the use of an interface across a TCP/IP connection This program takes a limited form of the D programming language interface syntax and generates code for an object implementing the interface. This Object allows for an instance of the interface to be accessed across a TCP/IP connection. The included readme has a more verbose explanation. Also the package has a larger example. download: www.uidaho.edu/~shro8822/netidl_0_6_sdk.zip Comments and suggestions welcome. |
July 13, 2006 Re: Net IDL v0.0.6 code generator release | ||||
---|---|---|---|---|
| ||||
Posted in reply to BCS | In article <e93fnu$1nkb$1@digitaldaemon.com>, BCS says... > >This is a code generator that facilitates the use of an interface across a TCP/IP connection > >This program takes a limited form of the D programming language interface syntax and generates code for an object implementing the interface. This Object allows for an instance of the interface to be accessed across a TCP/IP connection. > >The included readme has a more verbose explanation. Also the package has a larger example. > >download: > www.uidaho.edu/~shro8822/netidl_0_6_sdk.zip > >Comments and suggestions welcome. Ahh.. so *that's* what you were working on. ;) I have one suggestion: In your grammar, the BaceType type production could be streamlined to use your enum values directly: BaceType = Types.type val ::= "bool" @Type.types.type_bool:val | "byte" @Type.types.type_void:val | "short" @Type.types.type_short:val | "int" @Type.types.type_int:val | Granted, its a tradeoff between .bnf readability and code efficency. Clever use of an alias or two might make this easier on the eyes, but I digress. Anyway, this technique should help eliminate the need to re-lookup the values in your backend code. - EricAnderton at yahoo |
July 14, 2006 Re: Net IDL v0.0.6 code generator release | ||||
---|---|---|---|---|
| ||||
Posted in reply to pragma | pragma wrote: > > > Ahh.. so *that's* what you were working on. ;) > yup <g> > I have one suggestion: In your grammar, the BaceType type production could be > streamlined to use your enum values directly: > > BaceType = Types.type val > ::= "bool" @Type.types.type_bool:val | > "byte" @Type.types.type_void:val | "short" @Type.types.type_short:val | > "int" @Type.types.type_int:val | > > Granted, its a tradeoff between .bnf readability and code efficency. Clever use > of an alias or two might make this easier on the eyes, but I digress. > > Anyway, this technique should help eliminate the need to re-lookup the values in > your backend code. > done www.uidaho.edu/~shro8822/netidl_0_7_sdk.zip also a few tweaks-n-bug-fixes: --ubyte actually works now --non-implicit in allowed I plan to put up a server based on this soon (I have a port promised to me). I don't know what it will do, but it will serve as a proof of concept. I was thinking of somthing like an entropy source. "Randome data!!! Randome data!!! Get it while it's fresh!!!" :-P |
July 18, 2006 Re: Net IDL v0.0.11 code generator release | ||||
---|---|---|---|---|
| ||||
Posted in reply to BCS | BCS wrote: > This is a code generator that facilitates the use of an interface across a TCP/IP connection > [...] > > The included readme has a more verbose explanation. Also the package has a larger example. > > > Comments and suggestions welcome. new version, download: www.uidaho.edu/~shro8822/netidl_0_11_sdk.zip a few bug fixes and a new features or two: --specified Exceptions can now be transported, including type and state information. --Some refactoring of program code --Some refactoring of generated code --Fixed bug in .bnf file (warning Enki 1.1 will generate illegal code with this .bnf file, add a "{}" at the error line) |
August 01, 2006 Re: Net IDL v0.0.6 code generator release | ||||
---|---|---|---|---|
| ||||
Posted in reply to BCS | version next (v0.0.12) http://www.uidaho.edu/~shro8822/netidl_0_12_sdk.zip |
Copyright © 1999-2021 by the D Language Foundation