Skip to content

Releases

Wave 2026-11-12-22-nightly

Pre-release

Choose a tag to compare

@github-actions github-actions released this 04 Nov 08:10
69a67c6

Wave 2026-11-12-22-nightly

Commit: 69a67c6e0fb700f37ee6114f5a66d37ee13771a5
Branch: master
Built: 2026-11-12T06:33:36.60024485Z
Compiler version: 0.0.1-alpha-dev
Build: https://github.com/wavefnd/Wave/actions/runs/43167413795
Validated CI: https://github.com/wavefnd/Wave/actions/runs/43165425224

This release tracks the latest successfully validated master build.

Download manually below. Nightly is not available through install.sh or install.ps1.

What's Changed

  • docs: explain how to trace CI operation failures by @AbhirupKarmakar in #849
  • Start alpha development with an opt-in Whale IR backend by @LunaStev in #859
  • Support checked Whale numeric operations and standardize Rust formatting by @LunaStev in #860
  • docs: clarify newcomer contribution paths and checks by @LunaStev in #910
  • Protect compiler inputs and strengthen Whale lowering validation by @LunaStev in #911
  • fix(format-rust): use null-delimited git ls-files to prevent quote decoding errors by @tecnolgd in #921
  • Fix freestanding helper attributes, literal truthiness, and array returns by @LunaStev in #922
  • Expand Whale scalar support and remove unused std::libc bindings by @LunaStev in #924
  • fix(tools): preserve raw-string contents when detecting Rust function boundaries(#889) by @tecnolgd in #926
  • Fix bundled std discovery and float literal/output handling by @LunaStev in #932
  • fix(std): compute page counts without rounding overflow by @hiyouwhatsapp in #957
  • Fix compiler value and artifact handling, std boundaries, and Whale lowering by @LunaStev in #958
  • fix(tools): resume Rust scanning after ordinary strings by @hiyouwhatsapp in #960
  • fix(tools): report invalid UTF-8 case source paths by @hiyouwhatsapp in #961
  • ci: run formatter and WebAssembly host unit suites by @hiyouwhatsapp in #962
  • fix(std): avoid intermediate overflow in angle conversions by @hiyouwhatsapp in #963
  • fix(tools): stop reports overwriting the case manifest by @hiyouwhatsapp in #964
  • fix(lexer): stop rechecking UTF-8 on every character by @hiyouwhatsapp in #965
  • Refresh Nightly approvals for pinned std-compatible installers by @LunaStev in #967
  • ci: revalidate unchanged master for Nightly publication by @LunaStev in #968
  • fix(format): keep function spacing around characters and metadata by @hiyouwhatsapp in #969
  • Extend Whale scalars and harden std, diagnostics and CI by @LunaStev in #970
  • Improve source diagnostics and reject recursive inline storage by @LunaStev in #986
  • Harden std and packaging, extend Whale scalars, and make validation portable by @LunaStev in #987
  • fix(ci): verify downloads before replacing existing files by @hiyouwhatsapp in #1044
  • fix(tools): deduplicate WebAssembly smoke runner validation by @amandeavor in #1045
  • fix(ci): include Whale workspace manifest in FreeBSD cache setup identity by @amandeavor in #1046
  • fix(ci): reject malformed release metadata identities by @erenbati in #1047
  • fix(std): align public module inventory with tracked sources by @erenbati in #1048
  • fix(error): retain structured type mismatch facts by @erenbati in #1049
  • fix(ci): preserve quoted strings in plan conditions by @erenbati in #1050
  • fix(ci): validate command vector before indexing Cargo subcommands by @amandeavor in #1051
  • fix(ci): keep package backups when rollback fails by @hiyouwhatsapp in #1052
  • fix(std): handle nested comments and character literals in API inventory by @hiyouwhatsapp in #1053
  • Replace x.py build automation with Meson while retaining Cargo by @LunaStev in #1055
  • fix(lexer): stop rescanning lines for token columns by @hiyouwhatsapp in #1056
  • fix(tools): apply runtime contracts to std examples by @hiyouwhatsapp in #1057
  • Complete eight follow-up bundles for Whale, diagnostics, std and CI by @LunaStev in #1058
  • fix(llvm): evaluate input destinations through typed addresses by @hiyouwhatsapp in #1060
  • fix: support bool equality and inequality by @hiyouwhatsapp in #1061
  • fix(format): recognize combined Rust function modifiers by @hiyouwhatsapp in #1062
  • ci: check Rust function spacing in the formatting gate by @hiyouwhatsapp in #1063
  • ci: run workflow actions on Node 24 by @hiyouwhatsapp in #1064
  • Expose Vex package contracts and replace Python tooling with Rust by @LunaStev, @hiyouwhatsapp in #1071
  • fix(net): reject oversized descriptors before timed TCP I/O by @hiyouwhatsapp in #1073
  • refactor(test): split codegen regressions into focused suites by @hiyouwhatsapp in #1076
  • refactor(hir): separate canonicalization and pattern traversal by @hiyouwhatsapp in #1077
  • refactor(cases): separate CPU profiles from base architectures by @hiyouwhatsapp in #1084
  • Fix publication recovery, std boundaries and Whale scalar contracts by @LunaStev in #1089

Full Changelog: v0.2.1-pre-beta...69a67c6

Read more

v0.2.1-pre-beta

Choose a tag to compare

@github-actions github-actions released this 05 Oct 08:46
57376ea

What's Changed

  • FUNDING.yml update by @LunaStev in #330
  • Update README.md by @LunaStev in #331
  • Harden semantic validation and preserve source diagnostics by @LunaStev in #332
  • Harden target configuration validation by @LunaStev in #333
  • Define the RISC-V 64 target contract by @LunaStev in #334
  • Relicense the Wave standard library under Apache 2.0 by @LunaStev in #335
  • Reject mutations in condition expressions by @LunaStev in #336
  • Complete RV64 psABI interoperability contracts by @LunaStev in #337
  • Make architecture tests cross-target contracts by @LunaStev in #338
  • Refresh repository presentation and contribution metadata by @LunaStev in #339
  • Add Comment by @LunaStev in #340
  • Remove let syntax and integrate v0.2.1 CI gates by @LunaStev in #341
  • patchs mail update by @LunaStev in #342
  • Stabilize cross-platform ABI contract tests by @LunaStev in #343
  • Complete the Wave module import system by @LunaStev in #344
  • Discover RISC-V Linux sysroots automatically by @LunaStev in #345
  • Implement typed HIR variant frontend by @LunaStev in #374
  • docs: add file I/O examples by @Saket7002 in #387
  • Position Wave as a modern evolution of C by @LunaStev in #418
  • Preserve pointer depth in semantic validation by @LunaStev in #419
  • ci: build every minimal LLVM target feature by @alexsmolya in #420
  • fix-byte by @LunaStev in #421
  • feat(std): establish a portable versioned standard library foundation by @LunaStev in #422
  • feat(std): overhaul portable networking through phase 2 by @LunaStev in #438
  • feat(frontend): enforce explicit types and typed HIR codegen by @LunaStev in #446
  • feat(std): overhaul core utilities and debugging by @LunaStev in #448
  • feat: complete WebAssembly and payload variant support by @LunaStev in #456
  • feat: add platform case matrix and wasm64 support by @LunaStev in #457
  • feat: expand native 64-bit architecture support by @LunaStev in #474
  • docs: align CONTRIBUTING.md with current CI verification by @SatvikMishra08 in #485
  • Expand FreeBSD sys support and strengthen platform regression coverage by @LunaStev in #502
  • Add async execution, structured diagnostics, and distinct platform regressions by @LunaStev in #520
  • fix: resolve #537 Allow the Wave case runner to show help before locating a compiler by @IbrahimCodes347 in #545
  • fix: bound JSON nesting depth to prevent stack overflow (#540) by @slsgzs-cloud in #546
  • fix(codegen): support typed integer indices and restore strict Clippy by @LunaStev in #569
  • test(regressions): support mixed Windows/Unix path separators in JSON assertions by @Visio-Vanitas in #573
  • fix: stabilize linker outputs, test cleanup, and Darwin pipes by @LunaStev in #574
  • test(msvc): inspect linker arguments in independence assertion by @Visio-Vanitas in #582
  • fix(tools): validate corpus checker timeout as finite positive float (#585) by @DYNOSuprovo in #586
  • fix(tools): restrict legacy platform metadata check to wave-test directives by @Visio-Vanitas in #588
  • fix(tools): read test metadata as UTF-8 with path-aware decode errors by @Visio-Vanitas in #589
  • fix(tools): treat explicit wavec overrides as authoritative in corpus checker by @Visio-Vanitas in #590
  • fix: recognize all ASCII whitespace by @nightcityblade in #601
  • fix: preserve corpus timeout output by @nightcityblade in #602
  • fix: reject non-launchable wavec paths by @nightcityblade in #603
  • fix: resolve maintainers from repository root by @nightcityblade in #604
  • fix: normalize maintainer input paths by @nightcityblade in #605
  • fix: stabilize process streams, ARM64 LLVM ownership, and IOCP restart by @LunaStev in #606
  • fix: make CI case results reliable and restore ARM64 validation by @LunaStev in #630
  • fix: preserve numeric results, file data, and I/O deadlines by @LunaStev in #631
  • fix: write case source-check reports atomically by @hizlidepoo in #665
  • fix(tools): validate compiler path before checking case sources (#655) by @DYNOSuprovo in #666
  • feat(msvc): add native build, SDK discovery, and COFF validation foundations by @LunaStev in #667
  • fix(msvc): validate native Windows runtime and C ABI by @LunaStev in #668
  • time: accept one to nine ISO 8601 fractional digits by @QIU-Guanzong, @Gavin-Yau in #675
  • fix: resolve native CI regressions and preserve independent checks by @LunaStev in #686
  • feat(windows): switch to MSVC and add native acceptance gates by @LunaStev in #687
  • fix(tools): report invalid UTF-8 case manifests as CaseManifestError by @subikshajegadish in #689
  • fix(ci): repair MSVC checks and preserve case execution reports by @LunaStev in #698
  • Fix typed codegen and expand portable std capabilities by @LunaStev in #701
  • Fix numeric lowering and standard-library boundary handling by @LunaStev in #707
  • Align issue templates with existing issue style by @LunaStev in #722
  • Fix frontend contracts and native regression tests by @LunaStev in #723
  • Fix scalar I/O, constant lowering, and frontend contracts by @LunaStev in #741
  • fix(std/fs): reject null write buffers before opening files by @amandeavor in #742
  • Handle non-UTF-8 program output in the native case runner by @amandeavor in #743
  • Record typed HIR conversions and add checked std operations by @LunaStev in #744
  • Stabilize compiler inputs, target ABIs, and freestanding runtimes by @LunaStev in #798
  • perf: avoid live-block scans in wasm allocator by @vansh-nagar in #799
  • Fix native providers and add Darwin and FreeBSD runtime validation by @LunaStev in #800
  • Fix std path, descriptor wait, and WASI clock boundaries by @LunaStev in #801
  • Stabilize frontend semantics and std boundaries by @LunaStev in #802
  • Fix native filesystem, memory, environment and CLI boundaries by @LunaStev in #803
  • Stabilize constant expressions, std installation and platform boundaries by @LunaStev in #804
  • Fix arithmetic runtime, platform errors, diagnostics, and trig accuracy by @LunaStev in #806
  • fix(tools): complete generic shared runtime source selection by @LunaStev in #816
  • Fix runtime boundaries and release validation gaps by @LunaStev in #817
  • fix: fail on unknown x.py commands by @Ehtasham-Yasin in #833
  • Harden validation, cleanup, and release asset checks by @LunaStev in #834
  • Integrate WSON and parsed AST output with shared Python CI procedures by @LunaStev in #837
  • Fix expression depth limits, WASI access checks, and validation diagnostics by @LunaStev in #838
  • Publish rolling Nightly builds and complete Windows local IPC support by @LunaStev, @chenzeyan54-commits, @Tenkeren11 in #839
  • Add ASCII-insensitive string equality by @KingEmma7 in #840
  • Add reverse substring search by @KingEmma7 in #841
  • Fix Nightly installer verification HTTP requests by @LunaStev in #842
  • Stabilize pre-beta runtime checks and native release packages by @LunaStev in #843
  • ci: resume master ...
Read more

v0.2.0-pre-beta

Choose a tag to compare

@github-actions github-actions released this 04 Aug 15:40
bd5549b

What's Changed

Full Changelog: v0.1.9-pre-beta...v0.2.0-pre-beta

v0.1.9-pre-beta

Choose a tag to compare

@github-actions github-actions released this 20 Jun 07:03
e8ac5e6

What's Changed

  • feat: implement AI training ban and major CLI/Build pipeline overhaul by @LunaStev in #308
  • Update CONTRIBUTING.md by @LunaStev in #309
  • feat: add freestanding RISC-V support, migrate to opaque pointers, and enhance test runner by @LunaStev in #310
  • feat(cli): add -C link-sysroot option and custom linker validation by @LunaStev in #311
  • feat(std): expand system modules and modernize standard library syntax by @LunaStev in #312
  • feat: add Windows cross-compilation support via MinGW and LLVM by @LunaStev in #313
  • Major Overhaul: Standalone Toolchain Bundling and Modernized LLVM Backend by @LunaStev in #314
  • feat: implement standalone toolchain packaging for Windows and Linux by @LunaStev in #315
  • feat: implement export(abi), standalone Windows linking, and ASM stack contracts by @LunaStev in #316
  • Improve test runner, LLVM type inference, and environment setup by @LunaStev in #317
  • Update release.yml by @LunaStev in #318
  • Update release.yml by @LunaStev in #319
  • Update release.yml by @LunaStev in #320
  • Update release.yml by @LunaStev in #321
  • Update release.yml by @LunaStev in #322
  • Update release.yml by @LunaStev in #323

Full Changelog: v0.1.8-pre-beta...v0.1.9-pre-beta

v0.1.8-pre-beta

Choose a tag to compare

@LunaStev LunaStev released this 17 Mar 09:02
321d3e8

Release Notes: v0.1.8-pre-beta

This release marks a significant milestone for the Wave language, introducing foundational infrastructure for modern language features, a major overhaul of the compiler backend, and a vastly improved developer experience through advanced diagnostics.


Key Highlights

  1. Modern Langauge Foundations: The introduction of Generics, Pattern Matching (match), and Explicit Type Casting (as) provides the expressiveness needed for complex systems programming.

  2. Infrastructure Modernization: The backend has been upgraded to LLVM 21, fully embracing Opaque Pointers and the new PassBuilder optimization pipeline for improved performance and stability.

  3. Portability & Diagnostics: With new Cross-ABI support (Linux x86_64 and macOS ARM64) and Rust-style error diagnostics, Wave is now more portable and developer-friendly than ever.


New Features

Language & Syntax

  • Generics Support: Basic infrastructure for generic functions and structs is now live. Standard library components like TypedBuffer<T> and generic 1223math utilities are included.

  • Pattern Matching: The new match statement allows for elegant control flow, lowered efficiently to LLVM switch instructions.

  • Static Globals: Global variables can now be declared using the static keyword, providing persistent storage throughout the program lifetime.

  • Explicit Type Casting: The as operator (e.g., x as i64) is now the standard for type conversions, replacing previous implicit behaviors.

  • Conditional Compilation: Support for #[target(os="...")] allows developers to write platform-specific code blocks within the same file.

  • Pointer Arithmetic: Added support for ptr + int, ptr - int, and ptr - ptr operations.

  • Null Literal: The null keyword is introduced for pointer types, including semantic checks to prevent assignment to non-pointer types.

CLI & Tooling

  • Advanced Diagnostics: The compiler now provides detailed, colorized error messages with source code snippets, carets, and unique error codes (e.g., E1001).

  • GUI Build Manager: A new Tkinter-based graphical interface for x.py allows for visual management of build targets and toolchain installations.

  • Dependency Management: External packages can now be resolved via --dep and --dep-root flags.

  • LLVM Customization: Expanded CLI support for fine-grained backend control, including --target, --cpu, and --features.


Buf Fixes

  • C Varargs Type Promotion: Fixed an issue where small integers and floats were not correctly promoted to i32 and double when calling C functions like printf.

  • Symbol Resolution: Resolved a bug where extern C functions were incorrectly looked up by their internal Wave name instead of their redirected LLVM symbol name.

  • Inline Assembly Stability: Improved automatic clobber logic for empty assembly blocks to prevent accidental general-purpose register corruption.

  • Target Directory Routing: Fixed incorrect target directory pathing logic in the compiler backend.


Technical Changes

  • LLVM 21 & Opaque Pointers: Migrated from typed pointers to Opaque Pointers. All backend IR generation (loads, stores, GEPs) now requires explicit type tracking.

  • Monomorphization: Integrated a monomorphization pass into the compilation runner to handle generic code generation.

  • Standard Library Refactoring: System modules have been abstracted into platform-agnostic paths (e.g., std::sys::fs) using the new conditional compilation system.

  • Entry Block Allocas: Local variable allocations are now moved to the function entry block to improve optimization compatibility.


Important Notes

  • Strict Type Narrowing: Implicit narrowing of integer types (e.g., assigning i64 to i32) is now forbidden. You must use the as operator for explicit casting.

  • Standard Library Imports: Existing code using platform-specific paths (like std::sys::linux::fs) should be updated to the new common dispatch paths.

  • Windows Target: Support for x86_64-pc-windows-gnu is currently in transition and may be temporarily disabled in some automated build scripts.

v0.1.7-pre-beta

Choose a tag to compare

@LunaStev LunaStev released this 09 Feb 08:50
189c8fc

Wave v0.1.6-pre-beta Release Note

We are proud to announce a major milestone in the evolution of the Wave programming language. This release is not just a collection of patches; it represents a fundamental shift in Wave’s capabilities. From a completely overhauled CLI to sophisticated C ABI interoperability and a comprehensive Linux system interface, Wave is now equipped for serious systems engineering.


1. Mastering Interoperability: System V ABI & C FFI

The implementation of a robust C Calling Convention (ABI) lowering mechanism allows Wave to handle complex data structures with the same precision as a native C compiler.

  • ABI Compliance: Our LLVM backend now strictly follows standard ABI rules, including SRet (Structured Return) for large aggregates, ByVal for passing structures by value, and Split/HFA (Homogeneous Floating-point Aggregates) for high-performance vector passing.
  • The extern Keyword: Declare external C functions with ease, including support for block syntax and symbol redirection.
  • Safety in Packing: We’ve refactored aggregate packing to use build_memcpy instead of simple bit-casts, ensuring memory alignment requirements are strictly respected during FFI calls.

2. Direct Kernel Access: Linux x86_64 Syscall Suite

Wave now speaks the language of the Linux kernel natively via high-precision inline assembly. This foundation has allowed us to build the initial Wave Standard Library (std):

  • std::sys::linux: Native, zero-overhead interfaces for FS, Memory Management (mmap), Process Control, and Time.
  • std::net: Synchronous networking with TcpListener, TcpStream, and UdpSocket.
  • std::libc: Ready-to-use bindings for essential C functions like malloc, free, stdio, and unistd.

Note: The standard library is in early development. While we are stabilizing the internal coupling, we recommend using std/libc for critical external bindings.

3. Hardened Inline Assembly: Clobbers and Normalization

Low-level programming requires total control. We’ve upgraded our asm blocks to support clobber clauses (e.g., clobber("rax", "memory")). This prevents subtle optimization bugs by explicitly informing the compiler about register and memory trashing.

The new AsmPlan engine automatically handles register normalization and sign-aware operand extension, making inline assembly both safer and more expressive.

4. Advanced Type System: Enums and Type Aliases

Wave now provides better tools for data modeling and code readability:

  • Enums: Define named constants with a specific underlying representation. Enum variants are automatically treated as global constants.
    enum ShaderUniformType -> i32 { FLOAT = 0, VEC2, VEC3 }
  • Type Aliases: Simplify complex type signatures and improve code reuse.
    enum ShaderUniformType -> i32 {
        FLOAT = 0,
        VEC2,
        VEC3,
        VEC4
    }
    
    type UniformType = ShaderUniformType;
  • Type Resolution Pass: A new compiler pass flattens aliases and resolves enum types across the entire program before code generation begins.

5. Iterative Constant Evaluation

Our constant evaluator is now significantly more powerful. It supports multi-round resolution, allowing constants to depend on other constants defined later in your code.

  • Aggregate Support: You can now define constants that are struct literals or array literals.
  • Built-in Keywords: true, false, and null are now fully supported in constant contexts.
  • Frontend Validation: The compiler now catches undeclared identifiers and type mismatches much earlier in the verification phase.

6. A Modern, Structured CLI

We have completely refactored the wavec toolchain with a command-dispatch system:

  • Commands: run, build, install std, and update std.
  • Enhanced Linking: Use --link and -L to link against external system libraries directly.
  • Improved Diagnostics: Refined RGB color palette and accurate source-pointing for a better developer experience.

7. Formalizing the Project

  • Wave Foundation: Core maintenance and assets are now officially managed by the Wave Foundation.
  • MPL-2.0 License: All source files are now licensed under the Mozilla Public License v2.0.
  • Rich Examples: Explore examples/ for everything from a mini-game to a TCP HTTP server and Graph algorithms (DFS/BFS).

Looking Ahead

Wave v0.1.7-pre-beta transforms the language into a tool capable of building its own ecosystem. With C FFI, enums, and direct syscall support, Wave is ready for the next level of system programming.

Get started:

# Install the compiler
# Set up the standard library
wavec install std

# Run the new Enum/Type Alias example
wavec run examples/type_enum.wave

Wave: Build fast, stay lean, and control the machine.

v0.1.6-pre-beta

Choose a tag to compare

@LunaStev LunaStev released this 18 Jan 05:11
dd16887

Wave v0.1.6-pre-beta Release Note

This release marks a significant milestone in the development of Wave, featuring a massive architectural refactoring, the introduction of a modular standard library, and substantial enhancements to the compiler frontend and LLVM backend.

Core Refactoring and Architecture

  • Modular Compiler Frontend: The Lexer and Parser have been completely refactored from monolithic files into modular components. This improves maintainability and allows for more granular development of syntax and semantics.
  • Introduction of the Utils Crate: A new internal utility crate has been added, providing custom implementations for JSON parsing, terminal colorization (colorex), and string formatting (formatx), reducing reliance on external regex dependencies.
  • Improved Error System: The diagnostic system now uses a refined RGB color palette for better terminal readability and provides more accurate source code pointing and suggestions.

Language Features

  • Expanded Type System: Added support for a wider range of primitive types including i8-i128, u8-u128, f32/f64, bool, char, and byte.
  • Enhanced Literals: Added support for binary (0b), hexadecimal (0x), and octal (0o) integer literals, as well as character literals and boolean constants.
  • Advanced Expressions:
    • Implemented unary operators: negation (-), logical not (!), and bitwise not (~).
    • Implemented increment and decrement operators (++, --) in both prefix and postfix forms.
    • Added support for bitwise shift operations (<<, >>) and bitwise XOR (^).
  • Pointers and Memory: Improved address-of (&) and dereference (deref) operations, with stricter validation for l-values.
  • Arrays and Structs:
    • Added support for array literals and bounds-checked array type declarations.
    • Enhanced struct support including struct literals, field access, and method call syntax sugar.
  • Control Flow: Refined handling of if-else if-else chains and while loops, including support for break and continue statements within nested scopes.

Compiler Backend (LLVM)

  • Clang-based Linking: The compiler now generates object files via LLVM and uses Clang as a linker. This allows seamless linking with the C standard library (libc) and math library (libm).
  • Optimization Levels: Added support for optimization flags (-O0, -O1, -O2, -O3, -Oz, -Ofast).
  • Enhanced Inline Assembly: The asm block has been upgraded to support sophisticated input and output constraints, allowing for direct system calls and high-performance low-level code.
  • Modular Codegen: The LLVM backend is now organized into specialized modules for expressions, statements, and variable management.

CLI and Tooling

  • New CLI Commands:
    • build: Compiles a Wave file into a standalone executable.
    • install std / update std: Manages the Wave standard library installation from the official repository.
  • Granular Debugging: Added the --debug-wave flag to output specific compiler stages: tokens, ast, ir, mc, hex, or all.
  • Automated Testing: Introduced a Python-based test runner and a patch verification script to ensure compiler stability across changes.
  • Maintainers Registry: Added a MAINTAINERS file to define code ownership and streamline the review process.

Standard Library (std)

  • Introduced the first iteration of the Wave Standard Library, which operates independently of the compiler:
    • math: Modules for bit manipulation, floating-point operations, and integer utilities.
    • string: Core string operations including length calculation, comparison, finding, and trimming.
    • sys: Linux syscall wrappers.
    • net: Initial UDP socket support.
    • libc: A bridge for C ABI compatibility.

Development and Contribution

  • License Change: The project has returned to the Mozilla Public License 2.0 (MPL 2.0).
  • DCO Requirement: All contributions now require a Developer Certificate of Origin (Signed-off-by) to ensure legal clarity.
  • Updated Guidelines: CONTRIBUTING.md has been rewritten to support both GitHub Pull Requests and email-based patch workflows.

Miscellaneous

  • Updated .gitignore and .mailmap for better repository hygiene.
  • Removed legacy testing documentation in favor of the new automated test suite.
  • Improved the project README with updated build instructions and licensing information.

v0.1.5-pre-beta

Choose a tag to compare

@LunaStev LunaStev released this 27 Nov 14:12
3760907

This release introduces the foundation of Object-Oriented Programming in Wave with the addition of Structs and Proto methods. Additionally, the build system has been completely overhauled to rely on system-installed LLVM libraries, significantly improving build stability and cross-platform compatibility.

Key Features

1. Structs & Field Access

You can now define custom data structures using the struct keyword and access their fields using dot notation.

  • Struct Definition: Define data containers with typed fields.
  • Field Access: Read values using object.field.
  • Pass-by-Value: Structs can be passed as arguments to functions.
struct Box {
    size: i32;
}

fun main() {
    var b: Box = Box { size: 42 };
    println("Size: {}", b.size);
}

2. Methods via proto

The proto keyword is now used to attach methods to existing structs.

  • Method Definition: Define methods associated with a specific struct.
  • self Parameter: Access the instance data within methods.
  • Method Call Syntax: Call methods using object.method().
proto Box {
    fun double_size(self: Box) -> i32 {
        return self.size * 2;
    }
}

3. Build System Overhaul

We have moved away from downloading custom LLVM binaries. The compiler now links against your system's LLVM installation.

  • System LLVM Detection: Automatically detects LLVM 14 on Linux, macOS (Homebrew), and Windows.
  • x.py Script: A new Python script (x.py) replaces Makefiles for easier building, testing, and packaging.
  • Cross-Compilation: Improved configuration for compiling Linux/Windows targets from a single environment.

4. CI/CD Improvements

  • Added macOS build workflows to GitHub Actions to ensure compatibility across major operating systems.

Fixes & Internal Changes

  • Parser Update: Improved lookahead logic to correctly distinguish between field access (obj.field) and method calls (obj.method()).
  • LLVM IR Generation: Refactored expression generation to handle struct literals and memory addresses more reliably.
  • Config: Fixed target-specific linker errors in .cargo/config.toml.

v0.1.4-pre-beta

Choose a tag to compare

@LunaStev LunaStev released this 01 Aug 03:06
f45f2a7

Wave 0.1.4-pre-beta

PR and Commits

Showcase

The showcase is available at Wave-Test.


Features

CLI:

wavec run --img main.wave

Method Chaining:

fun len(s: str) -> i32 {
    var count: i32 = 0;
    while (s[count] != 0) {
        count += 1;
    }
    return count;
}

fun main() {
    var my_string: str = "Hello World";
    var length: i32 = my_string.len();
    println("Result of my_string.len(): {}", length);
}

Thank you for using Wave! Stay tuned for future updates and enhancements.


Installation Guide

  1. Download:

    • Download to Curl.
      curl -fsSL https://wave-lang.dev/install.sh | bash -s -- --version v0.1.4-pre-beta
  2. Verify Installation:

    • Open a terminal and type:
      wavec --version
    • If the version number displays, the installation was successful.

Contributor

@LunaStev | 🇰🇷

v0.1.3-pre-beta

Choose a tag to compare

@LunaStev LunaStev released this 14 Jul 06:10
74b77fe

Wave 0.1.3-pre-beta

PR and Commits

Showcase

The showcase is available at Wave-Test.


Thank you for using Wave! Stay tuned for future updates and enhancements.


Installation Guide

  1. Download:

    • Download to Curl.
      curl -fsSL https://wave-lang.dev/install.sh | bash -s -- --version v0.1.3-pre-beta
  2. Verify Installation:

    • Open a terminal and type:
      wavec --version
    • If the version number displays, the installation was successful.

Contributor

@LunaStev | 🇰🇷