https://github.com/aggrathon/rustcalculator
A commandline calculator written in Rust
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (3.8%) to scientific vocabulary
Keywords
calculator
parser
rust
Last synced: 5 months ago
·
JSON representation
Repository
A commandline calculator written in Rust
Basic Info
Statistics
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 3
Topics
calculator
parser
rust
Created almost 8 years ago
· Last pushed about 5 years ago
Metadata Files
Readme
License
readme.md
Rust Calculator
A commandline calculator written in rust.
Usage:
calc 2 + 5 / 4! - cos pi
Features
- Can handle complex expressions
- Operators:
+,-,*,/,%,(,),^,!,| - Functions:
sin,cos,abs,log,atan2,mean,sqrt, ... - Constants:
pi,e,c,rad2deg, ... - Randomness:
rnd - Multiple Expressions:
calc 5 + 5, 10*2; 7/4 - Variables:
calc x = 5*25/100, other = x*rnd*3, other*x+5
Help
I cannot use * or ()
Put the query in "" or '' to avoid shell interference.
E.g. calc "(2+3)*5" instead of calc (2+3)*5
Binaries
Either build from source (cargo build --release) or download the latest release.
Owner
- Name: Anton Björklund
- Login: Aggrathon
- Kind: user
- Company: @edahelsinki
- Repositories: 3
- Profile: https://github.com/Aggrathon
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 9 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0