WIP - fixing grammar separating SimpleNode from ComplexNode

This commit is contained in:
Knut Sveidqvist
2025-04-19 04:54:25 -04:00
parent 97cde9827b
commit df3c3d2fdc
12 changed files with 320 additions and 453 deletions

View File

@@ -0,0 +1,7 @@
// Debug file to print the structure of a parsed mindmap
import { mindMapParse } from './test-util.js';
const result = mindMapParse('mindmap\nroot\n child1\n child2');
console.log('Parser result:', result.value);
console.log('Statement structure:', JSON.stringify(result.value?.statements[0], null, 2));