nendo 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +5 -37
- data/VERSION.yml +1 -1
- data/lib/nendo.rb +1 -0
- data/lib/nendo/debug/null.nndc +1 -1
- data/lib/nendo/debug/syslog.nndc +19 -35
- data/lib/nendo/init.nndc +8828 -16708
- data/lib/nendo/nendo/experimental.nndc +3009 -4669
- data/lib/nendo/nendo/test.nndc +691 -1277
- data/lib/nendo/rfc/json.nndc +211 -423
- data/lib/nendo/ruby/core.rb +1 -1
- data/lib/nendo/ruby/evaluator.rb +49 -63
- data/lib/nendo/ruby/optimized_func.rb +98 -0
- data/lib/nendo/srfi-1.nndc +5634 -11182
- data/lib/nendo/srfi-2.nndc +492 -720
- data/lib/nendo/srfi-26.nndc +1531 -2257
- data/lib/nendo/text/html-lite.nndc +1205 -2009
- data/lib/nendo/text/tree.nndc +67 -135
- data/lib/nendo/util/combinations.nndc +2365 -4427
- data/lib/nendo/util/list.nndc +1870 -3132
- data/lib/nendo/util/match.nndc +32076 -47256
- metadata +8 -7
data/lib/nendo/rfc/json.nndc
CHANGED
@@ -4,191 +4,111 @@
|
|
4
4
|
#
|
5
5
|
|
6
6
|
trampCall(
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
"json"
|
14
|
-
]
|
15
|
-
)
|
16
|
-
end
|
7
|
+
delayCall( '_require', 'require',
|
8
|
+
trampCall(@_require) ,
|
9
|
+
[
|
10
|
+
"json"
|
11
|
+
]
|
12
|
+
)
|
17
13
|
)
|
18
14
|
#--------------------
|
19
15
|
|
20
16
|
trampCall(
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
"util/list"
|
28
|
-
]
|
29
|
-
)
|
30
|
-
end
|
17
|
+
delayCall( '_load', 'load',
|
18
|
+
trampCall(@_load) ,
|
19
|
+
[
|
20
|
+
"util/list"
|
21
|
+
]
|
22
|
+
)
|
31
23
|
)
|
32
24
|
#--------------------
|
33
25
|
|
34
26
|
trampCall(
|
35
|
-
begin
|
27
|
+
begin #execFunc
|
36
28
|
def self.__PAMARKjson_COMARKhash_MIMARKtable_MIMARK_GTMARKalist_METHOD( origname, pred, args ) lispMethodEntry( origname, true ) ; ret = callProcedure( '__PAMARKjson_COMARKhash_MIMARKtable_MIMARK_GTMARKalist', origname, pred, args ) ; lispMethodExit( origname, true ) ; return ret end
|
37
29
|
@global_lisp_binding['__PAMARKjson_COMARKhash_MIMARKtable_MIMARK_GTMARKalist'] = self.method( :__PAMARKjson_COMARKhash_MIMARKtable_MIMARK_GTMARKalist_METHOD )
|
38
30
|
@__PAMARKjson_COMARKhash_MIMARKtable_MIMARK_GTMARKalist =
|
39
31
|
trampCall(
|
40
32
|
Proc.new { |_obj|
|
41
33
|
if (
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
trampCall(_obj)
|
46
|
-
end
|
47
|
-
)
|
48
|
-
end
|
34
|
+
_null_QUMARK(
|
35
|
+
trampCall(_obj)
|
36
|
+
)
|
49
37
|
) then
|
50
|
-
|
51
|
-
begin
|
52
|
-
trampCall(_obj)
|
53
|
-
end
|
54
|
-
end
|
38
|
+
trampCall(_obj)
|
55
39
|
else
|
56
40
|
if (
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
begin
|
64
|
-
trampCall(_obj)
|
65
|
-
end
|
66
|
-
]
|
67
|
-
))
|
68
|
-
end
|
41
|
+
trampCall( self._vector_QUMARK_METHOD( 'vector?',
|
42
|
+
trampCall(@_vector_QUMARK) ,
|
43
|
+
[
|
44
|
+
trampCall(_obj)
|
45
|
+
]
|
46
|
+
))
|
69
47
|
) then
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
trampCall(@
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
))
|
95
|
-
end
|
96
|
-
} ,
|
97
|
-
begin
|
98
|
-
trampCall( self._vector_MIMARK_GTMARKlist_METHOD( 'vector->list',
|
99
|
-
begin
|
100
|
-
trampCall(@_vector_MIMARK_GTMARKlist)
|
101
|
-
end ,
|
102
|
-
[
|
103
|
-
begin
|
104
|
-
trampCall(_obj)
|
105
|
-
end
|
106
|
-
]
|
107
|
-
))
|
108
|
-
end
|
109
|
-
]
|
110
|
-
))
|
111
|
-
end
|
112
|
-
]
|
113
|
-
)
|
114
|
-
end
|
115
|
-
end
|
48
|
+
delayCall( '_list_MIMARK_GTMARKvector', 'list->vector',
|
49
|
+
trampCall(@_list_MIMARK_GTMARKvector) ,
|
50
|
+
[
|
51
|
+
trampCall( self._map_METHOD( 'map',
|
52
|
+
trampCall(@_map) ,
|
53
|
+
[
|
54
|
+
Proc.new { |_x|
|
55
|
+
trampCall( self.__PAMARKjson_COMARKhash_MIMARKtable_MIMARK_GTMARKalist_METHOD( '%json:hash-table->alist',
|
56
|
+
trampCall(@__PAMARKjson_COMARKhash_MIMARKtable_MIMARK_GTMARKalist) ,
|
57
|
+
[
|
58
|
+
trampCall(_x)
|
59
|
+
]
|
60
|
+
))
|
61
|
+
} ,
|
62
|
+
trampCall( self._vector_MIMARK_GTMARKlist_METHOD( 'vector->list',
|
63
|
+
trampCall(@_vector_MIMARK_GTMARKlist) ,
|
64
|
+
[
|
65
|
+
trampCall(_obj)
|
66
|
+
]
|
67
|
+
))
|
68
|
+
]
|
69
|
+
))
|
70
|
+
]
|
71
|
+
)
|
116
72
|
else
|
117
73
|
if (
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
begin
|
125
|
-
trampCall(_obj)
|
126
|
-
end
|
127
|
-
]
|
128
|
-
))
|
129
|
-
end
|
74
|
+
trampCall( self._hash_MIMARKtable_QUMARK_METHOD( 'hash-table?',
|
75
|
+
trampCall(@_hash_MIMARKtable_QUMARK) ,
|
76
|
+
[
|
77
|
+
trampCall(_obj)
|
78
|
+
]
|
79
|
+
))
|
130
80
|
) then
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
trampCall(_entry)
|
145
|
-
end
|
81
|
+
delayCall( '_map', 'map',
|
82
|
+
trampCall(@_map) ,
|
83
|
+
[
|
84
|
+
Proc.new { |_entry|
|
85
|
+
_cons(
|
86
|
+
_car(
|
87
|
+
trampCall(_entry)
|
88
|
+
) ,
|
89
|
+
trampCall( self.__PAMARKjson_COMARKhash_MIMARKtable_MIMARK_GTMARKalist_METHOD( '%json:hash-table->alist',
|
90
|
+
trampCall(@__PAMARKjson_COMARKhash_MIMARKtable_MIMARK_GTMARKalist) ,
|
91
|
+
[
|
92
|
+
_cdr(
|
93
|
+
trampCall(_entry)
|
146
94
|
)
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
)
|
160
|
-
end
|
161
|
-
]
|
162
|
-
))
|
163
|
-
end
|
164
|
-
)
|
165
|
-
end
|
166
|
-
} ,
|
167
|
-
begin
|
168
|
-
trampCall( self._hash_MIMARKtable_MIMARK_GTMARKalist_METHOD( 'hash-table->alist',
|
169
|
-
begin
|
170
|
-
trampCall(@_hash_MIMARKtable_MIMARK_GTMARKalist)
|
171
|
-
end ,
|
172
|
-
[
|
173
|
-
begin
|
174
|
-
trampCall(_obj)
|
175
|
-
end
|
176
|
-
]
|
177
|
-
))
|
178
|
-
end
|
179
|
-
]
|
180
|
-
)
|
181
|
-
end
|
182
|
-
end
|
95
|
+
]
|
96
|
+
))
|
97
|
+
)
|
98
|
+
} ,
|
99
|
+
trampCall( self._hash_MIMARKtable_MIMARK_GTMARKalist_METHOD( 'hash-table->alist',
|
100
|
+
trampCall(@_hash_MIMARKtable_MIMARK_GTMARKalist) ,
|
101
|
+
[
|
102
|
+
trampCall(_obj)
|
103
|
+
]
|
104
|
+
))
|
105
|
+
]
|
106
|
+
)
|
183
107
|
else
|
184
108
|
if (
|
185
109
|
true
|
186
110
|
) then
|
187
|
-
|
188
|
-
begin
|
189
|
-
trampCall(_obj)
|
190
|
-
end
|
191
|
-
end
|
111
|
+
trampCall(_obj)
|
192
112
|
else
|
193
113
|
Cell.new()
|
194
114
|
end
|
@@ -202,164 +122,92 @@ trampCall(
|
|
202
122
|
#--------------------
|
203
123
|
|
204
124
|
trampCall(
|
205
|
-
begin
|
125
|
+
begin #execFunc
|
206
126
|
def self.__PAMARKjson_COMARKalist_MIMARK_GTMARKhash_MIMARKtable_METHOD( origname, pred, args ) lispMethodEntry( origname, true ) ; ret = callProcedure( '__PAMARKjson_COMARKalist_MIMARK_GTMARKhash_MIMARKtable', origname, pred, args ) ; lispMethodExit( origname, true ) ; return ret end
|
207
127
|
@global_lisp_binding['__PAMARKjson_COMARKalist_MIMARK_GTMARKhash_MIMARKtable'] = self.method( :__PAMARKjson_COMARKalist_MIMARK_GTMARKhash_MIMARKtable_METHOD )
|
208
128
|
@__PAMARKjson_COMARKalist_MIMARK_GTMARKhash_MIMARKtable =
|
209
129
|
trampCall(
|
210
130
|
Proc.new { |_obj|
|
211
131
|
if (
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
trampCall(_obj)
|
216
|
-
end
|
217
|
-
)
|
218
|
-
end
|
132
|
+
_null_QUMARK(
|
133
|
+
trampCall(_obj)
|
134
|
+
)
|
219
135
|
) then
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
end ,
|
226
|
-
[
|
227
|
-
]
|
228
|
-
)
|
229
|
-
end
|
230
|
-
end
|
136
|
+
delayCall( '_make_MIMARKhash_MIMARKtable', 'make-hash-table',
|
137
|
+
trampCall(@_make_MIMARKhash_MIMARKtable) ,
|
138
|
+
[
|
139
|
+
]
|
140
|
+
)
|
231
141
|
else
|
232
142
|
if (
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
begin
|
240
|
-
trampCall(_obj)
|
241
|
-
end
|
242
|
-
]
|
243
|
-
))
|
244
|
-
end
|
143
|
+
trampCall( self._vector_QUMARK_METHOD( 'vector?',
|
144
|
+
trampCall(@_vector_QUMARK) ,
|
145
|
+
[
|
146
|
+
trampCall(_obj)
|
147
|
+
]
|
148
|
+
))
|
245
149
|
) then
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
trampCall(@
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
))
|
271
|
-
end
|
272
|
-
} ,
|
273
|
-
begin
|
274
|
-
trampCall( self._vector_MIMARK_GTMARKlist_METHOD( 'vector->list',
|
275
|
-
begin
|
276
|
-
trampCall(@_vector_MIMARK_GTMARKlist)
|
277
|
-
end ,
|
278
|
-
[
|
279
|
-
begin
|
280
|
-
trampCall(_obj)
|
281
|
-
end
|
282
|
-
]
|
283
|
-
))
|
284
|
-
end
|
285
|
-
]
|
286
|
-
))
|
287
|
-
end
|
288
|
-
]
|
289
|
-
)
|
290
|
-
end
|
291
|
-
end
|
150
|
+
delayCall( '_list_MIMARK_GTMARKvector', 'list->vector',
|
151
|
+
trampCall(@_list_MIMARK_GTMARKvector) ,
|
152
|
+
[
|
153
|
+
trampCall( self._map_METHOD( 'map',
|
154
|
+
trampCall(@_map) ,
|
155
|
+
[
|
156
|
+
Proc.new { |_x|
|
157
|
+
trampCall( self.__PAMARKjson_COMARKalist_MIMARK_GTMARKhash_MIMARKtable_METHOD( '%json:alist->hash-table',
|
158
|
+
trampCall(@__PAMARKjson_COMARKalist_MIMARK_GTMARKhash_MIMARKtable) ,
|
159
|
+
[
|
160
|
+
trampCall(_x)
|
161
|
+
]
|
162
|
+
))
|
163
|
+
} ,
|
164
|
+
trampCall( self._vector_MIMARK_GTMARKlist_METHOD( 'vector->list',
|
165
|
+
trampCall(@_vector_MIMARK_GTMARKlist) ,
|
166
|
+
[
|
167
|
+
trampCall(_obj)
|
168
|
+
]
|
169
|
+
))
|
170
|
+
]
|
171
|
+
))
|
172
|
+
]
|
173
|
+
)
|
292
174
|
else
|
293
175
|
if (
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
trampCall(_obj)
|
298
|
-
end
|
299
|
-
)
|
300
|
-
end
|
176
|
+
_pair_QUMARK(
|
177
|
+
trampCall(_obj)
|
178
|
+
)
|
301
179
|
) then
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
trampCall(@
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
trampCall(@__PAMARKjson_COMARKalist_MIMARK_GTMARKhash_MIMARKtable)
|
329
|
-
end ,
|
330
|
-
[
|
331
|
-
begin
|
332
|
-
_cdr(
|
333
|
-
begin
|
334
|
-
trampCall(_entry)
|
335
|
-
end
|
336
|
-
)
|
337
|
-
end
|
338
|
-
]
|
339
|
-
))
|
340
|
-
end
|
341
|
-
)
|
342
|
-
end
|
343
|
-
} ,
|
344
|
-
begin
|
345
|
-
trampCall(_obj)
|
346
|
-
end
|
347
|
-
]
|
348
|
-
))
|
349
|
-
end
|
350
|
-
]
|
351
|
-
)
|
352
|
-
end
|
353
|
-
end
|
180
|
+
delayCall( '_alist_MIMARK_GTMARKhash_MIMARKtable', 'alist->hash-table',
|
181
|
+
trampCall(@_alist_MIMARK_GTMARKhash_MIMARKtable) ,
|
182
|
+
[
|
183
|
+
trampCall( self._map_METHOD( 'map',
|
184
|
+
trampCall(@_map) ,
|
185
|
+
[
|
186
|
+
Proc.new { |_entry|
|
187
|
+
_cons(
|
188
|
+
_car(
|
189
|
+
trampCall(_entry)
|
190
|
+
) ,
|
191
|
+
trampCall( self.__PAMARKjson_COMARKalist_MIMARK_GTMARKhash_MIMARKtable_METHOD( '%json:alist->hash-table',
|
192
|
+
trampCall(@__PAMARKjson_COMARKalist_MIMARK_GTMARKhash_MIMARKtable) ,
|
193
|
+
[
|
194
|
+
_cdr(
|
195
|
+
trampCall(_entry)
|
196
|
+
)
|
197
|
+
]
|
198
|
+
))
|
199
|
+
)
|
200
|
+
} ,
|
201
|
+
trampCall(_obj)
|
202
|
+
]
|
203
|
+
))
|
204
|
+
]
|
205
|
+
)
|
354
206
|
else
|
355
207
|
if (
|
356
208
|
true
|
357
209
|
) then
|
358
|
-
|
359
|
-
begin
|
360
|
-
trampCall(_obj)
|
361
|
-
end
|
362
|
-
end
|
210
|
+
trampCall(_obj)
|
363
211
|
else
|
364
212
|
Cell.new()
|
365
213
|
end
|
@@ -373,28 +221,20 @@ trampCall(
|
|
373
221
|
#--------------------
|
374
222
|
|
375
223
|
trampCall(
|
376
|
-
begin
|
224
|
+
begin #execFunc
|
377
225
|
def self._parse_MIMARKjson_MIMARKstring_METHOD( origname, pred, args ) lispMethodEntry( origname, true ) ; ret = callProcedure( '_parse_MIMARKjson_MIMARKstring', origname, pred, args ) ; lispMethodExit( origname, true ) ; return ret end
|
378
226
|
@global_lisp_binding['_parse_MIMARKjson_MIMARKstring'] = self.method( :_parse_MIMARKjson_MIMARKstring_METHOD )
|
379
227
|
@_parse_MIMARKjson_MIMARKstring =
|
380
228
|
trampCall(
|
381
229
|
Proc.new { |_str|
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
begin
|
391
|
-
trampCall(_str)
|
392
|
-
end
|
393
|
-
)
|
394
|
-
end
|
395
|
-
]
|
396
|
-
)
|
397
|
-
end
|
230
|
+
delayCall( '__PAMARKjson_COMARKhash_MIMARKtable_MIMARK_GTMARKalist', '%json:hash-table->alist',
|
231
|
+
trampCall(@__PAMARKjson_COMARKhash_MIMARKtable_MIMARK_GTMARKalist) ,
|
232
|
+
[
|
233
|
+
trampCall(JSON).parse(
|
234
|
+
trampCall(_str)
|
235
|
+
)
|
236
|
+
]
|
237
|
+
)
|
398
238
|
}
|
399
239
|
)
|
400
240
|
end
|
@@ -402,68 +242,46 @@ trampCall(
|
|
402
242
|
#--------------------
|
403
243
|
|
404
244
|
trampCall(
|
405
|
-
begin
|
245
|
+
begin #execFunc
|
406
246
|
def self._parse_MIMARKjson_METHOD( origname, pred, args ) lispMethodEntry( origname, true ) ; ret = callProcedure( '_parse_MIMARKjson', origname, pred, args ) ; lispMethodExit( origname, true ) ; return ret end
|
407
247
|
@global_lisp_binding['_parse_MIMARKjson'] = self.method( :_parse_MIMARKjson_METHOD )
|
408
248
|
@_parse_MIMARKjson =
|
409
249
|
trampCall(
|
410
250
|
Proc.new { |*__rest__| _io = __rest__[0] ;
|
411
|
-
begin
|
251
|
+
begin #makeLet
|
412
252
|
___lambda = lambda { |__|
|
413
|
-
begin
|
253
|
+
begin #makeLet
|
414
254
|
___lambda = lambda { |_str|
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
begin
|
422
|
-
trampCall(_str)
|
423
|
-
end
|
424
|
-
]
|
425
|
-
)
|
426
|
-
end
|
255
|
+
delayCall( '_parse_MIMARKjson_MIMARKstring', 'parse-json-string',
|
256
|
+
trampCall(@_parse_MIMARKjson_MIMARKstring) ,
|
257
|
+
[
|
258
|
+
trampCall(_str)
|
259
|
+
]
|
260
|
+
)
|
427
261
|
} ; ___lambda.call(
|
428
|
-
|
429
|
-
|
430
|
-
)
|
431
|
-
end
|
262
|
+
trampCall(__).read(
|
263
|
+
)
|
432
264
|
)
|
433
265
|
end
|
434
266
|
} ; ___lambda.call(
|
435
|
-
begin
|
267
|
+
begin #makeLet
|
436
268
|
___lambda = lambda { |___gensym__6d159efe5170a605fc9e84dcf91a427e3f7e5718_90188|
|
437
269
|
if (
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
trampCall(___gensym__6d159efe5170a605fc9e84dcf91a427e3f7e5718_90188)
|
442
|
-
end
|
443
|
-
)
|
444
|
-
end
|
270
|
+
_null_QUMARK(
|
271
|
+
trampCall(___gensym__6d159efe5170a605fc9e84dcf91a427e3f7e5718_90188)
|
272
|
+
)
|
445
273
|
) then
|
446
|
-
|
447
|
-
trampCall(STDIN)
|
448
|
-
end
|
274
|
+
trampCall(STDIN)
|
449
275
|
else
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
begin
|
457
|
-
trampCall(___gensym__6d159efe5170a605fc9e84dcf91a427e3f7e5718_90188)
|
458
|
-
end
|
459
|
-
]
|
460
|
-
)
|
461
|
-
end
|
276
|
+
delayCall( '_car', 'car',
|
277
|
+
trampCall(@_car) ,
|
278
|
+
[
|
279
|
+
trampCall(___gensym__6d159efe5170a605fc9e84dcf91a427e3f7e5718_90188)
|
280
|
+
]
|
281
|
+
)
|
462
282
|
end
|
463
283
|
} ; ___lambda.call(
|
464
|
-
|
465
|
-
trampCall(_io)
|
466
|
-
end
|
284
|
+
trampCall(_io)
|
467
285
|
)
|
468
286
|
end
|
469
287
|
)
|
@@ -475,28 +293,20 @@ trampCall(
|
|
475
293
|
#--------------------
|
476
294
|
|
477
295
|
trampCall(
|
478
|
-
begin
|
296
|
+
begin #execFunc
|
479
297
|
def self._construct_MIMARKjson_MIMARKstring_METHOD( origname, pred, args ) lispMethodEntry( origname, true ) ; ret = callProcedure( '_construct_MIMARKjson_MIMARKstring', origname, pred, args ) ; lispMethodExit( origname, true ) ; return ret end
|
480
298
|
@global_lisp_binding['_construct_MIMARKjson_MIMARKstring'] = self.method( :_construct_MIMARKjson_MIMARKstring_METHOD )
|
481
299
|
@_construct_MIMARKjson_MIMARKstring =
|
482
300
|
trampCall(
|
483
301
|
Proc.new { |_obj|
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
begin
|
493
|
-
trampCall(_obj)
|
494
|
-
end
|
495
|
-
]
|
496
|
-
))
|
497
|
-
end
|
498
|
-
)
|
499
|
-
end
|
302
|
+
trampCall(JSON).dump(
|
303
|
+
trampCall( self.__PAMARKjson_COMARKalist_MIMARK_GTMARKhash_MIMARKtable_METHOD( '%json:alist->hash-table',
|
304
|
+
trampCall(@__PAMARKjson_COMARKalist_MIMARK_GTMARKhash_MIMARKtable) ,
|
305
|
+
[
|
306
|
+
trampCall(_obj)
|
307
|
+
]
|
308
|
+
))
|
309
|
+
)
|
500
310
|
}
|
501
311
|
)
|
502
312
|
end
|
@@ -504,63 +314,41 @@ trampCall(
|
|
504
314
|
#--------------------
|
505
315
|
|
506
316
|
trampCall(
|
507
|
-
begin
|
317
|
+
begin #execFunc
|
508
318
|
def self._construct_MIMARKjson_METHOD( origname, pred, args ) lispMethodEntry( origname, true ) ; ret = callProcedure( '_construct_MIMARKjson', origname, pred, args ) ; lispMethodExit( origname, true ) ; return ret end
|
509
319
|
@global_lisp_binding['_construct_MIMARKjson'] = self.method( :_construct_MIMARKjson_METHOD )
|
510
320
|
@_construct_MIMARKjson =
|
511
321
|
trampCall(
|
512
322
|
Proc.new { |_obj,*__rest__| _io = __rest__[0] ;
|
513
|
-
begin
|
323
|
+
begin #makeLet
|
514
324
|
___lambda = lambda { |__|
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
begin
|
524
|
-
trampCall(_obj)
|
525
|
-
end
|
526
|
-
]
|
527
|
-
))
|
528
|
-
end
|
529
|
-
)
|
530
|
-
end
|
325
|
+
trampCall(__).print(
|
326
|
+
trampCall( self._construct_MIMARKjson_MIMARKstring_METHOD( 'construct-json-string',
|
327
|
+
trampCall(@_construct_MIMARKjson_MIMARKstring) ,
|
328
|
+
[
|
329
|
+
trampCall(_obj)
|
330
|
+
]
|
331
|
+
))
|
332
|
+
)
|
531
333
|
} ; ___lambda.call(
|
532
|
-
begin
|
334
|
+
begin #makeLet
|
533
335
|
___lambda = lambda { |___gensym__6d159efe5170a605fc9e84dcf91a427e3f7e5718_90189|
|
534
336
|
if (
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
trampCall(___gensym__6d159efe5170a605fc9e84dcf91a427e3f7e5718_90189)
|
539
|
-
end
|
540
|
-
)
|
541
|
-
end
|
337
|
+
_null_QUMARK(
|
338
|
+
trampCall(___gensym__6d159efe5170a605fc9e84dcf91a427e3f7e5718_90189)
|
339
|
+
)
|
542
340
|
) then
|
543
|
-
|
544
|
-
trampCall(STDOUT)
|
545
|
-
end
|
341
|
+
trampCall(STDOUT)
|
546
342
|
else
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
begin
|
554
|
-
trampCall(___gensym__6d159efe5170a605fc9e84dcf91a427e3f7e5718_90189)
|
555
|
-
end
|
556
|
-
]
|
557
|
-
)
|
558
|
-
end
|
343
|
+
delayCall( '_car', 'car',
|
344
|
+
trampCall(@_car) ,
|
345
|
+
[
|
346
|
+
trampCall(___gensym__6d159efe5170a605fc9e84dcf91a427e3f7e5718_90189)
|
347
|
+
]
|
348
|
+
)
|
559
349
|
end
|
560
350
|
} ; ___lambda.call(
|
561
|
-
|
562
|
-
trampCall(_io)
|
563
|
-
end
|
351
|
+
trampCall(_io)
|
564
352
|
)
|
565
353
|
end
|
566
354
|
)
|