Skip to content
This repository was archived by the owner on Apr 1, 2018. It is now read-only.

Commit f568331

Browse files
committed
Add QASM Parser
1 parent 9f87aea commit f568331

File tree

6 files changed

+686
-11
lines changed

6 files changed

+686
-11
lines changed

.vscode/settings.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

QASM/.gitignore

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
2+
### Node ###
3+
# Logs
4+
logs
5+
*.log
6+
npm-debug.log*
7+
yarn-debug.log*
8+
yarn-error.log*
9+
10+
# Runtime data
11+
pids
12+
*.pid
13+
*.seed
14+
*.pid.lock
15+
16+
# Directory for instrumented libs generated by jscoverage/JSCover
17+
lib-cov
18+
19+
# Coverage directory used by tools like istanbul
20+
coverage
21+
22+
# nyc test coverage
23+
.nyc_output
24+
25+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
26+
.grunt
27+
28+
# Bower dependency directory (https://bower.io/)
29+
bower_components
30+
31+
# node-waf configuration
32+
.lock-wscript
33+
34+
# Compiled binary addons (http://nodejs.org/api/addons.html)
35+
build/Release
36+
37+
# Dependency directories
38+
node_modules/
39+
jspm_packages/
40+
41+
# Typescript v1 declaration files
42+
typings/
43+
44+
# Optional npm cache directory
45+
.npm
46+
47+
# Optional eslint cache
48+
.eslintcache
49+
50+
# Optional REPL history
51+
.node_repl_history
52+
53+
# Output of 'npm pack'
54+
*.tgz
55+
56+
# Yarn Integrity file
57+
.yarn-integrity
58+
59+
# dotenv environment variables file
60+
.env
61+

QASM/package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "qasm-parser",
3+
"version": "1.0.0",
4+
"description": "A Parser for IBM OPENQASM 2.0",
5+
"main": "index.js",
6+
"repository": "github.com/adamisntdead/qcgpu",
7+
"author": "Adam Kelly",
8+
"license": "MIT",
9+
"dependencies": {
10+
"pegjs": "^0.10.0"
11+
},
12+
"scripts": {
13+
"build": "pegjs -o parser.js src/grammar.pegjs"
14+
}
15+
}

0 commit comments

Comments
 (0)