2024.5.9 • Published 14 days ago

tree-sitter-ssh-client-config v2024.5.9

Weekly downloads
-
License
CC0-1.0
Repository
github
Last release
14 days ago

tree-sitter-ssh-client-config

SSH client config grammar for tree-sitter.

Usage

NodeJS

This grammar is available at npmjs.com, and you can use it together with the NodeJS language binding.

const Parser = require("tree-sitter");
const SSH_CLIENT_CONFIG = require("tree-sitter-ssh-client-config");

const parser = new Parser();
parser.setLanguage(SSH_CLIENT_CONFIG);

const config = `
Host example.com
  User your-name
  Port 12345
`;

const tree = parser.parse(config);
console.log(tree.rootNode.toString());
// (client_config
//   (host
//     (host_value))
//   (user
//     (user_value))
//   (port
//     (port_value)))

References

License

To the extent possible under law, the author(s) have dedicated all copyright
and related and neighboring rights to this software to the public domain
worldwide. This software is distributed without any warranty.

You should have received a copy of the CC0 Public Domain Dedication along with
this software. If not, see https://creativecommons.org/publicdomain/zero/1.0/.
2024.5.9

14 days ago

2024.5.2

21 days ago

2024.4.25

28 days ago

2024.4.18

1 month ago

2024.4.11

1 month ago

2024.4.4

2 months ago

2024.3.28

2 months ago

2024.3.21

2 months ago

2024.3.14

2 months ago

2024.3.7

3 months ago

2024.2.29

3 months ago

2024.2.22

3 months ago

2024.2.8

3 months ago

2024.1.18

4 months ago

2023.12.21

5 months ago

2023.12.14

5 months ago

2023.11.16

6 months ago

2023.10.26

7 months ago

2023.8.17

9 months ago

2023.6.29

11 months ago

2023.9.21

8 months ago

2023.8.31

9 months ago

2023.8.10

10 months ago

2023.6.22

11 months ago

2023.9.14

8 months ago

2023.8.24

9 months ago

2023.7.6

11 months ago

2023.3.23

1 year ago

2023.4.13

1 year ago

2023.3.21

1 year ago

2023.2.2

1 year ago

2023.5.18

1 year ago

2023.2.23

1 year ago

1.0.4

1 year ago

2023.5.4

1 year ago

2023.2.16

1 year ago

1.0.3

2 years ago

1.0.1

2 years ago