최상위 10_Wiki/Topic_*였던 4개 카테고리 폴더를 10_Wiki/Topics/Topic_* 로 재배치.
콘텐츠 변경 없음(순수 폴더 이동) — Topics/ 하위 나머지 폴더는 이미 지난 커밋에서
전부 정리된 상태(잔존 항목은 에이전트 운영 상태 및 사용자가 보존을 요청한
업데이트0615/무제 3.canvas 뿐).
"매 source 의 every token (whitespace, comment 포함) 까지 보존하는 lossless tree". AST 가 semantic-only 인 반면 CST 는 매 source 의 round-trip 가능. 매 modern tooling — tree-sitter, rowan (rust-analyzer), Roslyn — 매 CST 위에서 매 IDE feature, refactoring, formatter 를 매 build.
constParser=require('tree-sitter');constTS=require('tree-sitter-typescript').typescript;constparser=newParser();parser.setLanguage(TS);consttree=parser.parse('const x: number = 1;');// Walk
constcursor=tree.walk();do{console.log(cursor.nodeType,cursor.startIndex,cursor.endIndex);}while(cursor.gotoNextSibling()||cursor.gotoFirstChild());
tree-sitter query (S-expression)
; Find all function declarations(function_declarationname:(identifier)@func.nameparameters:(formal_parameters)@func.params); Find unused imports(import_statementsource:(string)@import.source)@import