
#Apple java emulator how to#
Here is an example how to do it for, say, the HardwareSimulator tool: If you want to avoid typing the 'sh' extensions, you can create (once and for all) symbolic links in your ~/bin directory. sh extension, in the terminal environment. You can then run the scripts by typing their name, as well as the. Further, they accept spaces in directory and file names, so they will work if nand2tetris is installed under a directory named, say, "My Documents".īefore running the scripts, you must first change their file attributes to include "executable".
#Apple java emulator full#
They can be used from any working directory on your computer, without requiring full paths to the files on which they operate. These batch and script files enable invoking the supplied nand2tetris tools from the command line on your computer, painlessly. In order to eliminate this overhead, we supply batch files (for Windows) and scripts (for Unix and Mac OS), developed by Mark Armbrust. Command-line environments vary from one operating system to another, and working in them requires some knowledge of various OS shell commands. The supplied software tools are designed to be run from your computer's command-line environment (also known as "terminal", or "shell"). The OS directory contains a compiled version of the Jack operating system. The builtInChips and the builtInVMCode directories contain files that are used by the supplied Hardware Simulator and VM Emulator, respectively. It consists of several subdirectories containing Java class files and supporting files. The bin directory contains the code of the nand2tetris software tools. These files are explained in detail below. sh files are batch and script files, used to invoke the nand2tetris software tools. The remainder of this section should be used as reference there is no need to read what follows until you will be asked to use a particular software tool.

It's a collection of programs and files that will be explained as you follow the various projects. The tools directory contains the nand2tetris software tools. These directories contain files that you have to modify and complete as you work on various nand2tetris projects. The projects directory is divided into 14 project directories named 00, 01, ., 13 (of which project 00 is relevant only to learners who take the course in Coursera, and project 13 is open-ended). The Nand2tetris Software Suite consists of two directories: projects, and tools.
