Skip to content

Commit

Permalink
reformat code examples
Browse files Browse the repository at this point in the history
  • Loading branch information
hornc authored Oct 6, 2018
1 parent 75c5cad commit 7dac453
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,33 +55,28 @@ New statements are inscribed on ostraka, assigned a symbol (sigma) and placed in

### Examples


"Hello, World!" (direct port from the Deadfish x version)
```ΙΧΘΥΣ
ιιθιιιιθιιιιιιιιΥΧιιθιιιιιιθιΥιιιιιιιΥΥιιιΥΧιιιιιιιθχχχχχΥΧιιιιιιθχχχχΥΧιιιθιιθχχΥχχχχχχχχΥιιιΥχχχχχχΥχχχχχχχχΥΧιιιιιιθχχχΥ
```
"Hello, World!" (direct port from the Deadfish x version)
**OUTPUT:** `Hello, world!`


Alphabet (Latin), again ported, but compressed, from Deadfish x example:
```ΙΧΘΥΣ
ΙΣιΥΘιιθιιιιθΣΣΣΣΣΣΣΣΣΣΣΣΣΣΣΣΣΣΣΣΣΣΣΣΣΣ
```
Alphabet (Latin), again ported, but compressed, from Deadfish x example:
**OUTPUT:** `ABCDEFGHIJKLMNOPQRSTUVWXYZ`


With its Unicode support, ΙΧΘΥΣ can just as easily display the Greek alphabet
```ΙΧΘΥΣ
XΙΣιΥΘιιιιιθιιιιιθιιιιιιιιιιιιΣΣΣΣΣΣΣΣΣΣΣΣΣΣΣΣΣιΣΣΣΣΣΣΣ
```
With its Unicode support, ΙΧΘΥΣ can just as easily display the Greek alphabet
**OUTPUT:** `ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ`


And is not just limited to Greek, but can output from any Unicode block, for example, in Phoenician:
```ΙΧΘΥΣ
ΧΙΣιΥΘΙσχχχχχχχχχχχχχχχχχχχχχχχχχχχχΘιιιθιιιιιιιιθσθχχσσσσσσσσσσΣΣΣΣΣΣΣΣΣΣΣΣΣΣΣΣΣΣΣΣΣΣ
```
And is not limted to just Greek, but can output from any Unicode block, for example, in Phoenician:
**OUTPUT:** `𐤀𐤁𐤂𐤃𐤄𐤅𐤆𐤇𐤈𐤉𐤊𐤋𐤌𐤍𐤎𐤏𐤐𐤑𐤒𐤓𐤔𐤕`

#### Non-Latin charset "Hello World"s
Expand All @@ -95,7 +90,6 @@ A more representative example for ΙΧΘΥΣ is to print 'Hello World' in Classi
Since ΙΧΘΥΣ is a superset of Deadfish, it is relatively trivial to create a compliant Deadfish interpreter, e.g. for standard "idso" version:
```ΙΧΘΥΣ
ΙiιΘΙdχΘΙsθΘΙoυΘΧ
```

### File Extension
Expand Down Expand Up @@ -123,7 +117,7 @@ This does not mean lines _have_ to end in a sigma, simply that if they do, they
**invalid**
```ΙΧΘΥΣ
>> ΙσιιιυΘσ
SYNTAX ERROR
?SYNTAX ERROR
```

### The Non-Aristotelian Syllogism
Expand Down

0 comments on commit 7dac453

Please sign in to comment.