hashc
hashc copied to clipboard
The Hash programming language compiler :zap:
# BUILD Error (compiler) ``` ❯ LLVM_SYS_15_PREFIX=/usr/include/llvm-c/ cargo run Compiling hash-intrinsics v0.1.0 (/home/user/hash-lang/compiler/hash-intrinsics) Compiling llvm-sys v150.0.3 Compiling hash-token v0.1.0 (/home/user/hash-lang/compiler/hash-token) Compiling profiling-procmacros v1.0.7 error: failed to run custom build command...
For cases such as `t: f() = x;` the parser produces two statements, the first being the `t: f`, and the second being `() = x` which is technically valid...