@mylasertools/kerfscript 0.4.0 → 0.6.0
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/CHANGELOG.md +125 -1
- package/LANGUAGE.md +26 -11
- package/README.md +79 -5
- package/dist/ast.d.cts +13 -1
- package/dist/ast.d.ts +13 -1
- package/dist/cli.js +7509 -1629
- package/dist/diagnostics.d.cts +6 -0
- package/dist/diagnostics.d.ts +6 -0
- package/dist/evaluator.d.cts +12 -0
- package/dist/evaluator.d.ts +12 -0
- package/dist/format.d.cts +4 -0
- package/dist/format.d.ts +4 -0
- package/dist/highlight.cjs +151 -0
- package/dist/highlight.d.cts +13 -0
- package/dist/highlight.d.ts +13 -0
- package/dist/highlight.js +131 -0
- package/dist/import/dbg.d.cts +1 -0
- package/dist/import/dbg.d.ts +1 -0
- package/dist/import/index.d.cts +16 -0
- package/dist/import/index.d.ts +16 -0
- package/dist/import/shapes.d.cts +76 -0
- package/dist/import/shapes.d.ts +76 -0
- package/dist/import/svg.d.cts +48 -0
- package/dist/import/svg.d.ts +48 -0
- package/dist/import/xml.d.cts +12 -0
- package/dist/import/xml.d.ts +12 -0
- package/dist/index.cjs +391 -13
- package/dist/index.d.cts +7 -3
- package/dist/index.d.ts +7 -3
- package/dist/index.js +391 -13
- package/dist/language.cjs +417 -0
- package/dist/language.d.cts +143 -0
- package/dist/language.d.ts +143 -0
- package/dist/language.js +417 -0
- package/dist/lexer.d.cts +17 -0
- package/dist/lexer.d.ts +17 -0
- package/dist/libraries.cjs +380 -0
- package/dist/libraries.d.cts +112 -0
- package/dist/libraries.d.ts +112 -0
- package/dist/libraries.js +380 -0
- package/dist/lsp.d.cts +12 -0
- package/dist/lsp.d.ts +12 -0
- package/dist/paths.d.cts +1 -1
- package/dist/paths.d.ts +1 -1
- package/dist/signatures.cjs +675 -0
- package/dist/signatures.d.cts +20 -0
- package/dist/signatures.d.ts +20 -0
- package/dist/signatures.js +655 -0
- package/docs/cli.md +54 -2
- package/docs/desktop.md +5 -0
- package/docs/editors.md +121 -0
- package/docs/import.md +149 -0
- package/docs/javascript.md +177 -10
- package/docs/kerf.md +10 -0
- package/docs/library/box.svg +11 -0
- package/docs/library/calibration.svg +11 -0
- package/docs/library/dividers.svg +11 -0
- package/docs/library/enclosure.svg +11 -0
- package/docs/library/hanging.svg +11 -0
- package/docs/library/hinge.svg +11 -0
- package/docs/library/tabs.svg +11 -0
- package/docs/library.md +339 -0
- package/docs/mcp.md +88 -0
- package/docs/openscad.md +1 -1
- package/docs/shared-libraries.md +229 -0
- package/docs/specification.md +529 -0
- package/docs/versions.md +2 -2
- package/package.json +52 -6
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
export { render, type RenderOptions, type RenderResult, type PartInfo, type Sheet, } from './render.cjs';
|
|
2
2
|
export { parameters, type Parameter } from './customizer.cjs';
|
|
3
3
|
export { parse } from './parser.cjs';
|
|
4
|
-
export { tokenize, KerfError } from './lexer.cjs';
|
|
4
|
+
export { tokenize, KerfError, type TraceFrame } from './lexer.cjs';
|
|
5
|
+
export { formatError, type FormatOptions } from './diagnostics.cjs';
|
|
6
|
+
export { format, type FormatOptions as FormatterOptions } from './format.cjs';
|
|
5
7
|
export { DEFAULT_LAYERS, DEFAULT_LIMITS, type LayerDef, type Limits } from './evaluator.cjs';
|
|
6
8
|
export type { LayerPath } from './export/svg.cjs';
|
|
7
9
|
export type { FontSource } from './text.cjs';
|
|
8
10
|
export type { Value } from './values.cjs';
|
|
9
|
-
export
|
|
10
|
-
export declare const
|
|
11
|
+
export { SIGNATURES, signature, formatSignature, type Signature, type ParamInfo, } from './signatures.cjs';
|
|
12
|
+
export declare const VERSION = "0.6.0";
|
|
13
|
+
export declare const LANGUAGE_VERSION = "0.2";
|
|
14
|
+
export { importSvg, type ImportOptions, type ImportResult } from './import/index.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
export { render, type RenderOptions, type RenderResult, type PartInfo, type Sheet, } from './render.js';
|
|
2
2
|
export { parameters, type Parameter } from './customizer.js';
|
|
3
3
|
export { parse } from './parser.js';
|
|
4
|
-
export { tokenize, KerfError } from './lexer.js';
|
|
4
|
+
export { tokenize, KerfError, type TraceFrame } from './lexer.js';
|
|
5
|
+
export { formatError, type FormatOptions } from './diagnostics.js';
|
|
6
|
+
export { format, type FormatOptions as FormatterOptions } from './format.js';
|
|
5
7
|
export { DEFAULT_LAYERS, DEFAULT_LIMITS, type LayerDef, type Limits } from './evaluator.js';
|
|
6
8
|
export type { LayerPath } from './export/svg.js';
|
|
7
9
|
export type { FontSource } from './text.js';
|
|
8
10
|
export type { Value } from './values.js';
|
|
9
|
-
export
|
|
10
|
-
export declare const
|
|
11
|
+
export { SIGNATURES, signature, formatSignature, type Signature, type ParamInfo, } from './signatures.js';
|
|
12
|
+
export declare const VERSION = "0.6.0";
|
|
13
|
+
export declare const LANGUAGE_VERSION = "0.2";
|
|
14
|
+
export { importSvg, type ImportOptions, type ImportResult } from './import/index.js';
|