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

Bytecode Implementation #1

Merged
merged 13 commits into from
May 21, 2024
Merged

Bytecode Implementation #1

merged 13 commits into from
May 21, 2024

Conversation

Cyrus-0101
Copy link
Owner

@Cyrus-0101 Cyrus-0101 commented May 20, 2024

Here we will create a compiler that takes our AST and converts it to bytecode

@Cyrus-0101 Cyrus-0101 self-assigned this May 20, 2024
Copy link
Owner Author

@Cyrus-0101 Cyrus-0101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Added a compiler that converts instructions to bytecode
  • Added a stack-based VM that runs the compiled code.

@Cyrus-0101 Cyrus-0101 merged commit c70037f into master May 21, 2024
1 check passed
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