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

vm #63

Draft
wants to merge 148 commits into
base: main
Choose a base branch
from
Draft

vm #63

wants to merge 148 commits into from

Conversation

shsms
Copy link
Owner

@shsms shsms commented Dec 29, 2023

No description provided.

shsms added 30 commits December 10, 2023 02:53
Also improve error messages in `compile_2_arg_call`.
Also add compilers for some arithmetic and comparison operators.
shsms added 30 commits February 13, 2024 18:07
Instead hold onto an `Rc` to the instructions and pass that to the
runtime.
To help with implementing funcall later.
This differentiates the `defun` keyword which is the name of the
function being called, from the name of the defun being compiled.
They were both complaining about different `j`s earlier.
This will be needed when implementing `funcall` on them.
Without this a `Machine` instance that has all the state won't be
available to make `funcall`s on.
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