Ticket #18 (new task)

Opened 11 years ago

Last modified 10 years ago

CodeDom Support

Reported by: Chuck Owned by:
Priority: major Milestone:
Component: Cobra IDE: Miscellaneous Version: 0.8.0
Keywords: Cc: gauthier.segay@…


Implement CodeDom support.

Change History

  Changed 11 years ago by Chuck

  • type changed from defect to task

follow-up: ↓ 3   Changed 10 years ago by gauthier

  • cc gauthier.segay@… added

I would like to help with this, but I got

error: COBRA INTERNAL ERROR / NullReferenceException / Object reference not set to an instance of an object.
Compilation failed - 1 error, 0 warnings

when instanciating Compiler class

class Program
	def main is shared
		cobra = Compiler()

in reply to: ↑ 2   Changed 10 years ago by gauthier

well working on CobraCodeGenerator?, using MSDN SDK sample to drive my coding right now:

will also write unit tests as soon as I grasp the CodeDom stuffs

all of this will take some time since I'm new to CodeDom

  Changed 10 years ago by Chuck

Sounds like you have a start. Thanks for helping out.

  Changed 10 years ago by gauthier

Implementation is ongoing, now driven by code generator.

I've got to workaround design issue of the abstract CodeGenerator? class that avoid unit testable code by delegating protected method calls to public methods (can make them internal, visible to tests).

Once I have usefull code base I will resume unit test writting as well as publishing the implementation for everyone to review.

  Changed 10 years ago by gauthier

added my initial code to googlecode:

I don't have much time to spend on it right now, but with some help from others contribution I think the work could be done quickly.

Note: See TracTickets for help on using tickets.