tree-sitter-bash/corpus/programs.txt

43 lines
508 B
Plaintext

===============================
Comments
===============================
#!/bin/bash
# hi
---
(program
(comment)
(comment))
===============================
Escaped newlines
===============================
abc \
d \
e
f=g \
h=i \
j \
--k
---
(program
(command
(command_name (word))
(word)
(word))
(command
(variable_assignment
(variable_name)
(word))
(variable_assignment
(variable_name)
(word))
(command_name (word))
(word)))