tonsky / tonsky/FiraCode

Language specific ligatures for Dafny?

Open
#1,347 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Clojure
Stars
82k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

Hi Nikita, and thanks for Fira Code!

Would it be possible / easy to add support for language-specific ligatures for the Dafny language? I think the only two missing ligatures are :: (A notable difference from other languages is that the :: symbol is typically rendered as a centered dot in Dafny: ) and :- (to match :=). Context sensitive punctuation already takes care of :| it seems.

For reference, Dafny uses the following symbols:

->
~>
=>
-->
==>
<== 
<==>

<=
>=
==
!=

:=
:-
:|
::

!!
||
&&

Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing Fira Code’s existing language-specific ligature definitions and compare them with the Dafny symbol list in the issue. Done means adding the requested :: and :- behavior, including the centered-dot rendering for ::, without changing the existing :| handling.

Written by the indexing model from the issue text.

Assessment

Domain
design
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.