toolchain: add comments to retro-unu.py
FossilOrigin-Name: b64bddd72a1fbf4cf3ec6c2011187fc3594722ec82d1ad0602b1b3f2d4be8779
This commit is contained in:
parent
a8b8f5a2bc
commit
d53e540f6c
1 changed files with 12 additions and 0 deletions
|
@ -1,5 +1,17 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
# retro-unu is a tool for extracting code from literate sources. It
|
||||||
|
# will write output to stdout.
|
||||||
|
#
|
||||||
|
# A code block starts with ~~~ on a line by itself and ends with a
|
||||||
|
# second ~~~.
|
||||||
|
#
|
||||||
|
# Copyright (c)2020, Charles Childers
|
||||||
|
#
|
||||||
|
# Usage:
|
||||||
|
#
|
||||||
|
# retro-unu.py filename
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in a new issue