Update README.md

This commit is contained in:
2026-02-02 18:01:55 +00:00
parent e33504a86b
commit 00b3d0658a

View File

@@ -7,28 +7,22 @@
</p> </p>
<p width="120"> <p width="120">
An x86 C compiler written in Swift. An x86 C compiler written in Swift.
<br>
Line 2 is better than anything you've ever seen.
</p> </p>
<a href="https://rochesterx.dev/">
rochesterx.dev
</a>
<br/> <br/>
</div> </div>
<!--Readme header inspired by https://helium.computer--> <!--Readme header inspired by https://helium.computer-->
---
## Overview # Overview
Have you ever woken up one day and said to yourself, "Man, I'd really like to build a compiler today."? Have you ever woken up one day and said to yourself, "Y'know what? I'd really like to build a compiler today."?
Could be just me. Could be just me.
Well, ever since that fateful day, I've been chiseling away at this mammoth task, adding functionality in stages by following [this series](https://norasandler.com/2017/11/29/Write-a-Compiler.html). Well, ever since that fateful day, I've been chiseling away at this mammoth task, adding functionality in stages by following [this series](https://norasandler.com/2017/11/29/Write-a-Compiler.html).
# Features
> [!NOTE] > [!NOTE]
> This project is under active development, and the implemented features are rapidly changing. > This project is under active development, and the implemented features are rapidly changing.
## Features
Here is a list of the currently implemented C language features: Here is a list of the currently implemented C language features:
* __Unary Operators__: The ~ (bitwise compliment), - (negation), and ! (logical negation) operators are implemented for integers, and can be applied to any term. * __Unary Operators__: The ~ (bitwise compliment), - (negation), and ! (logical negation) operators are implemented for integers, and can be applied to any term.
* __Arithmetic Operators__: The + (addition), - (subtraction), * (multiplication), and / (division) operators are implemented for integers, parsed according to their precedence levels in C. * __Arithmetic Operators__: The + (addition), - (subtraction), * (multiplication), and / (division) operators are implemented for integers, parsed according to their precedence levels in C.