Tessedar wrote
I have got into trouble about .hdl files. My operating system is Mac OS X 10.8.4. I open the And.hdl using TextEditor and modify the file and save it. But after that the HardwareSimulator can't open the file... I can't understand why.
I copied one of the .hdl files(can be opened) and changed its name. And that file can't be opened either...
Please tell me if you have any information or solution. Thank you.
I'm not familiar with TextEditor, but the most likely problem is with text encoding. A lot of editors default their text encoding to UTF-8 which does not work with the Nand2Tetris tools. You may need to set your editor's encoding to ANSI.
--Mark