Ticket #278 (new idea)

Opened 8 years ago

Last modified 8 years ago

implanting Doc-strings inside Attributes to keep them in code to be readily assesed while programming

Reported by: RIGHT_THEN Owned by: Charles
Priority: minor Milestone:
Component: Cobra Compiler Version: 0.8.0
Keywords: doc-strings Cc:



i propose that doc-strings be implanted within the programm as attributes on c# side or are they that one can recover them programmatically for instance

def func  """ def doc-string"""

on csharp side

[CobraDocStringAttribute("def doc-string")]
void func()

so while using the assembly one can get it logically like this

if method has CobraDocStringAttribute?
get DocString?

It would be good for future interpreters to see what something means.


Change History

Changed 8 years ago by RIGHT_THEN

  • type changed from defect to idea
Note: See TracTickets for help on using tickets.