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

Mathematical Operations #10

Open
SK1Y101 opened this issue Jul 6, 2021 · 2 comments
Open

Mathematical Operations #10

SK1Y101 opened this issue Jul 6, 2021 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@SK1Y101
Copy link
Member

SK1Y101 commented Jul 6, 2021

The Language should probably allow both symbol and literals, so that statements can be written either in english or maths

Addition

5 + 6, and 5 plus 6, and 5 add 6

What about slightly more verbose?

the addition of 5 with 6, or the sum of 5, 6, and 8

Subtraction

5 - 6, 5 minus 6

Multiplication

5 * 6, five times six`

What about five multiplied by six?

Division

5 / 6, 5 divided by six

If we natively allow fractions in numbers, is six over five identical to declaring 1.2?

@SK1Y101 SK1Y101 added enhancement New feature or request good first issue Good for newcomers labels Jul 6, 2021
@SK1Y101 SK1Y101 added this to the Full Language Syntax milestone Jul 6, 2021
@SK1Y101 SK1Y101 changed the title Addition Mathematical Operations Jul 6, 2021
@Amritanshu02
Copy link

Hello! I would like to work upon this issue, could you suggest me where to start ?

@SK1Y101
Copy link
Member Author

SK1Y101 commented Jul 7, 2021

honestly: any examples or extensions to mathematical syntax would be massively helpful.

A great first addition to the above specifically could probably be plain english syntax for things like exponentiation, but there are many more that I have probably missed.

At the moment it's all about brainstorming, and deciding which ideas are worth pursuing further.

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

No branches or pull requests

2 participants