Coder Social home page Coder Social logo

computerscratch's Introduction

Introduction

This is a completion of the course nand2tetris. For which The purpose of is to build a full-scale computer, starting from a nand chip and ending in a high-level OOP language, the name of the course is. Below is an depicting of each step in the process.

alt text

Each abstraction goes through a chapter, a chapter might present the next abstraction before asking to build it. Here is an overview w. appropriate chapters.

overview-chapters.

Tools, Emulators and OS

  • all Tools used for testing can be found under here. Which also provides a guide on how to dl it. Personally I used Linux while going through the course. Indescrepencies might occur if trying to use test my software on other OS like Windows. It should compile fine but Windows might add unexpected spaces when using things like textcomparer.

Testing

  • each chapter comes with premade tests, once all tests are passed within a chapter it's considered finished.
  • an input file is delivered into a given emulator or tool, then a test file is added and the given emulator will run a comparision alerting of any unexpected behvaior.

project 01-05: computer architecture

  • emulators

    • uses the hardwaresimulator and the CPU emulator
  • hdl language

    • a language for running chips on software, is used to simulate proper connection of chips
  • uses the tool "Digital"

    • pictures displaying the wiring logic of some chips.
    • all chips are made in the hdl language, but Digital allows for a better mental image.
    • drawings for the respective chapter can be found under "digital-drawings" in said chapter

project 06: Assembler-Hack

  • emulators
    • uses the assembler (simulator), takes an input (assembler code) and compares it with a test
    • uses the textcomparer
  • Overview
    • The folder "Assembler" consists of the solution for the chapter (my code)
    • The other 4 folders are program-examples that can be given as input to the Parser(inside the Assembler folder)

project 07-08: VM-Assembler

  • emulators

    • uses the VMemulator
  • Overview

    • the folder "VMTranslator" consists of the solution for the chapter (my code)
  • note

    • a directory must containt a Sys.vm file otherwise it'll fail
    • if you wish to test files that does not have this, add the OS folders to the folder for translator to work.

project 10-11: Jack Compiler

  • emulators
    • uses the JackCompiler
    • uses the textcomparer when going through chapter 10 (XML)
  • overview
    • the folder "JackCompiler" consists of the solution for the chapter (my code)
    • using the terminal line call "python3.5 dest/to/jackcompiler/jackcompiler.py input/input.jack"
    • The folder/file to compile must lie in the same dest as JackCompiler.py

computerscratch's People

Contributors

mklindtner avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.