Skip to content

(Jai) `#insert #run construct(...)` allows to assign `struct`s as constants during compile time.

Notifications You must be signed in to change notification settings

shiMusa/construct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

construct

(Jai) #insert #run construct(...) allows to assign structs as constants during compile time.

See example.jai on how to use.

Currently, pointers are not allowed as struct members!

But most basic types are:

  • intrinsic data types (s8, u8, etc.)
  • strings
  • arrays
  • enums
  • (polymorphic) structs
  • nestings thereof

About

(Jai) `#insert #run construct(...)` allows to assign `struct`s as constants during compile time.

Resources

Stars

Watchers

Forks

Packages

No packages published