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

Mega rewrite #22

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

Conversation

pufferfish101007
Copy link
Member

@pufferfish101007 pufferfish101007 commented Feb 17, 2025

This is a very extensive rewrite of much of the codebase. Available to test at https://pufferfish101007.github.io/hyperquark/rewrite-2024/.

Adding new blocks is now quite straightforward - prs to pufferfish101007:rewrite-2024 are welcome, especially for simpler blocks - items marked as 'easy' on the below TODO list would be good starting points

Notable changes:

TODO:

  • operator_gt(/operator_equals?) (easy)
  • control_if_else
  • control_repeat_until (+ control_while and control_foreach should be implemented #13?)
  • variable type specialisation (semi done)
  • yielding (incl. branches & loops)
  • warped custom procedures
  • address TODOs in code
  • other operator blocks (easy)
  • pen (easy; machinery already in js)
  • bubble rendering for say/think (easy; machinery already in js)
  • costume rendering/looks blocks (easy; machinery already in js)
  • non-warped custom blocks?
  • const folding

Some tests are currently failing and are ignored in CI; these should be resolved with kaleidawave/ezno#121 and don't indicate problems in hyperquark itself.

@pufferfish101007 pufferfish101007 changed the title Rewrite 2024 Mega rewrite Feb 17, 2025
@pufferfish101007 pufferfish101007 marked this pull request as draft February 18, 2025 09:36
@pufferfish101007 pufferfish101007 added this to the v0.1.0 milestone Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant