KarolS / KarolS/millfork

Support hi/lo on literals

Open
#97 1 comment 0 reactions 0 assignees View on GitHub
compiler enhancement
Dominant language
Scala
Stars
279
Forks
21
PR merge metrics
No merged PRs in 30d

Description

Minor feature request, but it would be nice to either use `.hi`/`.lo` or some other syntax to get the literal high or low bytes of a literal. I ran into this while implementing a hex to dec conversion algorithm, where I wrote `400.lo`, `400.hi` in constructing a table.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.