feat: code generation for simple choice statements, testing machinery
This commit is contained in:
parent
fac5a968e3
commit
ee26be6254
13 changed files with 304 additions and 70 deletions
0
src/testdata/hello-world/input.txt
vendored
Normal file
0
src/testdata/hello-world/input.txt
vendored
Normal file
1
src/testdata/hello-world/story.ink
vendored
Normal file
1
src/testdata/hello-world/story.ink
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
Hello, world!
|
||||
1
src/testdata/hello-world/transcript.txt
vendored
Normal file
1
src/testdata/hello-world/transcript.txt
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
Hello, world!
|
||||
1
src/testdata/monsieur-fogg/input.txt
vendored
Normal file
1
src/testdata/monsieur-fogg/input.txt
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
3
|
||||
7
src/testdata/monsieur-fogg/story.ink
vendored
Normal file
7
src/testdata/monsieur-fogg/story.ink
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
"What's that?" my master asked.
|
||||
* "I am somewhat tired[."]," I repeated.
|
||||
"Really," he responded. "How deleterious."
|
||||
* "Nothing, Monsieur!"[] I replied.
|
||||
"Very good, then."
|
||||
* "I said, this journey is appalling[."] and I want no more of it."
|
||||
"Ah," he replied, not unkindly. "I see you are feeling frustrated. Tomorrow, things will improve."
|
||||
6
src/testdata/monsieur-fogg/transcript.txt
vendored
Normal file
6
src/testdata/monsieur-fogg/transcript.txt
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
"What's that?" my master asked.
|
||||
1: "I am somewhat tired."
|
||||
2: "Nothing, Monsieur!"
|
||||
3: "I said, this journey is appalling."
|
||||
?> "I said, this journey is appalling and I want no more of it."
|
||||
"Ah," he replied, not unkindly. "I see you are feeling frustrated. Tomorrow, things will improve."
|
||||
Loading…
Add table
Add a link
Reference in a new issue