-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathproject.json
79 lines (79 loc) · 3.59 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
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"id": "ruby/technohippy-gorispace",
"name": "Gorispace",
"authors": ["ANDO Yasushi"],
"license": "none",
"languages": ["Ruby"],
"tags": ["interpreter", "mapping", "programs"],
"date": "2010-10-13 23:45:06 +0900",
"spec_version": "0.3",
"source": ["https://github.com/technohippy/gorispace", "https://esolangs.org/wiki/Gorispace"],
"submodules": [{ "path": "gorispace", "url": "https://github.com/technohippy/gorispace" }],
"whitespace": { "unimplemented": ["slide"], "extension": "ws" },
"assembly": {
"mnemonics": {
"push": "stack_push",
"dup": "stack_copy",
"copy": "stack_copynth",
"swap": "stack_swap",
"drop": "stack_discard",
"slide": "stack_slide",
"add": "arithmetic_add",
"sub": "arithmetic_sub",
"mul": "arithmetic_mul",
"div": "arithmetic_div",
"mod": "arithmetic_mod",
"store": "heap_store",
"retrieve": "heap_restore",
"label": "flow_mark",
"call": "flow_call",
"jmp": "flow_jump",
"jz": "flow_zero",
"jn": "flow_nega",
"ret": "flow_return",
"end": "flow_exit",
"printc": "io_outchar",
"printi": "io_outnum",
"readc": "io_readchar",
"readi": "io_readnum"
},
"usage": ["enum"]
},
"mappings": [
{ "space": "ウホ", "tab": "ウッホ", "lf": "ウホーイ", "extension": "gs" },
{ "space": "hoo", "tab": "hoos", "lf": "wraagh", "extension": "gs" }
],
"programs": [
{ "path": "samples/calc.gs", "generated": "samples/ws/calc.ws", "spec_version": "0.2" },
{ "path": "samples/fact.gs", "generated": "samples/ws/fact.ws", "spec_version": "0.2" },
{ "path": "samples/fibonacci.gs", "generated": "samples/ws/fibonacci.ws", "spec_version": "0.2" },
{ "path": "samples/hanoi.gs", "generated": "samples/ws/hanoi.ws", "spec_version": "0.2" },
{ "path": "samples/helloworld.gs", "generated": "samples/ws/helloworld.ws", "spec_version": "0.2" },
{ "path": "samples/hworld.gs", "generated": "samples/ws/hworld.ws", "spec_version": "0.2" },
{ "path": "samples/name.gs", "generated": "samples/ws/name.ws", "spec_version": "0.2" },
{ "path": "samples/en/calc.gs", "generated": "samples/ws/calc.ws", "spec_version": "0.2" },
{ "path": "samples/en/fact.gs", "generated": "samples/ws/fact.ws", "spec_version": "0.2" },
{ "path": "samples/en/fibonacci.gs", "generated": "samples/ws/fibonacci.ws", "spec_version": "0.2" },
{ "path": "samples/en/hanoi.gs", "generated": "samples/ws/hanoi.ws", "spec_version": "0.2" },
{ "path": "samples/en/helloworld.gs", "generated": "samples/ws/helloworld.ws", "spec_version": "0.2" },
{ "path": "samples/en/hworld.gs", "generated": "samples/ws/hworld.ws", "spec_version": "0.2" },
{ "path": "samples/en/name.gs", "generated": "samples/ws/name.ws", "spec_version": "0.2" },
{ "path": "samples/tutorial.gs", "spec_version": "0.2" }
],
"commands": [
{
"type": "interpreter",
"bin": "bin/gorispace",
"usage": "[-w | --whitespace] [-e | --english] [-c | --convert] [-d | --debug] [-h | --help] <file>",
"options": [
{ "short": "w", "long": "whitespace", "desc": "Whitespace mode" },
{ "short": "e", "long": "english", "desc": "English mode" },
{ "short": "c", "long": "convert", "desc": "Convert xspace code to Gorispace code" },
{ "short": "d", "long": "debug", "desc": "Debug mode" },
{ "short": "h", "long": "help", "desc": "Show this message" }
],
"option_parse": "Ruby optparse"
}
],
"notes": "CR is treated as LF. Repeated ホ, oo, and aa are allowed. Characters not used in mappings are ignored."
}