Forums

Compiling to C# source files

General discussion about Cobra. Releases and general news will also be posted here.
Feel free to ask questions or just say "Hello".

Compiling to C# source files

Postby DelphiGuy » Sat Feb 09, 2013 1:58 pm

running MD 3.0.6 and Win 7:

can cobra generate C# source files from the original cobra source? i have "keep intermediate files" checked in the compiler options, but clearly that doesn't generate comprehensive C# source.
DelphiGuy
 
Posts: 116

Re: Compiling to C# source files

Postby Charles » Sat Feb 09, 2013 2:01 pm

I don't understand your post. What do you mean by "doesn't generate comprehensive C# source"? When you use "keep intermediate files" are the foo.cobra.cs files missing for your project, or you wanted them for the std lib too, or you wanted more reader-friendly versions that you could pass to C# coders, or something else?
Charles
 
Posts: 2510
Location: Los Angeles, CA

Re: Compiling to C# source files

Postby DelphiGuy » Sat Feb 09, 2013 3:27 pm

it's the foo.cobra.cs files for my project that were "missing".

thanks, that was a sufficient hint. i found'em. just brain-dead and looking in the wrong part of the hard drive for an entire hour, with great and unjustified zeal.

what do i want them for? i want to examine (and possibly build in VSVC# 2010 Express) the C# code underlying some of my project's cobra code, to better understand what the cobra compiler is doing.
DelphiGuy
 
Posts: 116


Return to Discussion

Who is online

Users browsing this forum: No registered users and 7 guests

cron