Skip to content

Release 1.0.0

Latest

Choose a tag to compare

@Teascade Teascade released this 07 Sep 12:59
· 1 commit to main since this release

Full Changelog: 1.0.0-beta.4...1.0.0

Additions:

Bugfixes:

  • Fix various small bugs
  • Fix token ranges for multiple places
  • (1c3386b) Fix recursive module-importing
  • (8a17838) Allow initializing foreign structs
  • (b93b7aa) Fix struct fields not initializing properly
  • (67106ea) Fix Struct-GEP-naming
  • (82b67df) Fix typedef ordering in codegen
  • (2dd482c) 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)