hashc icon indicating copy to clipboard operation
hashc copied to clipboard

The Hash programming language compiler :zap:

Results 76 hashc issues
Sort by recently updated
recently updated
newest added

The following snippet: ```rust fmt := import("printing") math := import("math") main := () => { } ``` The compiler crashes with a stack overflow: ``` thread 'main' has overflowed its...

bug
performance

The following snippet: ```rust math := import("math") // #dump_ir main := () => { temp := Intrinsics::cast(type f64, type i32, -1.) t := math::abs(temp) } ``` Causes the compiler to...

bug

This fixes issue #980 and other similar issues where given that multiple imports are being simultaneously parsed, the insertion order of the modules in `NodeMap` is not correctly preserved when...

bug

The following snippet: ```rust fmt := import("printing"); main := () => { y := 1 + 1 + 1 + 1; fmt::print_int(y + t); } ``` `print_int` is a defined...

bug
type-system

- **ast: remove `AccessKind` differentiator** - **parser: change access type and pattern syntax to use `.` over `::`** - **semantics: adjust resolution to work without `AccessKind`** - **stdlib: update sources...

To do this, there should be an attribute `#[intrinsic]` to label something as being an intrinsic, and it should be "linked" appropriately on the compiler side so that the intrinsic...