-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathproject.json
92 lines (92 loc) · 2.49 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
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"id": "python/kareeeeem-abyad",
"name": "Abyad",
"authors": ["Mohammed Kareem"],
"license": "Unlicense",
"languages": ["Python"],
"tags": ["interpreter", "program builder", "programs"],
"date": "2016-05-13 12:50:00 +0200",
"spec_version": "0.2",
"source": ["https://github.com/Kareeeeem/abyad"],
"submodules": [{ "path": "abyad", "url": "https://github.com/Kareeeeem/abyad" }],
"assembly": {
"mnemonics": {
"push": "push",
"dup": "dup",
"swap": "swap",
"drop": "pop",
"add": "add",
"sub": "sub",
"mul": "mul",
"div": "div",
"mod": "mod",
"store": "store",
"retrieve": "load",
"label": "mark",
"call": "call",
"jmp": "j",
"jz": "jz",
"jn": "jn",
"ret": "end",
"end": "exit",
"printc": "write_char",
"printi": "write_num",
"readc": "read_char",
"readi": "read_num"
},
"usage": ["enum"]
},
"programs": [
{
"path": "tests/programs.py",
"generated": "tests/arithmetic.ws",
"generate": "python generate_programs"
},
{
"path": "tests/programs.py",
"generated": "tests/comments_stack_manipulation.ws",
"generate": "python generate_programs"
},
{ "path": "tests/programs.py", "generated": "tests/count.ws", "generate": "python generate_programs" },
{ "path": "tests/programs.py", "generated": "tests/heap.ws", "generate": "python generate_programs" },
{
"path": "tests/programs.py",
"generated": "tests/iocount.ws",
"generate": "python generate_programs"
},
{
"path": "tests/programs.py",
"generated": "tests/ioread.ws",
"generate": "python generate_programs"
},
{
"path": "tests/programs.py",
"generated": "tests/iowrite.ws",
"generate": "python generate_programs"
},
{
"path": "tests/programs.py",
"generated": "tests/stack_manipulation.ws",
"generate": "python generate_programs"
},
{
"path": "tests/programs.py",
"generated": "tests/subroutine.ws",
"generate": "python generate_programs"
},
{
"path": "tests/programs.py",
"generated": "tests/terminate.ws",
"generate": "python generate_programs"
}
],
"commands": [
{ "type": "interpreter", "bin": "src", "usage": "<file>" },
{
"type": "program builder",
"bin": "generate_programs",
"usage": "",
"notes": "Generates programs in tests/ from definitions in tests/programs.py"
}
]
}