Hi Javier and others!
I have created a generate_code_csharp.c which gives me
basic
functionality for generating c# code. (I edited the
makefiles and
main.c/dia2code.h/code_generators.h). And I have used
it this week for a
project.
It was very easy to do so by using Javier's
generate_code_java.c ;)
Very nice code Javier, it is a pleasure to read it!
What I've basically done is switching java keywords
being used to c#
keywords. Now, I know that this is in no way complete
but it is a
start and by having it in cvs others might be tempted
to help. I myself
am a Java developer so this whole new c# thingy is a
bit new to me.
Patch is attached.
So tell me guys do you have any other suggestion as to
how approach this
in a better way or do it the "right way"[TM] ;) As it
is now it is more
or less the generate_code_java.c with a few minor tweaks.
What should I do in which order so that we will one day
have "complete"
c# support in dia2code?
/Richard Torkar
c# support
Patch was integrated many moons ago.
Diff: