Revert "Add Decodal formatter"

This reverts commit 22f6bc1ab9.
This commit is contained in:
2026-07-09 17:46:24 +09:00
parent 22f6bc1ab9
commit ac99c4cb4e
16 changed files with 24 additions and 606 deletions
@@ -34,15 +34,15 @@ deno add jsr:@hare/decodal-wasm
## Usage
\`\`\`js
import init, { evaluateProject, formatSource } from 'decodal-wasm';
import init, { evaluateProject } from 'decodal-wasm';
await init();
const formatted = JSON.parse(formatSource('Server={port=Int default 8080;};'));
console.log(formatted.source);
const result = evaluateProject('main.dcdl', JSON.stringify({
'main.dcdl': 'Server = { port = Int default 8080; };',
const result = evaluateProject(JSON.stringify({
entry: 'main.dcdl',
files: {
'main.dcdl': 'Server = { port = Int default 8080; };',
},
}));
console.log(JSON.parse(result));