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

Mel: Improved functions, code, and comments #3393

Merged
merged 1 commit into from Mar 21, 2022

Conversation

RunDevelopment
Copy link
Member

As per this comment and the above discussion, I simplified the pattern for Mel's command/function syntax. We now correctly detect all built-in commands and user-defined functions. During my testing with code from GitHub, I was not able to find any problems.

While doing that, I also noticed that:

  • multiline comments weren't supported,
  • multiline code expressions weren't supported, and
  • the way vector/matrix punctuation was matched could be simplified.

@github-actions
Copy link

JS File Size Changes (gzipped)

A total of 1 files have changed, with a combined diff of -6.2 KB (-92.5%).

file master pull size diff % diff
components/prism-mel.min.js 6.7 KB 506 B -6.2 KB -92.5%

Generated by 🚫 dangerJS against 86921f8

@RunDevelopment RunDevelopment merged commit 8e648da into PrismJS:master Mar 21, 2022
@RunDevelopment RunDevelopment deleted the mel-impr branch March 21, 2022 15:10
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.

None yet

1 participant