This commit is contained in:
doasdsk 2023-11-10 21:24:35 +01:00
parent 6f7b49f7bf
commit 3dbd3a09d5

View File

@ -1,13 +1,8 @@
import sys
# fsa_description = sys.argv[1]
# inputWords = sys.argv[2]
# outputResult = sys.argv[3]
fsa_description = "fsa_description.arg"
inputWords = "test.in"
outputResult = "test.out"
fsa_description = sys.argv[1]
inputWords = sys.argv[2]
outputResult = sys.argv[3]
def readDescription(currentPos, charInput):
with open(fsa_description, 'r', encoding="utf-8") as descript: