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

Display keywords as Unicode mathematical symbols #464

Open
alex-chew opened this issue Mar 15, 2024 · 4 comments
Open

Display keywords as Unicode mathematical symbols #464

alex-chew opened this issue Mar 15, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@alex-chew
Copy link
Contributor

Dafny users can have Emacs display certain keywords as Unicode mathematical symbols, like ∀ for forall: https://github.com/boogie-org/boogie-friends

It would be nice for the VSCode IDE to support this too.

@alex-chew alex-chew added the enhancement New feature or request label Mar 15, 2024
@MikaelMayer
Copy link
Member

I remember that we started to drop support for unicode mathematical symbols as Dafny is not targeted towards mathematicians but more engineers who are usually not used to typing and reading mathematical symbols in their code.

@kjx
Copy link

kjx commented Jun 3, 2024

for what it's worth, I strongly suggest we don't do this.
Having "intense discussions" with Andrew Black over this regarding Grace,
I think expecting normal humans to write programs using characters that are not visible on their keyboards "will not help [adoption"...
zx81-keyboard
Space-cadet

@alex-chew
Copy link
Contributor Author

In case I wasn't clear in my original comment, I wasn't suggesting that an option to display some keywords as Unicode symbols should be enabled by default.

@kjx
Copy link

kjx commented Jun 4, 2024

that's fine. this is really just an excuse to post in pictures of daft keyboards.

now: export to LaTeX - that's a different matter...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants