Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement file loader #3

Merged
merged 9 commits into from
Jun 26, 2022
Merged

Implement file loader #3

merged 9 commits into from
Jun 26, 2022

Conversation

joshpeterson
Copy link
Owner

No description provided.

Open a binary file to read instructions fro that file. This one
uses mmap to open the file read only.
This also adds an equality operator for the Instruction type.
This change removed the production on/off distinction in the build
process, instead using command line options to run the tests, execute a
bytecode file, or display a help message.

This means that tests are always compiled into the final binary.
@joshpeterson joshpeterson merged commit af016e1 into main Jun 26, 2022
@joshpeterson joshpeterson deleted the implement-file-loader branch June 26, 2022 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant