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

OCaml: Improved tokenization #3269

Merged
merged 1 commit into from
Dec 18, 2021

Conversation

RunDevelopment
Copy link
Member

This improves the tokenization of OCaml and enforces a standard-conform use of standard tokens. Changes:

  • Added support for {|string|} strings.
  • Added char token.
  • Improved string and number tokens.
  • Added missing operators and punctuation.
  • Changed some aliases.
  • Removed module token. Way too many false positives with constants and class names.

@github-actions
Copy link

github-actions bot commented Dec 5, 2021

JS File Size Changes (gzipped)

A total of 1 files have changed, with a combined diff of +91 B (+15.8%).

file master pull size diff % diff
components/prism-ocaml.min.js 576 B 667 B +91 B +15.8%

Generated by 🚫 dangerJS against 90f6a9b

@RunDevelopment RunDevelopment merged commit 7bcc5da into PrismJS:master Dec 18, 2021
@RunDevelopment RunDevelopment deleted the issue3170-ocaml branch December 18, 2021 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant