text
stringlengths
0
774
<s>[INST] What is QuakeC?[/INST]
"QuakeC is a language similar to C. QuakeC source can be compiled with the QuakeC compiler to produce
PROGS.DAT, a file that Quake can load at startup. In that file Quake search the engines for various things
in the Quake World.
Monsters, player, buttons, weapons are the target of QuakeC, you cannot modify maps or graphics - those
must be edited with an external editor."</s>
<s>[INST] What are Lexical Elements in QuakeC? [/INST]
" The text of a program consists of the texts of one or more compilations. The text of each compilation is a
sequence of separate lexical elements. Each lexical element is formed from a sequence of characters,
and is either a delimiter, an identifier, a reserved_word, a numeric_literal, a character_literal, a string_literal,
or a comment. The meaning of a program depends only on the particular sequences of lexical elements
that form its compilations, excluding comments.
The text of a compilation is divided into lines. A semicolon terminates a line.
In some cases an explicit separator is required to separate adjacent lexical elements. A separator is any
of a space character, a format effector, or the end of a line.
A space character is a separator except within a comment, a string literal, or a character literal.
The end of a line is always a separator.
One or more separators are allowed between any two adjacent lexical elements, before the first of each
compilation, or after the last. At least one separator is required between an identifier, a reserved word, or
a numeric literal and an adjacent identifier, reserved word, or numeric literal."</s>
<s>[INST] What are the Delimiters in QuakeC? [/INST]
" A delimiter is either one of the following special characters:
&
(
)
*
+
,
-
.
/
:
;
<
=
>
|
[
]
or one of the following compound delimiters each composed of two adjacent special characters:
==
!=
>=
<=
&&
||
Each of the special characters listed for single character delimiters is a single delimiter except if this
character is used as a character of a compound delimiter, or as a character of a comment, string literal,
character literal, or numeric literal."</s>
<s>[INST] What are Whitespace characters in Quakec? [/INST]
" Whitespace characters are spaces, newlines, tabs, and page breaks. Whitespace is used to improve the
readability of your programs and to separate tokens from each other, when necessary. (A token is an
indivisible lexical unit such as an identifier or number). Whitespace is otherwise insignificant. Whitespace
may occur between any two tokens, but not within a token. Whitespace may also occur within a string,
when it is significant.
All whitespace characters are delimiters."</s>
<s>[INST] What are Identifiers in QuakeC?[/INST]
" An identifier is a sequence of one or more non-delimiter characters. Identifiers are used in several ways in
Quake C programs.
Certain identifiers are reserved for use as syntactic keywords; they should not be used as variables.
Any identifier that is not a syntactic keyword can be used as an identifier.
A potential identifier is a sequence of non-delimiter characters with a maximum of 64 characters,
beginning with “A-Z”, “a-z”, or “_”, and that can continue with those characters in addition to “0-9”. Quake
C is case-sensitive.
The names of functions, variables and fields must be unique. For instance, you cannot define a variable
with the same name as a field."</s>
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
33
Edit dataset card