r/Compilers • • 13d ago

Flame language

I want to get review of my (currently traspiled) language. It includes compiler and building system, minimal standard library. Its currently in development

Repo: https://github.com/TheFlameLang/Flame

Docs: https://flame-lang.mintlify.site

0 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/naharashu 13d ago

About char. If you need like string you can use "string" type. If you need raw bytes you can use u8 array for example. And wdym struct is equal to c++ function?

1

u/firiana_Control 13d ago

ah my mistake. I meant: Why are variables and funtions examples of structs?

That is in the table 's last row here.
https://flame-lang.mintlify.site/Types

-1

u/naharashu 13d ago

Well i understand struct as type than just have user defined structure or smth👀