-
Notifications
You must be signed in to change notification settings - Fork 3
/
project.json
39 lines (39 loc) · 1.44 KB
/
project.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"id": "python/ahl27",
"name": "whitespace",
"authors": ["Aidan Lakshman"],
"license": "none",
"languages": ["Python"],
"tags": ["interpreter", "text to Whitespace", "programs"],
"date": "2018-11-08 00:38:53 -0500",
"spec_version": "0.3",
"source": ["https://github.com/ahl27/whitespace"],
"submodules": [{ "path": "whitespace", "url": "https://github.com/ahl27/whitespace" }],
"whitespace": { "extension": "wsp" },
"programs": [
{ "path": "hello_world.wsp", "spec_version": "0.2" },
{ "path": "test.wsp", "spec_version": "0.2" }
],
"commands": [
{
"type": "interpreter",
"bin": "main.py",
"usage": "[-d | --decrypt] [-e | --encrypt] [-o <output_file> | --output=<output_file>] <file>",
"options": [
{ "short": "h", "long": "help", "desc": "show this help message and exit" },
{ "short": "d", "long": "decrypt", "desc": "interpret program" },
{ "short": "e", "long": "encrypt", "desc": "convert text to Whitespace program that prints text" },
{
"short": "o",
"long": "output",
"arg": "OUTPUT",
"type": "file",
"desc": "name of output file for encryption. \".wsp\" extension is appended."
}
],
"option_parse": "Python argparse",
"notes": "Encrypt writes to <output_file>.wsp or converted.wsp, if --output not given. Decrypt writes to stdout."
}
],
"todo": "Split commands for encrypt and decrypt"
}