Merge branch 'master' into dev
This commit is contained in:
commit
eec30e12fa
@ -15,7 +15,7 @@ python setup.py develop
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bat
|
```bat
|
||||||
turinglab <input_file> <input_string> <output_file>
|
turinglab input_file output_dir [-t TESTS [TESTS ...]] [-e EMPTY_CHARACTER] [-f]
|
||||||
```
|
```
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
1
setup.py
1
setup.py
@ -11,7 +11,6 @@ setup(
|
|||||||
'pydot',
|
'pydot',
|
||||||
'requests',
|
'requests',
|
||||||
'sortedcontainers'
|
'sortedcontainers'
|
||||||
],
|
|
||||||
entry_points={
|
entry_points={
|
||||||
'console_scripts': [
|
'console_scripts': [
|
||||||
'turinglab = turinglab.__main__:main'
|
'turinglab = turinglab.__main__:main'
|
||||||
|
@ -36,6 +36,8 @@ def main():
|
|||||||
tests = []
|
tests = []
|
||||||
|
|
||||||
for test in args.tests:
|
for test in args.tests:
|
||||||
|
|
||||||
|
if args.empty_character:
|
||||||
test = test.replace(args.empty_character, 'λ')
|
test = test.replace(args.empty_character, 'λ')
|
||||||
|
|
||||||
tm = Emulator(program, test)
|
tm = Emulator(program, test)
|
||||||
|
Loading…
Reference in New Issue
Block a user