pc2 / sus-compiler

A new Hardware Design Language that keeps you in the driver's seat
GNU General Public License v3.0
70 stars 4 forks source link

Generative Function Calls #10

Open VonTum opened 1 month ago

VonTum commented 1 month ago

Function calls that can be computed at compiletime are vital.

VonTum commented 1 month ago

This might actually not be too bad to implement at first. A basic version that requires the output to be a simple constant would already suffice for most cases. And it'd be the framework to build utilities onto like sizeof #(T: int[])

VonTum commented 2 weeks ago

See #19