limn-hl 0.1.0 → 0.2.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.
Files changed (73) hide show
  1. package/README.md +109 -148
  2. package/dist/detect.d.ts +7 -1
  3. package/dist/detect.js +592 -502
  4. package/dist/engine.js +45 -1
  5. package/dist/generated/detect.d.ts +11 -0
  6. package/dist/generated/detect.js +2434 -0
  7. package/dist/generated/grammars.d.ts +119 -0
  8. package/dist/generated/grammars.js +613 -0
  9. package/dist/generated/lang.d.ts +6 -0
  10. package/dist/{lang/index.js → generated/lang.js} +82 -56
  11. package/dist/{theme/generated.d.ts → generated/themes.d.ts} +3 -1
  12. package/dist/{theme/generated.js → generated/themes.js} +29 -0
  13. package/dist/lang.d.ts +1 -0
  14. package/dist/lang.js +1 -0
  15. package/dist/render/ansi.d.ts +1 -1
  16. package/dist/render/html.d.ts +1 -1
  17. package/dist/{theme/index.d.ts → theme.d.ts} +1 -1
  18. package/dist/theme.js +1 -0
  19. package/dist/vm/compile.d.ts +4 -0
  20. package/dist/vm/compile.js +390 -0
  21. package/dist/vm/exec.d.ts +3 -0
  22. package/dist/vm/exec.js +218 -0
  23. package/dist/vm/format.d.ts +255 -0
  24. package/dist/vm/format.js +248 -0
  25. package/dist/vm/index.d.ts +2 -0
  26. package/dist/vm/index.js +2 -0
  27. package/dist/vm/pat.d.ts +4 -0
  28. package/dist/vm/pat.js +701 -0
  29. package/dist/vm/quoted.d.ts +8 -0
  30. package/dist/vm/quoted.js +190 -0
  31. package/dist/vm/scan.d.ts +3 -0
  32. package/dist/vm/scan.js +499 -0
  33. package/dist/wordtable.d.ts +8 -4
  34. package/dist/wordtable.js +107 -30
  35. package/package.json +6 -6
  36. package/dist/lang/clike.d.ts +0 -15
  37. package/dist/lang/clike.js +0 -35
  38. package/dist/lang/clike_helpers.d.ts +0 -8
  39. package/dist/lang/clike_helpers.js +0 -220
  40. package/dist/lang/code.d.ts +0 -45
  41. package/dist/lang/code.js +0 -779
  42. package/dist/lang/config.d.ts +0 -5
  43. package/dist/lang/config.js +0 -164
  44. package/dist/lang/css.d.ts +0 -5
  45. package/dist/lang/css.js +0 -125
  46. package/dist/lang/docs.d.ts +0 -12
  47. package/dist/lang/docs.js +0 -462
  48. package/dist/lang/formats.d.ts +0 -10
  49. package/dist/lang/formats.js +0 -295
  50. package/dist/lang/html.d.ts +0 -11
  51. package/dist/lang/html.js +0 -298
  52. package/dist/lang/index.d.ts +0 -20
  53. package/dist/lang/js.d.ts +0 -9
  54. package/dist/lang/js.js +0 -532
  55. package/dist/lang/js_helpers.d.ts +0 -7
  56. package/dist/lang/js_helpers.js +0 -308
  57. package/dist/lang/json.d.ts +0 -3
  58. package/dist/lang/json.js +0 -136
  59. package/dist/lang/markdown.d.ts +0 -3
  60. package/dist/lang/markdown.js +0 -249
  61. package/dist/lang/python.d.ts +0 -3
  62. package/dist/lang/python.js +0 -335
  63. package/dist/lang/scripting.d.ts +0 -7
  64. package/dist/lang/scripting.js +0 -216
  65. package/dist/lang/shell.d.ts +0 -7
  66. package/dist/lang/shell.js +0 -278
  67. package/dist/lang/specs_gen.d.ts +0 -66
  68. package/dist/lang/specs_gen.js +0 -381
  69. package/dist/lang/terminal.d.ts +0 -9
  70. package/dist/lang/terminal.js +0 -550
  71. package/dist/lang/yaml.d.ts +0 -4
  72. package/dist/lang/yaml.js +0 -176
  73. package/dist/theme/index.js +0 -1
@@ -0,0 +1,119 @@
1
+ import type { Grammar } from "../engine.js";
2
+ /** Returns the asm grammar. */
3
+ export declare const asm: () => Grammar;
4
+ /** Returns the astro grammar. */
5
+ export declare const astro: () => Grammar;
6
+ /** Returns the bash grammar. */
7
+ export declare const bash: () => Grammar;
8
+ /** Returns the bat grammar. */
9
+ export declare const bat: () => Grammar;
10
+ /** Returns the c grammar. */
11
+ export declare const c: () => Grammar;
12
+ /** Returns the cmake grammar. */
13
+ export declare const cmake: () => Grammar;
14
+ /** Returns the cpp grammar. */
15
+ export declare const cpp: () => Grammar;
16
+ /** Returns the cs grammar. */
17
+ export declare const cs: () => Grammar;
18
+ /** Returns the css grammar. */
19
+ export declare const css: () => Grammar;
20
+ /** Returns the dart grammar. */
21
+ export declare const dart: () => Grammar;
22
+ /** Returns the diff grammar. */
23
+ export declare const diff: () => Grammar;
24
+ /** Returns the docker grammar. */
25
+ export declare const docker: () => Grammar;
26
+ /** Returns the gleam grammar. */
27
+ export declare const gleam: () => Grammar;
28
+ /** Returns the glsl grammar. */
29
+ export declare const glsl: () => Grammar;
30
+ /** Returns the go grammar. */
31
+ export declare const go: () => Grammar;
32
+ /** Returns the graphql grammar. */
33
+ export declare const graphql: () => Grammar;
34
+ /** Returns the groovy grammar. */
35
+ export declare const groovy: () => Grammar;
36
+ /** Returns the hcl grammar. */
37
+ export declare const hcl: () => Grammar;
38
+ /** Returns the html grammar. */
39
+ export declare const html: () => Grammar;
40
+ /** Returns the http grammar. */
41
+ export declare const http: () => Grammar;
42
+ /** Returns the ini grammar. */
43
+ export declare const ini: () => Grammar;
44
+ /** Returns the java grammar. */
45
+ export declare const java: () => Grammar;
46
+ /** Returns the js grammar. */
47
+ export declare const js: () => Grammar;
48
+ /** Returns the json grammar. */
49
+ export declare const json: () => Grammar;
50
+ /** Returns the jsx grammar. */
51
+ export declare const jsx: () => Grammar;
52
+ /** Returns the kt grammar. */
53
+ export declare const kt: () => Grammar;
54
+ /** Returns the log grammar. */
55
+ export declare const log: () => Grammar;
56
+ /** Returns the lua grammar. */
57
+ export declare const lua: () => Grammar;
58
+ /** Returns the make grammar. */
59
+ export declare const make: () => Grammar;
60
+ /** Returns the md grammar. */
61
+ export declare const md: () => Grammar;
62
+ /** Returns the mermaid grammar. */
63
+ export declare const mermaid: () => Grammar;
64
+ /** Returns the nginx grammar. */
65
+ export declare const nginx: () => Grammar;
66
+ /** Returns the nix grammar. */
67
+ export declare const nix: () => Grammar;
68
+ /** Returns the php grammar. */
69
+ export declare const php: () => Grammar;
70
+ /** Returns the plain grammar. */
71
+ export declare const plain: () => Grammar;
72
+ /** Returns the powershell grammar. */
73
+ export declare const powershell: () => Grammar;
74
+ /** Returns the prisma grammar. */
75
+ export declare const prisma: () => Grammar;
76
+ /** Returns the proto grammar. */
77
+ export declare const proto: () => Grammar;
78
+ /** Returns the py grammar. */
79
+ export declare const py: () => Grammar;
80
+ /** Returns the r grammar. */
81
+ export declare const r: () => Grammar;
82
+ /** Returns the rb grammar. */
83
+ export declare const rb: () => Grammar;
84
+ /** Returns the regex grammar. */
85
+ export declare const regex: () => Grammar;
86
+ /** Returns the rs grammar. */
87
+ export declare const rs: () => Grammar;
88
+ /** Returns the scala grammar. */
89
+ export declare const scala: () => Grammar;
90
+ /** Returns the scss grammar. */
91
+ export declare const scss: () => Grammar;
92
+ /** Returns the solidity grammar. */
93
+ export declare const solidity: () => Grammar;
94
+ /** Returns the sql grammar. */
95
+ export declare const sql: () => Grammar;
96
+ /** Returns the svelte grammar. */
97
+ export declare const svelte: () => Grammar;
98
+ /** Returns the swift grammar. */
99
+ export declare const swift: () => Grammar;
100
+ /** Returns the tex grammar. */
101
+ export declare const tex: () => Grammar;
102
+ /** Returns the toml grammar. */
103
+ export declare const toml: () => Grammar;
104
+ /** Returns the ts grammar. */
105
+ export declare const ts: () => Grammar;
106
+ /** Returns the tsx grammar. */
107
+ export declare const tsx: () => Grammar;
108
+ /** Returns the typst grammar. */
109
+ export declare const typst: () => Grammar;
110
+ /** Returns the vue grammar. */
111
+ export declare const vue: () => Grammar;
112
+ /** Returns the wgsl grammar. */
113
+ export declare const wgsl: () => Grammar;
114
+ /** Returns the xml grammar. */
115
+ export declare const xml: () => Grammar;
116
+ /** Returns the yaml grammar. */
117
+ export declare const yaml: () => Grammar;
118
+ /** Returns the zig grammar. */
119
+ export declare const zig: () => Grammar;