Rainbow syntax highlighters were created for LISP and related languages, not C++ and imperative languages, but they can be quite useful. Sadly, nothing is easy, and trying to find an IDE that worked on my PC and allowed custom rainbow syntax highlighting proved to be more difficult to find than I imagined. However, I was determined to not write an entire IDE just for syntax highlighting. In fact, I was determined to keep it simple and avoid even having to learn Eclipse (so that I could write an extension). My persistence paid off.
Functions are about all there is in Copper. This fact is so driven home that, after further consideration, it seems the “fn” is entirely useless. Should it remain?
Copper is a language dictated by many, many parentheses. In other languages, you may get accustomed to throwing parentheses wherever you need them. In Copper, the rules are strict.
Ok, it’s time to introduce some of the syntax and features of my language. Having already gone over the requirements and goals of this language in earlier posts, I won’t reiterate them here.