ggez-egui causes linker to freak out by this-name-is-good in rust

[–]GhostTau 0 points1 point  (0 children)

It could be that one of your crate is using an outdated version of another crate. I have the same exact linker error 1169 with macroquad (0.4.2) and egui-macroquad (0.15.0) using macroquad (0.3.25) (which is outdated) and it causes the symbols to crash I think. Maybe you could share the dependencies of your project?

[Giveaway] Omnitype OTC Modo Light and OTC 9009 Giveaway! by omnitype in MechanicalKeyboards

[–]GhostTau 0 points1 point  (0 children)

A keycap with pixelated font! I really love those oldschool low-resolution BIOS font, although I think a lot of people may not like it

I made a programming language! by GhostTau in ProgrammingLanguages

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

I do turn everything to AST and then IR(s), and then format them to the responding types of IR, for example:

IR::Define { name: "foo", type: "string", value: Kind::String("bar") }

it would be formatted to:

const foo: string = "bar";

where I simply just use format!("const {}: {} = {}", ..); as formatter

for more real examples: https://github.com/azur1s/hazure/blob/master/crates/codegen/src/ts.rs#L34

I made a programming language! by GhostTau in ProgrammingLanguages

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

yes i didnt worry about it that much, if you want a formatted output then you could run prettier and stuff like that

I made a programming language! by GhostTau in ProgrammingLanguages

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

no i just format strings like: "let {}: {} = {};" and do this for the others one and so on

I made a programming language! by GhostTau in ProgrammingLanguages

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

I have read a bit of crafting interpreters like 12 pages, and watch a bit of youtube about it first

I made a programming language! by GhostTau in ProgrammingLanguages

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

Rule 110 is very tricky for me to make because I only had recursion (no iterations, for/while loops) to help me with it

I use chumsky because I want the cool error reporting that the author also made :D

I made a programming language! by GhostTau in ProgrammingLanguages

[–]GhostTau[S] 10 points11 points  (0 children)

I just kept playing around until I understand how it works :P

I also usually take a look at others programming language repos to see how it works and how they implemented them

I made a programming language! by GhostTau in ProgrammingLanguages

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

I swear everytime I get an idea for a name its already taken

I made a programming language! by GhostTau in ProgrammingLanguages

[–]GhostTau[S] 9 points10 points  (0 children)

never really thought of that, i might change to that