-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathio.chimod
115 lines (115 loc) · 2.45 KB
/
io.chimod
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"dependencies": [
"lang"
],
"graphs": [
{
"connections": [
{
"input": [
"d6a93602-9d43-44e0-97c3-70c21d4a774c",
0
],
"output": [
"6c17ee2f-418c-4ce2-b3f8-3abedf56a72a",
0
],
"type": "exec"
},
{
"input": [
"cef5a474-a19c-4a49-9e28-840801deac58",
0
],
"output": [
"d6a93602-9d43-44e0-97c3-70c21d4a774c",
0
],
"type": "data"
},
{
"input": [
"cef5a474-a19c-4a49-9e28-840801deac58",
0
],
"output": [
"d6a93602-9d43-44e0-97c3-70c21d4a774c",
0
],
"type": "exec"
}
],
"data_inputs": [
{
"string": "lang:i8*"
}
],
"data_outputs": [],
"description": "Print",
"exec_inputs": [
""
],
"exec_outputs": [
""
],
"local_variables": {},
"name": "print",
"nodes": {
"6c17ee2f-418c-4ce2-b3f8-3abedf56a72a": {
"data": {
"data": [],
"exec": [
""
]
},
"location": [
189.0,
-72.0
],
"type": "lang:exit"
},
"cef5a474-a19c-4a49-9e28-840801deac58": {
"data": {
"data": [
{
"string": "lang:i8*"
}
],
"exec": [
""
]
},
"location": [
-346.0,
-80.0
],
"type": "lang:entry"
},
"d6a93602-9d43-44e0-97c3-70c21d4a774c": {
"data": {
"code": "#include <stdio.h> \n\nvoid github_chi_std_io_print(const char* to_print) {\n\tprintf(\"%s\", to_print);\n}",
"extraflags": [
"-I",
"/tmp/hello/src/github.com/chigraph/std/io.c"
],
"function": "github_chi_std_io_print",
"inputs": [
{
"": "lang:i8*"
}
],
"output": null
},
"location": [
-104.833335876465,
-78.5
],
"type": "github.com/chigraph/std/io:c-call"
}
},
"type": "function"
}
],
"has_c_support": true,
"types": {}
}