Skip to content

Continue your series man#24

Open
sayan-mitra-9800 wants to merge 1 commit into
orosmatthew:masterfrom
sayan-mitra-9800:master
Open

Continue your series man#24
sayan-mitra-9800 wants to merge 1 commit into
orosmatthew:masterfrom
sayan-mitra-9800:master

Conversation

@sayan-mitra-9800

Copy link
Copy Markdown

I was really enjoying your series, pls continue.

@laurinyev laurinyev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WHY?

Comment thread docs/grammar.md
Comment thread src/arena.hpp
Comment thread src/generation.hpp
Comment thread src/main.cpp
Comment thread test.hy
Comment thread src/tokenization.hpp
Comment thread src/parser.hpp
@Symmettry

Copy link
Copy Markdown

He'll get to it eventually. He has other stuff to do, be patient.

@samuelh2005

Copy link
Copy Markdown

Why did you delete everything instead of saying this in an issue?

@timomen timomen left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A pull request for just a message? Leave a comment on youtube or find a way to contact him if you really need to. Don't make a pull request where you have deleted everything...

@johnnycharlesw

Copy link
Copy Markdown

Don't wipe the language in a PR, it will be rejected. But you're right, @orosmatthew (or Pixeled on YouTube) really needs to continue the series. Thanks for bringing it up.

@johnnycharlesw

Copy link
Copy Markdown

You know what? Let's just fork this as Oxygen (compiler: Oxygen-CPP) and continue development there, since it appears that after the series was discontinued the maintainer went inactive.

@Zone-Infinity

Copy link
Copy Markdown

You know what? Let's just fork this as Oxygen (compiler: Oxygen-CPP) and continue development there, since it appears that after the series was discontinued the maintainer went inactive.

I'm down
embarrassed to say, haven't watched the full series, but i want to learn about compilers.
If someone does that, I'll start helping them as well

@TheSovietPancakes

Copy link
Copy Markdown

I have tried making a few compilers and only one really worked out. I think the maintainer left this project right before things started to get complicated.
I don't mean to sound pessimistic, but...
For one, pushing and popping instead of moving directly corrupts stack frames and makes function calls nearly impossible to do (cleanly). Replacing push+pop with two movs in and out of a single temporary register can corrupt the register used, especially since registers are either passed to function/system calls (corrupting arguments) or the register's value must be saved to maintain ABI compliance.
So while the idiomatic C++ of this repository is a nice base, a complete rewrite is likely necessary to make a successful compiler. 😔

@Zone-Infinity

Copy link
Copy Markdown

Fair. Ill look into active projects then

@TheSovietPancakes

Copy link
Copy Markdown

Don't wanna sound like self promotion but I wanted to try making a YouTube series about compilers and how x86-64 Linux assembly works, but I am kind of lazy and I am also hitting the same roadblock as I described earlier- I am trying to get into nitty gritty concepts but it is hard to explain and edit.
Until I can figure that out, feel free to ask me any questions personally and I'll get back to you! Ask me about debug symbols, functions+calls, floats/float math, etc.

@Noobest1001

Copy link
Copy Markdown

We should make a discord for this

@Zone-Infinity

Zone-Infinity commented Dec 30, 2025

Copy link
Copy Markdown

Until I can figure that out, feel free to ask me any questions personally and I'll get back to you! Ask me about debug symbols, functions+calls, floats/float math, etc.

Maybe not here? Do you have anywhere else to chat. (Yall use discord?)

And before you start that series, maybe we should make the compiler first (that's wht you are doing, but maybe let it be OS so that others can help you faster)

@Zone-Infinity

Copy link
Copy Markdown

We should make a discord for this

Uhm, for what exactly?

@Noobest1001

Copy link
Copy Markdown

Idk, GitHub comments are really that good at communicating with people imo

@Zone-Infinity

Copy link
Copy Markdown

Idk, GitHub comments are really that good at communicating with people imo

ah yes, my bad, I thought a discord bot, Yea do the honors.

@Zone-Infinity

Copy link
Copy Markdown

isoham is my discord

@Noobest1001

Copy link
Copy Markdown

Here's the link if anyone is interested https://discord.gg/n76WkfcR
It's late where I'm at rn so I'll polish it up tomorrow

@johnnycharlesw

Copy link
Copy Markdown

Is the actual repo up yet though?

@johnnycharlesw

Copy link
Copy Markdown

I'd like to contribute to the stdlib once that's ready.

@Noobest1001

Copy link
Copy Markdown

@Noobest1001

Copy link
Copy Markdown

its up but I havent really started on it

@johnnycharlesw

Copy link
Copy Markdown

Let's just continue the discussions there for us who don't use Discord, but leave the Discord up for those who do.

@johnnycharlesw

Copy link
Copy Markdown

Well, I also gave a license suggestion. I will start contributing code-wise once Oxygen you know, actually has a compiler?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants