{"repo":"ArhanChaudhary/NAND","free":true,"listed":false,"github":"https://github.com/ArhanChaudhary/NAND","clone":"git clone https://github.com/ArhanChaudhary/NAND.git","description":"NAND is a logic simulator suite made entirely from NAND gates","language":"TypeScript","stars":600,"topics":["rust","svelte","typescript","vite","javascript","nand2tetris","scss","wasm-bindgen"],"license":"MIT","category":"ui-components","readme_excerpt":"https://nand.arhan.sh/ N ot\\ A \\ N and-powered\\ D evice is a Turing equivalent 16-bit computer made entirely from a clock and NAND gates emulated on the web. NAND features its own CPU, machine code language, assembly language, assembler, virtual machine language, virtual machine translator, programming language, compiler, IDE, and user interface. NAND is based on the Jack-VM-Hack platform specified in the Nand to Tetris course and its associated book. Video demo of NAND Table of Contents - Example programs - Average - Pong - 2048 - Overflow - SecretPassword - GeneticAlgorithm - Writing programs for NAND - Jack Introduction - Custom Data Types - Weak Type Coercions - Manual Memory Management - Undefined Behavior - Operator Priority - Lesser and Greater than Operators - -32768 - Calling a Function with Too Few Arguments - Improper Type Casting - Stack Overflows - Modifying Stack Frames or Internal Registers - Loading your Own Program - Hardware Specification - Beyond the Jack OS - How does NAND work? - Jack Reference - Program Structure - Syntax - Variables - Statements - Jack OS Reference - Array - Keyboard - Math - Memory - Output - Screen - String - Sys - Error Codes - FAQ - Whoa, is everything made from NAND gates? - Did you design NAND by yourself? - If there's only one type, what is the point of specifying types at all? - Why does the IDE feel finnicky? Example programs Average A simple program that inputs some numbers and computes their average, showing off control flow,","default_branch":null,"files":null,"tree":[],"storefront":"/r/ArhanChaudhary","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ArhanChaudhary/NAND/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}