Pulsar is a programming language for building hardware accelerators. In what exactly? I'm not sure yet.
As of right now, I'm using Swift's syntax for that nice syntax highlighting:
func increment(x: Int) -> Int {
return x + 1
}
func main() {
let input = [1, 2, 3, 4]
let output = map<1>(increment, input)
}
The calyx backend is tested e2e via verilator, a hardware simulation tool.
pulsar-lang
: Compiler driverpulsar-utils
: Utilities for the pulsar-*
cratespulsar-frontend
: Parser/AST and type checkingpulsar-ir
: Structured and unstructured IRpulsar-backend
: Target emission, e.g., Verilog (via calyx)