forked from wspace/corpus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.json
78 lines (78 loc) · 3.12 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
{
"id": "csharp/nicolasff-spacesharp",
"name": "Spacesharp",
"description": "Compiles to MSIL executable using the .NET System.Reflection.Emit API",
"authors": ["Nicolas Favre-Felix"],
"license": "GPL-2.0-or-later",
"languages": ["C#", "C", "Yacc", "Lex"],
"tags": ["compiler", "programs"],
"date": "2006-07-28 20:36:29 +0000",
"spec_version": "0.3",
"source": [
"https://github.com/nicolasff/spacesharp",
"https://spacesharp.batard.info/",
"https://code.google.com/archive/p/spacesharp/",
"https://archive.softwareheritage.org/browse/origin/directory/?origin_url=http://spacesharp.googlecode.com/svn/",
"http://web.archive.org/web/20160528204735/https://code.google.com/p/spacesharp/"
],
"whitespace": { "extension": "ws" },
"assembly": {
"mnemonics": {
"push": ["Push"],
"dup": ["Duplicate"],
"copy": ["Copy"],
"swap": ["Swap"],
"drop": ["Discard"],
"slide": ["Slide"],
"add": ["Addition"],
"sub": ["Substraction"],
"mul": ["Multiplication"],
"div": ["Division"],
"mod": ["Modulo"],
"store": ["Store"],
"retrieve": ["Retrieve"],
"label": ["Mark"],
"call": ["CallSub"],
"jmp": ["Jmp"],
"jz": ["JZ"],
"jn": ["JLZ"],
"ret": ["EndSub"],
"end": ["EndProg"],
"printc": ["PrintChar"],
"printi": ["PrintNumber"],
"readc": ["ReadChar"],
"readi": ["ReadNumber"]
},
"usage": ["enum"]
},
"programs": [
{ "path": "tests/ws/calc.ws", "equivalent": "calc.ws", "spec_version": "0.2" },
{ "path": "tests/ws/copy.ws", "spec_version": "0.3" },
{ "path": "tests/ws/count.ws", "equivalent": "count.ws", "spec_version": "0.2" },
{ "path": "tests/ws/fact.ws", "equivalent": "fact.ws", "spec_version": "0.2" },
{ "path": "tests/ws/fibonacci.ws", "equivalent": "fibonacci.ws", "spec_version": "0.2" },
{ "path": "tests/ws/hanoi.ws", "equivalent": "hanoi.ws", "spec_version": "0.2" },
{ "path": "tests/ws/heap-test.ws", "spec_version": "0.2" },
{ "path": "tests/ws/hw.ws", "spec_version": "0.2" },
{ "path": "tests/ws/hworld.ws", "equivalent": "hworld.ws", "spec_version": "0.2" },
{ "path": "tests/ws/life.ws", "spec_version": "0.2" },
{ "path": "tests/ws/name.ws", "equivalent": "name.ws", "spec_version": "0.2" },
{ "path": "tests/ws/quine-2.ws", "equivalent": "quine-2.ws", "spec_version": "0.2" },
{ "path": "tests/ws/quine.ws", "equivalent": "quine.ws", "spec_version": "0.2" },
{ "path": "tests/ws/rot13.ws", "equivalent": "rot13.ws", "spec_version": "0.2" },
{ "path": "tests/ws/subprocs.ws", "spec_version": "0.2" },
{ "path": "tests/ws/test-arith.ws", "spec_version": "0.2" },
{ "path": "tests/ws/while-true-do-read-number-add-1-print result.ws", "spec_version": "0.2" }
],
"commands": [
{
"bin": "wsc.exe",
"usage": "[-o <output_file>] <file>",
"output": "<output_file> or ` .exe` if empty",
"options": [{ "short": "o", "desc": "output file" }],
"option_parse": "manual",
"notes": "Run output file with `mono <output_file>`"
}
],
"todo": "Combine Google Code and GitHub histories"
}