Basil Behanan wrote
the following error shows up:
Mux.hdl, line 19, ',' or ')' are expected
Nand(a=not_sel,b=not_sel,out=Nand1);
Pin names can consist only of uppercase letters, lowercase letters, and digits (and can't start with a digit).
The error message is resulting from the fact that the tool got to the following point:
Nand(a=not
At this point, because the next character cannot extend the pin name, the pin name is finished and the next character can be a space (which gets gobbled up), a ',' (indicating that another connection follows, or a ')' (indicating that the end of this part connection list has been reached. It found none of those, so it threw the error.
and lower case letters