Coder Social home page Coder Social logo

avivyaish / nand-ide Goto Github PK

View Code? Open in Web Editor NEW

This project forked from foxyseta/mastro-nando

5.0 1.0 2.0 1.19 MB

A VSCode extension providing IDE-like functionality for HUJI's version of Nand2Tetris.

Home Page: https://marketplace.visualstudio.com/items?itemName=AvivYaish.nand-ide

License: Other

HTML 57.76% JavaScript 42.24%
course nand2tetris nand2tet vscode visual-studio-code extension vscode-extension visual-studio-code-extension syntax-highlighting

nand-ide's Introduction

Nand2Tetris IDE

Logo

Introduction

This is is a Visual Studio Code extension for Nand2Tetris development based on Zohar Lee's "Nand2Tetris Tools" and Stefano Volpe's "Mastro NANDo".

It incoporates HUJI's version of Nand2Tetris' Software Suite with various Visual Studio Code functionalities. Features unique to HUJI's version, such as shifts, are fully supported.

This extension is meant for students, instructors, and self-learners who want to enhance their Nand2Tetris experience.

Features

Commands

Name Icon Requires Nand to Tetris Software Suite Description
Run code Run Code button ✔︎ Runs your current file (supports .hdl, .asm, .hack and .vm files) via CLI. Needs a .tst file in the same folder to work.
Stop running ✔︎ Aborts code execution
Translate code Translate Code button ✔︎ Translate your current file (supports .asm and .jack files) via CLI
Open Hardware Simulator ✔︎ Runs the Hardware Simulator via GUI
Open CPU Emulator ✔︎ Runs the CPU Simulator via GUI
Open VM Emulator ✔︎ Runs the VM Emulator via GUI
Assembler ✔︎ Runs the Assembler via GUI
Compile directory ✔︎ Compiles the directory of your current file (supports .jack files)
Zip course source Compresses your solution to a zip archive

Languages and icon theme

Language File Extensions Grammar Snippets Icon
Hardware Description Language .hdl ✔︎ ✔︎ ✔︎
Test scripts format .tst ✔︎ ✔︎ ✔︎
Compare and output files format .cmp, .out ✔︎ ✔︎
Hack Assembly .asm ✔︎ ✔︎
Hack Machine Language .hack ✔︎ ✔︎
Hack Virtual Machine Language .vm ✔︎ ✔︎ ✔︎
Jack Language .jack ✔︎ ✔︎ ✔︎

Any icons not listed in the table above have been included in VS Code's built-in icon theme Seti.

Prerequisites

  1. Visual Studio Code

  2. Java Runtime Environment is optional, used for running the Software Suite.

  3. Markdown All in One is highly recommended for those using HUJI's READMEs.

There is no need to manually install Nand2Tetris' Software Suite, as it is already included in the extension itself.

Installation

Visit VSCode's Marketplace.

nand-ide's People

Contributors

avivyaish avatar foxyseta avatar leafvmaple avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 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.