/Я language (β)/Packages/ASCII/

Source code is availabe at Github.

This package defines a subset of ASCII characters and group them.

: ASCII ~ ( Glyph `S` Caret )
> Glyph : Glyph `AR__` ASCII
> Caret : Caret `AR__` ASCII

Caret encodes all non-printable characters:

> Tab : Unit `AR__` Caret
> Newline : Unit `AR__` Caret
> Escape : Unit `AR__` Caret
> Back `ha` Space : Unit `AR__` Caret
> Delete : Unit `AR__` Caret

Glyph encodes all printable characters:

: Glyph ~ ( Letter `S` Digit `S` Symbol )
> Letter : Letter `AR__` Glyph
> Digit : Digit `AR__` Glyph
> Symbol : Symbol `AR__` Glyph

Letter is a Latin character - either lowercase or uppercase:

: Letter ~ ( Latin `S` Latin )
> Lower : Latin `AR__` Letter
> Upper : Latin `AR__` Letter

Latin character is one of 25 cases:

> A : Unit `AR__` Latin
> B : Unit `AR__` Latin
> C : Unit `AR__` Latin
> D : Unit `AR__` Latin
> E : Unit `AR__` Latin
> F : Unit `AR__` Latin
> G : Unit `AR__` Latin
> H : Unit `AR__` Latin
> I : Unit `AR__` Latin
> J : Unit `AR__` Latin
> K : Unit `AR__` Latin
> L : Unit `AR__` Latin
> M : Unit `AR__` Latin
> N : Unit `AR__` Latin
> O : Unit `AR__` Latin
> P : Unit `AR__` Latin
> Q : Unit `AR__` Latin
> R : Unit `AR__` Latin
> S : Unit `AR__` Latin
> T : Unit `AR__` Latin
> U : Unit `AR__` Latin
> V : Unit `AR__` Latin
> W : Unit `AR__` Latin
> X : Unit `AR__` Latin
> Y : Unit `AR__` Latin
> Z : Unit `AR__` Latin

Digit is one of 10 cases:

> Zero : Unit `AR__` Digit
> One : Unit `AR__` Digit
> Two : Unit `AR__` Digit
> Three : Unit `AR__` Digit
> Four : Unit `AR__` Digit
> Five : Unit `AR__` Digit
> Six : Unit `AR__` Digit
> Seven : Unit `AR__` Digit
> Eight : Unit `AR__` Digit
> Nine : Unit `AR__` Digit

Symbol is either a bracket or a puctuation mark:

: Symbol ~ ( Bracket `S` Punctuate )

Bracket is either opened or closed:

: Bracket ~ ( Shape `S` Shape )

Shape is one of these 4 cases:

> Round : Unit `AR__` Shape
> Curly : Unit `AR__` Shape
> Angle : Unit `AR__` Shape
> Square : Unit `AR__` Shape

Punctuate is one of these ? cases:

> Hash : Unit `AR__` Punctuate
> Equal : Unit `AR__` Punctuate
> Hyphen : Unit `AR__` Punctuate
> At : Unit `AR__` Punctuate
> Circumflex : Unit `AR__` Punctuate
> Underscore : Unit `AR__` Punctuate
> Grave : Unit `AR__` Punctuate
> Tilde : Unit `AR__` Punctuate
> Plus : Unit `AR__` Punctuate
> Asterisk : Unit `AR__` Punctuate
> Percent : Unit `AR__` Punctuate
> Ampersand : Unit `AR__` Punctuate
> Dollar : Unit `AR__` Punctuate
> Period : Unit `AR__` Punctuate
> Comma : Unit `AR__` Punctuate
> Semicolon : Unit `AR__` Punctuate
> Colon : Unit `AR__` Punctuate
> Exclamation : Unit `AR__` Punctuate
> Question : Unit `AR__` Punctuate
> Space : Unit `AR__` Punctuate