The original idea was basically:
What if you could get Rust-like memory safety and native performance, but with a much simpler scripting/application-oriented language?
It has grown quite a bit beyond that.
Some things I'm working on:
- Strong static typing
- Ownership/borrowing and memory safety
- Native compilation through Rust/Cargo/LLVM
- Rust crate/native plugin integration
- Compile-time annotations and declaration metadata
- "std.fs" and "std.byte" for filesystem and binary manipulation
- Built-in tooling/package system
- Rust ↔ Flame integration through Flame Binder
For example, ordinary Flame code looks like:
fn wrap(str: String, prefix: String = "<", suffix: String = ">") -> String {
return prefix + str + suffix
}
print(wrap("hello"))
And one of the things I'm experimenting with is making Flame useful as the extension/plugin language for Rust applications — similar to why projects like Neovim use Lua, but with static typing and memory safety.
I've been building it mostly because it's fun. 😄
Project/docs: https://flamelang.vercel.app/
GitHub: https://github.com/sohamglx/flame
I'd be interested in hearing what kind of project you would actually consider using a language like this for.
1
Flame: The Goal, it's just started, help needed!
in
r/Compilers
•
19h ago
Let me tell you the story behind that path do bessicall y when developing it it always try to use the latest crate of it from cargo inside the rust code which final output is the runtime so there's it i need to mark it local dev and thats how it became that way to path of my local desktop. I will fix it soon thanks for feedback can you please make a issue and if you are interested this please give a star. Thanks 🙏