LC3Tools is a modern set of tools to build code for and simulate the LC-3 system described in Introduction to Computing by Dr. Yale Patt and Dr. Sanjay Patel.
This project has the following aims:
- Consistent cross-platform support (across Windows, macOS, and Linux)
- Consistent behavior across the GUI, command line tools, and other applications
- Intuitive user interface
- Powerful testing API for unit tests and auto-graders
- Well-documented, simple, open-source code base
All of the code for the project lives in this repository, but it can be broken down into three components: a set of command line tools, a GUI, and a series of unit tests.
LC3Tools has two primary use cases. Students will genenerally use the GUI, which can be downloaded from the Releases tab. For information on which download is correct for you, refer to the downloading/installing guide. To learn how to use the GUI, refer to the beginniner's usage guide.
Instructors, or students who are comfortable with the command line, will generally use the command line tools, which is the only way to write unit tests. Note that auto-graders are written as unit tests. To get started, follow these steps, which can be performed on any supported platform:
- Ensure you have CMake and a C++11 compiler installed.
- Build the command line utilities from source as described in the build document.
- Follow the unit test tutorial in the unit test document.
- Refer to the command line tools document.
- Refer to the samples provided in the
src/test/tests/samples
directory. - Refer to the API document to learn about the full unit testing capabilities.
In some cases, instructors may want to modify the GUI as well. In addition to the requirements for the command line utilities, you will need to have NodeJS and Yarn installed. The build document also contains directions on how to build the GUI.
More details on how to use the individual components can be found in the command line tools, GUI, and unit test documents.
Copyright 2020 © McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.