Quoting constructs: Difference between revisions

add BQN
(add BQN)
Line 16:
 
GraphicsData: incbin "C:\game\gfx\tilemap.chr" ;a file containing the game's graphics</lang>
 
=={{header|BQN}}==
 
BQN programs manipulate data of seven types:
 
* Character
<lang bqn>'a'
'b'
@</lang>
<code>@</code> is a symbol that represents the null character.
 
* Number
<lang bqn>123
1.23
123E5
¯1234
π</lang>
<code>∞</code>, <code>¯∞</code> and <code>π</code> are constants which represent infinity, negative infinity and pi.
 
* Function: A block <code>{}</code> which takes 1 or two arguments: <code>𝕩</code> and/or <code>𝕨</code>
 
* 1-Modifier: A block similar to a function, which can take 1 extra function argument <code>𝔽</code> on the left.
 
* 2-Modifier: A modifier which can take two function arguments, <code>𝔽</code> and <code>𝔾</code>.
 
* Namespace: A block where any data member is exported using <code>⇐</code> assignment.
 
* Array: consists of any of the above.
** Regular array notation <lang bqn>⟨1, 2, 3⟩</lang> You can nest arrays in arrays. Separators can be <code>,</code>, <code>⋄</code> and newline.
** Stranding <lang bqn>1‿2‿3</lang> any expression which doesn't fit in a single atom must be put in parentheses.
 
=={{header|Go}}==
236

edits