Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Using the CodeDOM
Subject:   Correctness of Programs generated in CodeDOM
Date:   2003-09-04 01:25:52
From:   anonymous2
Hi Nick,
I have a question regarding the program graphs that we generate using CodeDOM. As I see it, it is quite possible to create a semantically incorrect program and still get CodeDOM to generate code for it. For example, I could Create a CodeAssignmentStatement with non-compatible left and right expressions. Or, worse still, create a CodeIterationStatement and not give its InitExpression at all! Or, a program graph that may be acceptable by one language may not be acceptable by another. Have you come across any article that has such information about incorrect Code Generation?