-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
34 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,36 @@ | ||
[![Rust](https://github.com/patbuc/neon/actions/workflows/rust.yml/badge.svg)](https://github.com/patbuc/neon/actions/workflows/rust.yml) | ||
|
||
# neon | ||
Hi, this is <span style="color:rgb(240,0,255)">**neon**</span> - a toy language you didn't wait for. | ||
# Neon | ||
|
||
Hi, this is <span style="color:rgb(240,0,255)">**Neon**</span> - a toy language you didn't wait for. | ||
|
||
## Why | ||
|
||
Nobody needs another programming language. I just want to teach me two things. | ||
|
||
- How to write a compiler and a virtual machine | ||
- How to use Rust | ||
|
||
So, I'm building <span style="color:rgb(240,0,255)">**Neon**</span>. | ||
|
||
## Goal | ||
|
||
The primary goal for me is to make Neon a self-hosted language. So want to get Neon to a state where I can rewrite the | ||
language in Neon itself. | ||
|
||
Additional goals might come up during the development - or not. | ||
|
||
## Inspiration | ||
|
||
At some point I stumbled across [Bob Nystrom](https://github.com/munificent)'s | ||
book [Crafting Interpreters](https://craftinginterpreters.com/), and it really is one of the best books in tech. | ||
If you haven't read it yet, and you're into building compilers & programming languages, go and get yourself a copy. | ||
|
||
It's a fantastic read! | ||
|
||
Said that Neon will not follow Lox, the language Bob created for the book, but I will definitely use Pratt Parsing 😄 | ||
Thanks Bob for teaching me this technique 🙏 | ||
|
||
## License | ||
|
||
This project is licensed under the MIT License - see the LICENSE file for details. |