python
A Python tokeniser and parser.
Filename
Size
Last Commit Date
Commit Message
..
walk
walk.go
30494
2025/02/06 22:20:30
implemented walkUnaryExpression
LICENSE
767
2024/08/31 22:23:21
added LICENSE
README.md
43986
2025/01/04 15:18:55
regen'd README
ast.go
765
2024/11/22 18:38:46
added package comment
ast_compound.go
37487
2024/11/22 18:37:47
added type comments
ast_compound_test.go
196077
2024/11/08 08:27:36
corrected test numbers
ast_expression.go
29729
2024/11/22 18:37:51
added type comments
ast_expression_test.go
129018
2024/11/08 08:28:41
corrected test numbers
ast_parser.go
3968
2024/11/28 20:29:47
use new Iter method to gather Tokens
ast_statement.go
32382
2024/11/22 18:37:56
added type comments
ast_statement_test.go
122632
2024/11/07 07:33:52
added error test for YieldExpression
ast_test.go
13059
2024/11/21 21:06:34
added error unwrap test
errors.go
1558
2024/10/27 19:12:15
sorted error list
format.go
3761
2024/11/21 21:28:44
added method comments
format.sh
2850
2024/10/28 22:18:29
no need for subshells
format_format.go
20626
2024/10/28 21:56:22
looks like Python 3.12.7+ spec is incorrect when it comes to starred expressions, reverted to 3.12.6 spec
format_print.go
26082
2025/01/01 21:41:18
corrected priting of multiline strings
format_print_test.go
16498
2025/01/01 21:41:31
added test for printing of multiline strings within an indented block
format_types.go
47277
2024/11/13 20:55:31
regen'd
go.mod
92
2024/11/28 20:29:01
updated to latest parser package
go.sum
531
2024/11/28 20:29:01
updated to latest parser package
tokeniser.go
10522
2025/01/01 21:42:00
corrected typo
tokeniser_test.go
27065
2024/11/21 21:00:07
add tokeniser test for invalid delimiter
types.go
3454
2024/10/28 21:56:22
looks like Python 3.12.7+ spec is incorrect when it comes to starred expressions, reverted to 3.12.6 spec
utils.go
13398
2025/01/04 15:18:37
corrected comment for UnwrapConditional
utils_test.go
38002
2024/11/20 21:30:34
added Unquote test with invalid string opening
wrappable.go
924
2025/01/01 21:42:21
removed extra word