https://github.com/aggrathon/rustcalculator

A commandline calculator written in Rust

https://github.com/aggrathon/rustcalculator

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
  • Host: GitHub
  • Owner: Aggrathon
  • License: mit
  • Language: Rust
  • Default Branch: master
  • Homepage:
  • Size: 38.1 KB
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

GitHub Events

Total
Last Year

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 36
  • Total Committers: 1
  • Avg Commits per committer: 36.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Aggrathon a****o@g****m 36

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
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels