-
-
Notifications
You must be signed in to change notification settings - Fork 84
/
inform.scroll
175 lines (128 loc) · 5.82 KB
/
inform.scroll
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
import ../code/conceptPage.scroll
id inform
name Inform
appeared 1993
creators Graham Nelson
tags pl
website http://inform7.com/
fileType text
wordRank 5526
documentation https://ganelson.github.io/inform-website/doc/
centralPackageRepositoryCount 0
country United Kingdom
originCommunity https://inform-fiction.org/
helloWorldCollection Inform
! "Hello world" in Inform
[ Main;
print "Hello world^";
];
pygmentsHighlighter Inform 7
filename int_fiction.py
fileExtensions ni i7x
leachim6 Inform
filepath i/Inform.inform
fileExtensions inform
example
"Hello World" by "I.F. Author"
The world is a room.
When play begins, say "Hello World"
stringToken "
hasSemanticIndentation true
hasStrings true
"Hello world"
wikipedia https://en.wikipedia.org/wiki/Inform
example
"Hello Deductible" by "I.F. Author"
The story headline is "An Interactive Example".
The Living Room is a room. "A comfortably furnished living room."
The Kitchen is north of the Living Room.
The Front Door is south of the Living Room.
The Front Door is a door. The Front Door is closed and locked.
The insurance salesman is a man in the Living Room. The description is "An insurance salesman in a tacky polyester suit. He seems eager to speak to you." Understand "man" as the insurance salesman.
A briefcase is carried by the insurance salesman. The description is "A slightly worn, black briefcase." Understand "case" as the briefcase.
The insurance paperwork is in the briefcase. The description is "Page after page of small legalese." Understand "papers" or "documents" or "forms" as the paperwork.
Instead of listening to the insurance salesman:
say "The salesman bores you with a discussion of life insurance policies. From his briefcase he pulls some paperwork which he hands to you.";
move the insurance paperwork to the player.
related linux z-machine basic tads isbn
summary Inform is a programming language and design system for interactive fiction originally created in 1993 by Graham Nelson. Inform can generate programs designed for the Z-code or Glulx virtual machines. Versions 1 through 5 were released between 1993 and 1996. Around 1996, Nelson rewrote Inform from first principles to create version 6 (or Inform 6). Over the following decade, version 6 became reasonably stable and a popular language for writing interactive fiction. In 2006, Nelson released Inform 7 (briefly known as Natural Inform), a completely new language based on principles of natural language and a new set of tools based around a book-publishing metaphor.
pageId 227989
dailyPageViews 73
created 2003
backlinksCount 129
revisionCount 426
appeared 1993
tiobe Inform
domainName inform7.com
registered 2009
awisRank
2022 2240286
githubBigQuery Inform 7
repos 60
users 56
linguistGrammarRepo https://github.com/erkyrath/language-inform7
firstCommit 2016
lastCommit 2018
committerCount 2
commitCount 29
sampleCount 2
example
"Test Case" by Andrew Plotkin.
Include Trivial Extension by Andrew Plotkin.
Volume 1 - overview
Chapter - setting the scene
The Kitchen is a room.
[Comment: this kitchen is modelled after the one in Zork, although it lacks the detail to establish this to the player.]
Section - the kitchen table
The spicerack is a container in the Kitchen.
Table of Spices
Name Flavor
"cinnamon" 5
"nutmeg" 4
"szechuan pepper" 8
The description of the spicerack is "It's mostly empty."
Chapter - a character
A purple cow called Gelett is in the Kitchen.
[This comment spans multiple lines..
...and this line contains [nested square[] brackets]...
...which is legal in Inform 7.]
Instead of examining Gelett:
say "You'd rather see than be one."
Instead of examining Gelett:
say "You'd rather see than be one."
Check smelling Gelett:
say "This text contains several lines.
A blank line is displayed as a paragraph break,
but a simple line break is not.";
stop the action.
Section - cow catching
Gelett has a number called the mooness.
Instead of taking Gelett:
increment the mooness of Gelett;
if the mooness of Gelett is one:
say "Gelett moos once.";
else:
say "Gelett moos [mooness of Gelett in words] times.";
Volume 2 - the turn cycle
Every turn:
say "A turn passes[one of][or] placidly[or] idly[or] tediously[at random]."
isbndb 2
year|publisher|title|authors|isbn13
2010|Cengage Learning PTR|Creating Interactive Fiction with Inform 7|Reed, Aaron|9781435455061
2010|Cengage Learning|Creating Interactive Fiction With Inform 7, 1st Edition|Aaron Reed|9781435456044
githubLanguage Inform 7
fileExtensions ni i7x
trendingProjectsCount 0
type programming
aceMode text
tmScope source.inform7
wrap true
aliases i7 or inform7
repos 1046854
semanticScholar 5
year|title|doi|citations|influentialCitations|authors|paperId
2015|"Risk tells us who, but not what or how"" empirical assessment of the complexity of criminogenic needs to inform correctional programming"|10.1111/1745-9133.12116|83|7|F. Taxman and Michael Caudy|4f30eee81fca9b7245fb56614b9fb17dbca51e51
2018|Dyadic Team Interaction and Shared Cognition to Inform Human-Robot Teaming|10.1177/1541931218621028|5|0|Mustafa Demir and Nathan J. Mcneese and N. Cooke|e945025d277c504177381151cd1660f7978a42f6
2010|Experience report: using hackage to inform language design|10.1145/1863523.1863531|5|3|J. Garrett Morris|66b79681c5df7796e575a514a517fe374126bd7c
2021|Using Text Mining Tools to Inform Search Term Generation: An Introduction for Librarians|10.1353/pla.2021.0032|2|0|B. McGowan|97449aa1701fa6d6b3e5a4b6d4f228d82d83c279
2020|Utilizing Web Scraping and Natural Language Processing to Better Inform Pedagogical Practice|10.1109/FIE44824.2020.9274270|1|0|Stephanie J. Lunn and Jia Zhu and Monique S. Ross|a95e90c6c9c5753339e93548eebdcde1ea5b27e2