• 1.0.0 4cb0ce9d69

    Release 1.0.0 Stable

    teascade released this 2025-09-07 14:55:55 +02:00 | 1 commits to main since this release

    Additions:

    Bugfixes:

    • Fix various small bugs
    • Fix token ranges for multiple places
    • (1c3386bc9a) Fix recursive module-importing
    • (8a178387ca) Allow initializing foreign structs
    • (b93b7aa52b) Fix struct fields not initializing properly
    • (67106ea17b) Fix Struct-GEP-naming
    • (82b67dfaaa) Fix typedef ordering in codegen
    • (2dd482c9c2) Fix for-loop-generation

    Usage

    ## Run immediately or
    ./reid run hello_world.reid
    ## Just build
    ./reid build hello_world.reid
    

    If you wish to pass feature-flags, the CPU-name or change the underlying linker, or add libraries to be linked, they can be set with environment variables like so:

    # Mark CPU as "generic"
    CPU=generic ./reid run hello_world.reid
    
    # Mark "f16c"-feature
    REIDFLAGS="+f16c"  /reid run hello_world.reid
    
    # Set linker to "mold"
    LD=mold  /reid run hello_world.reid
    
    # Link against libSDL3
    /reid run hello_world.reid --lib SDL3
    

    Requirements

    • Linux
    • libc
    • libm
    • ld (can be changed)
    • whereis
    • LLVM 20.1 or newer (because this executable is dynamically linked)
    Downloads