Type checking!

Nov 13, 2010 at 10:50 PM

Does Irony support type checking? if yes, then how can I implement that to the c# grammar example?

For example: when I declare a variable like this

int x =3.5;

Is there any way I can catch this error in Irony?

 

Thanks.

Coordinator
Nov 14, 2010 at 5:14 PM

Hi

Irony is primarily parsing technology (currently), with a few demo-like facilities for interpreting the code. Type checking belongs to "code-analysis" phase, which is a separate phase coming after parsing. Irony does not cover this phase currently.

Roman