8000 bytecode: Implement numeric comparison operators by Rossiar · Pull Request #303 · evylang/evy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

bytecode: Implement numeric comparison operators #303

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

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

Rossiar
Copy link
Collaborator
@Rossiar Rossiar commented Mar 18, 2024

Adds comparison operators for numic operands, these will have
distinct opcodes from string comparison operands and avoids
verbose type checking code in the vm. Instead, the compiler
will perform type checks on operands to ensure that unique
opcodes are output depending on the types involved.

Adds comparison operators for numic operands, these will have
distinct opcodes from string comparison operands and avoids
verbose type checking code in the vm. Instead, the compiler
will perform type checks on operands to ensure that unique
opcodes are output depending on the types involved.
Copy link
Member
@juliaogris juliaogris left a comment

Choose a reason for hiding this comment

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

lgtm - just a couple of musings that don't really require any change. Curious to see what @camh- thinks.

@juliaogris juliaogris linked an issue Mar 18, 2024 that may be closed by this pull request
Copy link
Member
@camh- camh- left a comment

Choose a reason for hiding this comment

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

LGTM

@juliaogris juliaogris merged commit a2d6cbf into main Mar 18, 2024
@juliaogris juliaogris deleted the compiler-comparison-operators branch March 18, 2024 23:47
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.

Implement compiler with stack-based VM
3 participants
0