-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove scr/abjad-log * remove scr/fix-tests * remove scr/make-packaging-transcript * remove scr/trash OLD: scr/abjad NEW: scr/abjad.py OLD: scr/prime-parser-tables NEW: scr/prime_parser_tables.py OLD: scr/timer NEW: scr/timer.py OLD: scr/write-parser-syntax-skeleton NEW: scr/write_parser_syntax_skeleton.py
- Loading branch information
1 parent
6796c66
commit 0e4b47d
Showing
11 changed files
with
30 additions
and
371 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#! /usr/bin/env python | ||
import sys | ||
|
||
import abjad | ||
|
||
|
||
def main(): | ||
try: | ||
file_name = sys.argv[1] | ||
except IndexError: | ||
file_name = "" | ||
startup_string = f"Abjad {abjad.__version__}" | ||
commands = f"import abjad; print({startup_string!r});" | ||
string = rf'''python -i {file_name} -c "{commands}"''' | ||
abjad.io.spawn_subprocess(string) | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
#! /usr/bin/env python | ||
|
||
""" | ||
Called by abjad.contextmanager.Timer on __enter__(). | ||
""" | ||
|
||
import sys | ||
import time | ||
|
||
|
Oops, something went wrong.