vim-nand2tetris-syntax


Ⅰ. 插件描述

Vim syntax files for the ad-hoc languages in Nand2Tetris (Elements of Computing Systems)

Ⅱ. 基本信息

创建日期:  2014-11-11
使用用户:  11
Github星:  17
插件作者:  Severyn Kozak

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'sevko/vim-nand2tetris-syntax'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'sevko/vim-nand2tetris-syntax'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'sevko/vim-nand2tetris-syntax'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/sevko/vim-nand2tetris-syntax

Ⅳ. 文档说明

# vim nand2tetris syntax
Syntax files for the ad-hoc languages used by the Nand2Tetris, or *Elements of Computing
Systems*, course, throughout which you construct a computer from the ground up. Supports the following:

  • HDL: a hardware-description language used to construct circuits.
  • Hack assembly: the Hack computer's assembly language.
  • Hack virtual machine language: the IR understood by the Hack virtual machine.
  • Jack: a high-level object-oriented language without garbage collection. Syntactically similar to Java.

installation

If you use Pathogen:

cd ~/.vim/bundle
git clone https://github.com/sevko/vim-nand2tetris-syntax

Adapt as needed for your plugin manager of choice.

hdl

添加新评论