Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,22 @@ To render automatically, use command `Activate ZXViz automatic rendering`. To st

Requires [coq-lsp](https://github.com/ejgallego/coq-lsp/) `0.1.7` for automatic rendering. Syntax of valid terms = valid ZX diagrams in [VyZX](https://github.com/inQWIRE/VyZX). See [src/CoreData/ZXCore](https://github.com/inQWIRE/VyZX/blob/main/src/CoreData/ZXCore.v) for the base definitions, and [src/CoreData/Proportional](https://github.com/inQWIRE/VyZX/blob/main/src/CoreData/Proportional.v) for proportionality definitions.

## Build

- Install [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) if you do not have it already.
- Install vsce using command `npm install -g @vscode/vsce`
- in the source directory for this project, run `npm i`.
- run `vsce package`.
- on running `ls`, you should be able to see `vizx-0.1.4.vsix`.
- If the `code` command is functioning:
- run `code --install-extension vizx-0.1.4.vsix`.
- in the same terminal, run `code .`.
- If the `code` command is not functioning:
- launch an instance of [VSCode](https://code.visualstudio.com/download).
- Navigate to View > Extensions > ... > Install from VSIX.
- Locate the `vizx-0.1.4.vsix` file you just created and select it.
- You should now be able to view `ZXViz` as an extension in the extensions tab, and use it in the required fashion.

## Extension Settings

This extension contributes the following settings:
Expand Down