Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ All of these features make it quite capable.

For example, the following program animates a moving sine-wave:

```
```c
int y;
int x;
int x_0;
Expand Down Expand Up @@ -102,7 +102,7 @@ void main()

## Provided Example Code

A few examples are provided that leverage the unique hardware aspects of the x86-16 IBM PC:
A few [examples](/examples) are provided that leverage the unique hardware aspects of the x86-16 IBM PC:
- `examples/hello.c:` Print a text greeting on the screen writing to memory at 0xB8000
- `examples/sinwave.c:` Draw a moving sine wave animation with VGA Mode 0x13 using an appropriately bad approximation of sin(x)
- `examples/twinkle.c:` Play “Twinkle Twinkle Little Star” through the PC Speaker (Warning: LOUD)
Expand All @@ -127,15 +127,15 @@ expr = unary (op unary)?
unary = deref identifier
| "&" identifier
| "(" expr ")"
| indentifier
| identifier
| integer
op = "+" | "-" | "&" | "|" | "^" | "<<" | ">>"
op = "+" | "-" | "*" | "&" | "|" | "^" | "<<" | ">>"
| "==" | "!=" | "<" | ">" | "<=" | ">="
```

In addition, both `// comment` and `/* multi-line comment */` styles are supported.

(NOTE: This grammar is 704 bytes in ascii, 38% larger than it's implementation!)
(NOTE: This grammar is 703 bytes in ascii, 38% larger than its implementation!)

## How?

Expand Down