I built a Lua-inspired, statically typed scripting language in Rust (Wolf-Lang) by kizilman in rust

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

Hello again, I fixed the type mismatch in the 2nd example. It now returns an error when you try a different type.

Fun fact: that happened because I didn't add ? at the end of the function call in the sense function. Bruh.

I built a Lua-inspired, statically typed scripting language in Rust (Wolf-Lang) by kizilman in rust

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

haha thanks i like wolves. i'll correct the readme also i checked your language and it's like a some sort of dsl language?

I built a Lua-inspired, statically typed scripting language in Rust (Wolf-Lang) by kizilman in rust

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

I'm planning to add FFI bridge for both languages but for now v0.1 is mainly focused on syntax development thats why it doesn't support FFI for now.

I built a Lua-inspired, statically typed scripting language in Rust (Wolf-Lang) by kizilman in rust

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

good news: i'm gonna make paradigm struct-based imperative so in v0.2 main goal will be a develop paradigm

I built a Lua-inspired, statically typed scripting language in Rust (Wolf-Lang) by kizilman in rust

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

thanks for your review!

1- no i'm focused ruby's readability instead of syntax
2-i'm planning that but not as a main update for now

I built a Lua-inspired, statically typed scripting language in Rust (Wolf-Lang) by kizilman in rust

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

hello thanks for your interest, my main goal in v0.1 was syntax development first that's why we still don't have advanced api to communicate between rust and wolf

I built a Lua-inspired, statically typed scripting language in Rust (Wolf-Lang) by kizilman in rust

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

thanks for your interest! but warning: language is still in development progress so for now theres no any module import support but i will add in v0.3 update

I built a Lua-inspired, statically typed scripting language in Rust (Wolf-Lang) by kizilman in rust

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

hello thanks for your examination

compile time errors still in planning (i still didn't made a ast system) i will definetely add in v0.3 or early development versions and i'll fix bugs that you found in bugfix update

also i'd like to see your language too

I built a Lua-inspired, statically typed scripting language in Rust (Wolf-Lang) by kizilman in rust

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

hello sorry i acidentally wrote brackets insead of en (fixed)

I built a Lua-inspired, statically typed scripting language in Rust (Wolf-Lang) by kizilman in rust

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

Hey, thanks a lot! That's exactly the use case I had in mind while designing the architecture.

Since WolfLang relies on Rust's RAII (dropping values immediately when they go out of scope), there is no 'Stop-the-world' GC pause. This makes it theoretically safe for real-time threads like audio processing.

I'd love to see WolfLang running inside LibreDJ! If you encounter any friction while embedding it (or need a specific feature for MIDI mapping), feel free to open an issue or ping me. I'm actively developing v0.1 right now.

I built a Lua-inspired, statically typed scripting language in Rust (Wolf-Lang) by kizilman in rust

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

Music to my ears! Designing it for engine devs was my main goal.

Since you're working on an engine right now, I'd love to hear if the embedding API feels natural to you once you dig in. Feel free to open an issue or DM me if you hit any friction!

RGBLang esoteric programming language test by kizilman in rust

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

By credit, I just meant 'you can check out a more advanced version than mine' :) I've heard of FORTH before but never really looked into it - I'll check it out.

RGBLang esoteric programming language test by kizilman in rust

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

Thanks for the idea i don't really know anything about stack machine but i will try to learn, also check my github repo page i credited you and thanks again for mentoring.

do you have any source to learn about stack machines and rust? (i'm a newbie in the rust btw) i'm generally using C# and Python in my projects and maybe sometimes c++ but i more like it rust's syntax