Support for range-limited integer arithmetic #22
Labels
book-section
Describes a part or chapter of the book that needs to be written
compiler
Area: compiling
medium
Some experience and/or subject matter knowledge required
needs documentation
Code documentation needs improvement
needs tests
Testing needs improvement
parser
Area: lexing and parsing
vm
Area: virtual machine
The
TaggedPtr
type allows forsize_of::<isize>() * 8 - 2
bits of integer to be stored in a pointer.Support for numbers needs to be implemented:
+
,-
, integerdiv
,*
) opcodesThis initial implementation should return
RuntimeError
for values and results that fall outside of the supportedTaggedPtr
range.A short chapter of the book might be written to describe this.
Consider splitting this issue into multiple issues to break it up, perhaps an issue for each area of the code and one for documentation.
The text was updated successfully, but these errors were encountered: