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 Octo Extensions #6

Open
craigthomas opened this issue Aug 22, 2020 · 0 comments
Open

Implement Octo Extensions #6

craigthomas opened this issue Aug 22, 2020 · 0 comments

Comments

@craigthomas
Copy link
Owner

Add the ability to parse Octo files and output Chip 8 binary code. The Octo extension is described in John Earnest's Github Wiki. The implementation of Octo should take place in two stages. In the first step, an Octo parser will be needed to translate high level language constructs into Chip 8 assembly patterns. For some commands, this should be straightforward. For example:

clear

maps cleanly onto:

CLR

More exotic constructs such as if ... begin ... else ... end require developing a template first, and expanding the code into the pre-defined template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant