theprogrammablemind 9.8.0-beta.7 → 9.8.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/generators.js +3 -3
- package/src/semantics.js +6 -6
package/package.json
CHANGED
package/src/generators.js
CHANGED
|
@@ -227,13 +227,13 @@ class Generators {
|
|
|
227
227
|
lines.newRow()
|
|
228
228
|
lines.setElement(0, 2, generator.toString())
|
|
229
229
|
lines.newRow()
|
|
230
|
+
lines.setElement(0, 1, 'STACK')
|
|
231
|
+
lines.setElement(0, 2, stack)
|
|
232
|
+
lines.newRow()
|
|
230
233
|
lines.setElement(0, 1, 'TO')
|
|
231
234
|
lines.setElement(0, 2, `context_id: ${context.context_id}`)
|
|
232
235
|
lines.setElement(1, 2, JSON.stringify(helpers.sortJson(context, { depth: 10 }), null, 2))
|
|
233
236
|
lines.newRow()
|
|
234
|
-
lines.setElement(0, 1, 'STACK')
|
|
235
|
-
lines.setElement(0, 2, stack)
|
|
236
|
-
lines.newRow()
|
|
237
237
|
lines.setElement(0, 1, 'DEBUG')
|
|
238
238
|
lines.setElement(0, 2, `To debug this use debug.breakAt('${args.calls.current()}') or DEBUG_CALLID="${args.calls.current()}"`)
|
|
239
239
|
lines.newRow()
|
package/src/semantics.js
CHANGED
|
@@ -264,13 +264,13 @@ class Semantics {
|
|
|
264
264
|
lines.setElement(0, 1, 'DEBUG')
|
|
265
265
|
lines.setElement(0, 2, `To debug this use debug.breakAt('${args.calls.current()}') in the code or DEBUG_CALLID="${args.calls.current()}"`)
|
|
266
266
|
lines.newRow()
|
|
267
|
+
lines.setElement(0, 1, 'STACK')
|
|
268
|
+
lines.setElement(0, 2, stack)
|
|
269
|
+
lines.newRow()
|
|
267
270
|
lines.setElement(0, 1, 'TO')
|
|
268
271
|
lines.setElement(0, 2, `context_id: ${context.context_id}`)
|
|
269
272
|
lines.setElement(1, 2, JSON.stringify(helpers.sortJson(context, { depth: 25 }), null, 2))
|
|
270
273
|
lines.newRow()
|
|
271
|
-
lines.setElement(0, 1, 'STACK')
|
|
272
|
-
lines.setElement(0, 2, stack)
|
|
273
|
-
lines.newRow()
|
|
274
274
|
lines.setElement(0, 1, 'ERROR')
|
|
275
275
|
lines.setElement(0, 2, errorMessage)
|
|
276
276
|
this.logs.push(lines.toString())
|
|
@@ -300,13 +300,13 @@ class Semantics {
|
|
|
300
300
|
lines.setElement(0, 1, 'DEBUG')
|
|
301
301
|
lines.setElement(0, 2, `To debug this use debug.breakAt('${args.calls.current()}') in the code or DEBUG_CALLID="${args.calls.current()}"`)
|
|
302
302
|
lines.newRow()
|
|
303
|
+
lines.setElement(0, 1, 'STACK')
|
|
304
|
+
lines.setElement(0, 2, stack)
|
|
305
|
+
lines.newRow()
|
|
303
306
|
lines.setElement(0, 1, 'TO')
|
|
304
307
|
lines.setElement(0, 2, `context_id: ${context.context_id}`)
|
|
305
308
|
lines.setElement(1, 2, JSON.stringify(helpers.sortJson(context, { depth: 25 }), null, 2))
|
|
306
309
|
lines.newRow()
|
|
307
|
-
lines.setElement(0, 1, 'STACK')
|
|
308
|
-
lines.setElement(0, 2, stack)
|
|
309
|
-
lines.newRow()
|
|
310
310
|
lines.setElement(0, 1, 'RESULT')
|
|
311
311
|
lines.setElement(0, 2, `context_id: ${context.context_id}`)
|
|
312
312
|
lines.setElement(1, 2, JSON.stringify(contextPrime, null, 2))
|