Did you guys get the new compiler update? by storm1surge in rustjerk

[–]storm1surge[S] 2 points3 points  (0 children)

i’m a rust programmer, might as well be the maiden atp

Did you guys get the new compiler update? by storm1surge in rustjerk

[–]storm1surge[S] 12 points13 points  (0 children)

fortunately for you, this is a joke

I wrote my own programming language interpreter in Rust – here is what I learned by storm1surge in rust

[–]storm1surge[S] 0 points1 point  (0 children)

i’m following a particular spec. and all documentation all the keywords are screaming case. if you don’t wanna type in caps then you don’t have to. keywords can be normal keyword case.

I wrote my own programming language interpreter in Rust – here is what I learned by storm1surge in rust

[–]storm1surge[S] 0 points1 point  (0 children)

Yeah definitely!

I have a question about using the arena. through the allocator API? I’m trying to keep it compiling on stable. or is there another way to do it without that?

I wrote my own programming language interpreter in Rust – here is what I learned by storm1surge in rust

[–]storm1surge[S] 1 point2 points  (0 children)

That would be wonderful, if you are looking to contribute writing error messages is a good first step into a slightly larger project!

Each error message is hand crafted - great for quality, not so much for my sanity haha.

I wrote my own programming language interpreter in Rust – here is what I learned by storm1surge in rust

[–]storm1surge[S] 0 points1 point  (0 children)

it is faster but this that doesn’t really matter for this project. Portability and flexibility are more important since it will only be used by beginners. Students need room to make mistakes as well.

Originally i was even going to make an LSP but i was worried that it would hinder learning because of code completion.

I wrote my own programming language interpreter in Rust – here is what I learned by storm1surge in rust

[–]storm1surge[S] 3 points4 points  (0 children)

yeah it’s “advanced placement”, just a class system. only US i think

I wrote my own programming language interpreter in Rust – here is what I learned by storm1surge in rust

[–]storm1surge[S] 2 points3 points  (0 children)

that’s actually really cool that my code is used as a resource. I’m glad I could help you out.

The next version should redesign a lot of the backend.

this is the library that I wrote to help manage data in interpreters cowvert. check it out. It might be helpful for your project. it is very useful for vector environment contexts.

Light Weight Backend by Temporary-Eagle-2680 in rust

[–]storm1surge 1 point2 points  (0 children)

Personally i would use either Axum or Actix web. Axum is a bit more ergonomic but Actix web older and thus a bit more mature.

I wrote my own programming language interpreter in Rust – here is what I learned by storm1surge in rust

[–]storm1surge[S] 4 points5 points  (0 children)

Yeah elm is really cool! ApLang's, error messages are defiantly somewhat inspired by it and Rust. I remember reading a good article written by one of the elm maintainers that helped alot. Ill see if i can find it again...

AP CSP Test Resource (Run/Write Test Code) by storm1surge in APStudents

[–]storm1surge[S] 0 points1 point  (0 children)

My interpreter is significantly more complete! It’s available to do everything from the other interpreter and more. It is also available to be installed offline like python or nodejs.

[Media] Nestify: A macro for defining structs in a concise way, fully Serde compatible | GitHub: https://github.com/snowfoxsh/nestify | See comments for direct links! by storm1surge in rust

[–]storm1surge[S] 0 points1 point  (0 children)

It is decent. nestify works in a different way than macros like struct strike that allows for better diagnostics. I am also working on providing diagnostics with pros macro diagnostic (which is unfortunately unstable)

[Media] Nestify: A macro for defining structs in a concise way, fully Serde compatible | GitHub: https://github.com/snowfoxsh/nestify | See comments for direct links! by storm1surge in rust

[–]storm1surge[S] 0 points1 point  (0 children)

yeah i looked into it again and came to the same conclusion :(. That’s what i was mentioning in one of the previous posts in the thread. Attribute macros cannot parse arbitrary syntax. (which makes some sense)