Jock Documentation
  • Introduction to Jock
  • Getting Started
  • Language Basics
  • Operators and Expressions
  • Functions
  • Control Flow
  • Data Structures
  • Classes and Objects
  • Compiler
  • Hoon Interface
  • Nock Interface
  • Language Reference
    • ASCII
  • Tutorial
Powered by GitBook
On this page
Export as PDF
  1. Language Reference

ASCII

PreviousLanguage ReferenceNextTutorial

Last updated 1 month ago

Programmers often use a collection of words to refer to a punctuation character, like ! (which may be called “bang”, “shriek”, “exclamation”, or “exclamation point”). Like , Jock and Nock utilize a simple standardized pronunciation for ASCII characters, and you should eventually make yourself familiar with these.

Symbol
Name

␣ (space)

ace

\

bas

$

buc

_

cab

%

cen

:

col

,

com

"

doq

.

dot

/

fas

<

gal

␣␣, \0a

gap*,†

>

gar

#

hax

-

hep

{

kel

}

ker

^

ket

+

lus

;

mic

(

pal

&

pam

)

par

@

pat

[

sel

]

ser

~

sig

'

soq

*

tar

`

tic

=

tis

?

wut

!

zap

  • *: Jock embeds special characters as escaped hexadecimal literals rather than a code like \n,

  • †: Unlike Hoon, Jock does not distinguish single spaces from other forms of whitespace. Jock is completely agnostic to standard whitespace, including new line \n = \0a and horizontal tab \t = \09; in unambiguous cases, whitespace may even be elided (1+2).

Hoon