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

Rewrite it in OCaml #74

Merged
merged 85 commits into from
Feb 20, 2025
Merged

Rewrite it in OCaml #74

merged 85 commits into from
Feb 20, 2025

Conversation

panglesd
Copy link
Owner

@panglesd panglesd commented Feb 1, 2025

Rewrite of the engine in OCaml.

This should have almost feature parity with the javascript engine.

  • Going backward is finally fixed! (see https://choum.net/panglesd/undo-monad/ for a story about that)
  • Same markup language/set of attributes
  • Annotations are still possible (although, this is done in svg now, which is much better for zooming)
  • Table of content (although, the table of content use the heading structure instead of the subslip hierarchy. Much more useful!)
  • Subslips (although, it is based on the new auto-rescalers and the slip adapts itself to the width of the container: no need to specify a scale. Also the slips don't have their own state)

Includes a prototype for mobile support.

What it breaks: "low level" html such as <slip-slip> tags.

Thanks a lot to NLNet for the support!

@panglesd
Copy link
Owner Author

panglesd commented Feb 1, 2025

Note that the license has been changed from MIT to GPLv3.

@panglesd
Copy link
Owner Author

🎉

@panglesd panglesd merged commit 6da4a11 into master Feb 20, 2025
10 checks 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