Repository navigation
Full Changelog: 1.0.0-beta.4...1.0.0
Additions:
- (627d1bc) Huge list of new intrinsics, see documentation/intrinsics.md for full list
- (1a85355) Add nullptr-comparison
- (d50a748) Breakpoint-support in Language Server
- (7b4f384) Documentation support for functions
- (f4bce14) Documentation for intrinsics and standard library functions
- (28934ea) Proper CLI-support, not just a scuffed example
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.reidIf 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 SDL3Requirements
- Linux
libclibmld(can be changed)whereis- LLVM 20.1 or newer (because this executable is dynamically linked)