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

Add lexer for BQN #691

Merged
merged 1 commit into from Nov 8, 2022
Merged

Add lexer for BQN #691

merged 1 commit into from Nov 8, 2022

Commits on Oct 31, 2022

  1. Add lexer for BQN

    Based on the Vim syntax highlighting by Marshall Lochbaum[[0]], with number
    parsing from PrismJS highlighter by Christopher Rodriguez[[1]].
    
    The lexed types are selected to be as descriptive as possible while
    retaining similar groupings to the Vim highlighter, so the highlighted
    code looks familiar to BQN users.
    
    [0]: https://github.com/mlochbaum/BQN/blob/a436a71a083f410fd58d86e8d228470c68c24b91/editors/vim/syntax/bqn.vim
    [1]: PrismJS/prism@859f99a
    dancek committed Oct 31, 2022
    Copy the full SHA
    6673b0f View commit details
    Browse the repository at this point in the history