// This is a comment

input_ports {  // this is a comment also! //
   integer A;
}

output_ports {
   integer B;
}

shared_var {   
   mat2 M reader;
} // this is also a comment %!$@%#!&#@*#@$@*@(@(}{}":;/.<\||

var {
   integer j;
}

init_comp {
   initcomp(j);
}

input_rules {
   avail(A) => j = val(A);
}

comp {
   foo(j);
}

output_rules {
   true => B = j;
}
