From 4963ece88c49d806a96ea453fcde2ef4c8658eca Mon Sep 17 00:00:00 2001 From: Lorenzo Torres Date: Sat, 6 Dec 2025 19:26:30 +0100 Subject: added lc --- content/projects.md | 2 +- content/projects/cc.md | 21 --------------------- content/projects/lc.md | 12 ++++++++++++ 3 files changed, 13 insertions(+), 22 deletions(-) delete mode 100644 content/projects/cc.md create mode 100644 content/projects/lc.md diff --git a/content/projects.md b/content/projects.md index 43a388e..1397884 100644 --- a/content/projects.md +++ b/content/projects.md @@ -7,7 +7,7 @@ Note that some of these could be temprarily unmaintained. ### Work in progress - [sideros](sideros/): Real time strategy game set in ancient history - [sis](sis/): Simple IMAP server -- [cc](cc/): Very basic C99 compiler +- [L](lc/): The compiler of the L programming language. ### Actually working - [mnist](mnist/): Neural network predicting handwritten digits from the MNIST database. diff --git a/content/projects/cc.md b/content/projects/cc.md deleted file mode 100644 index 98dd335..0000000 --- a/content/projects/cc.md +++ /dev/null @@ -1,21 +0,0 @@ - - -## cc -**cc** is a very basic, very work in progress C99 compiler. - -#### Description -After realizing how "success" my first YouTube video had made, I decided to make\ -a second one. This time I wanted to make a C compiler from scratch since I thought\ -that it wouldn't be too hard. The video also got a lot of views (at least considering\ -how small my channel is) and now I would like to continue working on it, maybe using\ -something like [qbe](https://c9x.me/compile/). - -#### Related videos -- [I made a C compiler in C](https://www.youtube.com/watch?v=UW8LgC-S_co) -- [Writing a C compiler from scratch | Part 1](https://www.youtube.com/watch?v=qjqsInGjyTk) -- [Writing a C compiler from scratch | Part 2](https://www.youtube.com/watch?v=J-_yoKCxhYk) - -#### Sources -cc is currently hosted on Sourcehut at [https://git.sr.ht/~lolzdev/cc](https://git.sr.ht/~lolzdev/cc) - -#### Related posts diff --git a/content/projects/lc.md b/content/projects/lc.md new file mode 100644 index 0000000..f7198d8 --- /dev/null +++ b/content/projects/lc.md @@ -0,0 +1,12 @@ + + +## L +**lc** is the compiler for the L programming language. + +#### Description +While making my own kernel, I realized that I wanted to use something other than C, something like C but with some modern features. I then decided to make L: a **L**ow level programming language, resembling C, with features like **slices**, **generics** and **modules**. + +#### Sources +lc is currently hosted on Sourcehut at [https://git.sr.ht/~lolzdev/lc](https://git.sr.ht/~lolzdev/lc) + +#### Related posts -- cgit v1.2.3