Skip to content

Conversation

@ImSumire
Copy link

  • Better compiler structure: Cleaner structure that follows modern Python conventions
  • Better error messages: Rust like error messages using a new error management that displays the file, line index, and line content with a custom error message for each case to improve productivity. Example: Error: Incorrect number of operands for 'add' (expected 4, got 3)
  • Formatting: Some formatting using Black Formatter to make it pretty ✨

@NQMVD
Copy link

NQMVD commented Dec 30, 2024

Saw you mentioned Rust like error messages and funnily enough i'm currently working on a Rust rewrite of the assembler. Wanna help me with that?

(i'm not an expert for custom assembly languages and i barely know python lol)

@ImSumire
Copy link
Author

ImSumire commented Jan 2, 2025

Saw you mentioned Rust like error messages and funnily enough i'm currently working on a Rust rewrite of the assembler. Wanna help me with that?

(i'm not an expert for custom assembly languages and i barely know python lol)

Hi ! Yeah sure :D

@ImSumire ImSumire closed this Jan 2, 2025
@ImSumire ImSumire reopened this Jan 2, 2025
@NQMVD
Copy link

NQMVD commented Jan 2, 2025

Okay good. I checked your repos and found Floral, so you can probably help with the rewrite of the assembler, given your experience with lexing and parsing.

Or you can write the generator implementation if you prefer that one, have a look at the mc_schem crate if you do.

@ImSumire
Copy link
Author

ImSumire commented Jan 5, 2025

Okay good. I checked your repos and found Floral, so you can probably help with the rewrite of the assembler, given your experience with lexing and parsing.

Or you can write the generator implementation if you prefer that one, have a look at the mc_schem crate if you do.

I think the best thing we can do is an IR with self-optimization like LLVM. Reply me on Discord (@ImSumire) ;)

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.

2 participants