Closed bsuth closed 1 month ago
@wauterboi do you mind if i ask you to check this out and see if it suffices? this should be enough to close https://github.com/erde-lang/erde/issues/38 but just want to double check first :eyes:
Sorry for the wait. Based on a cursory test, it looks like it compiles exactly as I would expect it to. This is great. I think this is good to go.
This PR introduces
bitexpr
, which is similar tobitlib
except it allows arbitrary expressions instead of onlyrequire
names. It is strictly more powerful thanbitlib
, hence whybitlib
has been marked as deprecated in favor ofbitexpr
.bitexpr
is settable both via the CLI (--bitexpr
) and programmatically via the compile options:Closes https://github.com/erde-lang/erde/issues/38