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

A lexer for F*, an ML dialect for program verification #1409

Merged
merged 8 commits into from
Apr 10, 2020

Conversation

denismerigoux
Copy link
Contributor

Reviving pul request #1304 by solving merge conflicts.

F* is now officially supported by GitHub : https://github.com/github/linguist/blob/master/lib/linguist/languages.yml#L1406.

F* is a programming language of the ML family, with support for program verification. F* has an active community at http://fstar-lang.org/ and is taught all over the world in numerous universities and summer schools. Code written and verified with F* is used by Mozilla Firefox, for their cryptographic code (see https://blog.mozilla.org/security/2017/09/13/verified-cryptography-firefox-57/).

F* shares many syntax elements with OCaml, so the lexer is very similar. Notable differences from the OCamlLexer include:

  • support for C++-style comments starting with //
  • up-to-date list of keywords and operators
  • support for infix application.

@Anteru Anteru merged commit 80221dd into pygments:master Apr 10, 2020
@Anteru
Copy link
Collaborator

Anteru commented Apr 10, 2020

Merged, thanks a lot for the contribution!

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.

3 participants