-
Notifications
You must be signed in to change notification settings - Fork 3
/
project.json
66 lines (66 loc) · 2.29 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"id": "c/rdebath-brainfuck",
"name": "bf2any",
"authors": ["Robert de Bath"],
"license": "GPL-2.0-or-later AND Public Domain",
"languages": ["C"],
"tags": ["compiler"],
"date": "2013-08-18 19:20:00 +0000",
"spec_version": "0.2",
"source": ["https://github.com/rdebath/Brainfuck"],
"submodules": [{ "path": "brainfuck", "url": "https://github.com/rdebath/Brainfuck" }],
"assembly": {
"mnemonics": {
"push": "PUSH",
"dup": "DUP",
"swap": "SWAP",
"drop": "DROP",
"add": "ADD",
"sub": "SUB",
"mul": "MUL",
"div": "DIV",
"mod": "MOD",
"store": "STORE",
"retrieve": "FETCH",
"label": "LABEL",
"call": "CALL",
"jmp": "JMP",
"jz": "JZ",
"jn": "JN",
"ret": "RET",
"end": "EXIT",
"printc": "OUTCHAR",
"printi": "OUTNUM",
"readc": "READCHAR",
"readi": "READNUM"
},
"usage": ["enum"]
},
"commands": [
{
"bin": "bf2any/bf2whitespace",
"options": [
{ "short": "h", "desc": "This message" },
{ "short": "b", "desc": "Force byte cells" },
{ "short": "R", "desc": "Decode rle on '+-<>', quoted strings and '='." },
{ "short": "m", "desc": "Disable optimisation (including dead loop removal)" },
{ "short": "p", "desc": "Optimise as part of a BF program" },
{ "short": "O", "desc": "Enable optimisation" },
{ "short": "M", "arg": "num", "arg_required": true, "desc": "Set length of tape, default is 1048576" },
{ "short": "M", "desc": "Set the tape to dynamic" },
{ "short": "be-pipe" },
{ "short": "n", "desc": "Set EOF behavior #0 (default)" },
{ "short": "z", "desc": "Set EOF behavior #1" },
{ "short": "e", "desc": "Set EOF behavior #2" },
{ "short": "tokens", "desc": "Include token names in output." },
{ "short": "semi", "desc": "Generate code for 'semicolon' language" },
{ "short": "signbug", "desc": "Interpreter has signed int bug" },
{ "short": "fullinit", "desc": "Init every tape cell." },
{ "short": "quickinit", "desc": "Write to last tape cell." }
],
"option_parse": "manual",
"notes": "Compiles Brainfuck to Whitespace"
}
],
"notes": "Compiles Brainfuck to many languages, including Whitespace"
}