bash
Package bash implements a bash tokeniser and AST.
Filename
Size
Last Commit Date
Commit Message
..
cmd
bashfmt
README.md
410
2025/07/21 07:08:41
added README.md for bashfmt
main.go
925
2025/07/25 08:09:21
return exit status 1 on an error
walk
walk.go
8227
2025/07/30 07:38:26
implemented walkBraceWord
LICENSE
767
2025/02/27 21:28:48
added LICENSE
README.md
25211
2025/07/28 07:01:50
regen'd README
ast.go
3361
2025/07/18 08:29:55
added type comments
ast_compound.go
27239
2025/07/28 07:01:41
corrected typos
ast_compound_test.go
176976
2025/07/24 07:44:18
added test for an invalid word following a compound statement
ast_parser.go
4440
2025/07/05 13:38:44
removed unused return value
ast_parser_test.go
549
2025/05/18 18:19:46
added Error tests
ast_statement.go
13694
2025/07/25 08:31:25
assign a special token type to assignment operator so it can be correctly parsed as a word in a value
ast_statement_test.go
70136
2025/07/14 07:04:06
added Pipeline test for just an assignment on the RHS of a pipe
ast_test.go
44081
2025/07/08 07:12:32
split ast into multiple files
ast_word.go
20372
2025/07/28 07:01:35
corrected typo
ast_word_test.go
53479
2025/07/20 08:50:52
added BraceWord erro test
errors.go
1410
2025/05/27 08:49:25
added error
format.go
15648
2025/07/28 07:06:11
modified WriteString method to return nothing
format.sh
3062
2025/07/28 07:00:45
replace direct indentWriter creation with use of new Indent method
format_format.go
9622
2025/07/20 08:35:50
regen'd
format_print.go
23301
2025/07/28 07:00:10
use new Indent method
format_print_test.go
22183
2025/07/25 08:48:27
added tokeniser test for a string with a newline
format_types.go
25559
2025/07/28 07:00:54
re-gen'd
go.mod
92
2025/03/30 18:30:38
updated to latest parser package
go.sum
177
2025/04/17 17:05:19
removed old entries
state_test.go
2033
2025/07/18 08:32:02
added String method for Tokeniser states during testing
tokeniser.go
48081
2025/07/25 08:31:25
assign a special token type to assignment operator so it can be correctly parsed as a word in a value
tokeniser_test.go
143173
2025/07/25 08:31:52
added tokeniser test for a Value with an equals sign
types.go
1486
2025/07/20 08:35:50
regen'd