Skip to content

Commit 80ee7f4

Browse files
committed
docs: update parsers
1 parent 1722660 commit 80ee7f4

File tree

3 files changed

+24
-7
lines changed

3 files changed

+24
-7
lines changed

README.md

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ Feel free to add more languages and parsers via PR!
3838
- [Flow](https://github.com/facebook/flow/tree/main/packages/flow-parser)
3939
- [Hermes](https://github.com/facebook/hermes)
4040
- [meriyah](https://github.com/meriyah/meriyah)
41+
- [ohos-typescript](https://gitcode.com/openharmony/third_party_typescript)
42+
- [go-fAST](https://github.com/t14raptor/go-fast)
4143
- [Vue](https://vuejs.org/)
4244
- [Svelte](https://svelte.dev/)
4345
- [Astro](https://astro.build/)
@@ -51,26 +53,41 @@ Feel free to add more languages and parsers via PR!
5153
- [rehype](https://github.com/rehypejs/rehype)
5254
- [@html-eslint/parser](https://github.com/yeonjuan/html-eslint)
5355
- [ultrahtml](https://github.com/natemoo-re/ultrahtml/)
56+
- [angular-html-parser](https://github.com/prettier/angular-html-parser)
5457
- JSON
5558
- [json-to-ast](https://github.com/vtrushin/json-to-ast)
5659
- [moma](https://www.npmjs.com/package/@humanwhocodes/momoa)
5760
- [jsonc-eslint-parser](https://www.npmjs.com/package/jsonc-eslint-parser)
58-
- [WXML](https://github.com/wxmlfile/wxml-parser)
61+
- [TypeScript](https://www.typescriptlang.org/)
5962
- Markdown
6063
- [remark](https://github.com/remarkjs/remark)
6164
- YAML
6265
- [yaml](https://eemeli.org/yaml/)
6366
- [yaml-eslint-parser](https://www.npmjs.com/package/yaml-eslint-parser)
67+
- [yaml-unist-parser](https://github.com/prettier/yaml-unist-parser)
6468
- Rust
6569
- [astexplorer-syn](https://www.npmjs.com/package/astexplorer-syn)
6670
- [jinx-rust](https://www.npmjs.com/package/jinx-rust)
67-
- PHP
68-
- [php-parser](https://www.npmjs.com/package/php-parser)
69-
- [Solidity](https://soliditylang.org/)
71+
- [tree-sitter-rust](https://github.com/tree-sitter/tree-sitter-rust)
7072
- SQL
7173
- [sql-parser-cst](https://github.com/nene/sql-parser-cst)
74+
- PHP
75+
- [php-parser](https://www.npmjs.com/package/php-parser)
76+
- Java
77+
- [java-parser](https://github.com/jhipster/prettier-java/tree/main/packages/java-parser)
78+
- Python
79+
- [pyodide](https://pyodide.org/)
7280
- C#
73-
- [tree-sitter-c-sharp](https://github.com/tree-sitter/tree-sitter-c-sharp) (via [web-tree-sitter](https://github.com/tree-sitter/tree-sitter))
81+
- [tree-sitter-c-sharp](https://github.com/tree-sitter/tree-sitter-c-sharp)
82+
- [Solidity](https://soliditylang.org/)
83+
- [@solidity-parser/parser](https://github.com/solidity-parser/parser)
84+
- [WXML](https://github.com/wxmlfile/wxml-parser)
85+
- [GraphQL](https://graphql.org/)
86+
- [graphql](https://www.graphql-js.org/docs/)
87+
- [Protocol Buffers](https://protobuf.dev/)
88+
- [protobufjs](https://github.com/protobufjs/protobuf.js)
89+
90+
More parsers via [web-tree-sitter](https://github.com/tree-sitter/tree-sitter), see [tree-sitter parsers](https://github.com/tree-sitter/tree-sitter/wiki/List-of-parsers).
7491

7592
## URL Encode Algorithm
7693

app/parser/graphql.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const graphqlParser: Parser<typeof GraphQL, GraphQL.ParseOptions> = {
88
id: 'graphql',
99
label: 'graphql',
1010
icon: 'i-vscode-icons:file-type-graphql',
11-
link: 'https://graphql.org/graphql-js/',
11+
link: 'https://www.graphql-js.org/docs/',
1212
editorLanguage: 'graphql',
1313
options: {
1414
configurable: true,

app/parser/html.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ const angularHtmlParser: Parser<
116116
id: 'angular-html-parser/html',
117117
label: 'angular-html-parser (HTML)',
118118
icon: 'i-vscode-icons:file-type-html',
119-
link: 'https://github.com/prettier/angular-html-parser/',
119+
link: 'https://github.com/prettier/angular-html-parser',
120120
editorLanguage: 'html',
121121
options: {
122122
configurable: false,

0 commit comments

Comments
 (0)