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

Can you add support for logical AND and OR operators? #810

Closed
ghost opened this issue Aug 8, 2019 · 4 comments
Closed

Can you add support for logical AND and OR operators? #810

ghost opened this issue Aug 8, 2019 · 4 comments

Comments

@ghost
Copy link

ghost commented Aug 8, 2019

I guess /\ for AND and \/ for OR? Also, possibly, negation? My desktop keyboard has a top left key which with shift gives ¬, however I'm not sure all keyboards have this. I can't' think of a suitable ligature for this one.

@tonsky
Copy link
Owner

tonsky commented Aug 9, 2019

I’m pretty sure those were asked before but I can’t seem to find them atm. The problem here is that those would conflict with regexp and string escapes, which are way more popular in programming than math logic. I’ll keep the issue around in case we eventually can enable those in custom font builds. Thanks for reporting!

@alexeyten
Copy link

What language uses \/ and /\ as operators?

There are unicode symbols ∧ (∧) and ∨ (∨)

@djalbat
Copy link

djalbat commented Aug 9, 2019

@tonsky, many thanks! I take your point, they are not that commonplace if at all. Custom builds at some point would be awesome.

@tonsky tonsky added this to the 1.208 milestone Sep 2, 2019
@tonsky
Copy link
Owner

tonsky commented Sep 2, 2019

Dupe of #738

@tonsky tonsky closed this as completed Sep 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants