The here was an EFF article that mentioned a few cases where the courts have deemed code = speech. The question now is what protections this specific instance of speech is awarded. Here is another review of previous case law. From the second circuit court opinion
"Communication does not lose constitutional protection as “speech” simply because it is expressed in the language of computer code."