https://github.com/khmarbaise/rpn-calculator
RPN Calculator inspired by HP28S/C
https://github.com/khmarbaise/rpn-calculator
antlr4 antlr4-grammar java maven rpn
Last synced: 6 months ago
JSON representation
RPN Calculator inspired by HP28S/C
- Host: GitHub
- URL: https://github.com/khmarbaise/rpn-calculator
- Owner: khmarbaise
- License: apache-2.0
- Created: 2022-09-09T19:38:14.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2025-04-12T16:53:31.000Z (6 months ago)
- Last Synced: 2025-04-15T03:12:33.438Z (6 months ago)
- Topics: antlr4, antlr4-grammar, java, maven, rpn
- Language: Java
- Homepage:
- Size: 165 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# rpn-calculator
[][license]
[](https://github.com/khmarbaise/rpn-calculator/actions/workflows/main.yaml)
[](https://github.com/khmarbaise/rpn-calculator/issues)
[](https://github.com/khmarbaise/rpn-calculator/issues?q=is%3Aissue+is%3Aclosed)
[](https://codecov.io/gh/khmarbaise/rpn-calculator)* Real Number `real`
* Complex Number `(re,im)`
* Binary Integer `#1234AB` (64 Bit)
* String `"Text"`
* Real Vector `[reall real]`
* Real Matrix `[[r11,r21][r21,r22][r31,r32]]`
* Complex Vector `[(a,b) (a,b)]`
* Complex Matrix `[[(a,b),(a,b)][(a,b),(a,b)][(a,b),(a,b)]]`
* List `{Object, Object,...}`
* Expression `'Ausdruck'`# Step 2
* Fraction `(nom;denom)`
# Build
## Prerequisites
If you like to build that project on your own you have to have the following setup:* JDK21+
* Maven 3.8+```bash
mvn clean verify
```## Code Coverage
Code coverage via:
```bash
mvn clean verify org.jacoco:jacoco-maven-plugin:report
```https://www.manualslib.com/manual/1527472/Hp-Hp-28s.html?page=44#manual
https://www.youtube.com/watch?v=eni1hv94gRAPrecision HP28S vs. IEEE 754 double precision (Java Double)
* http://thimet.de/CalcCollection/Calculators/HP-28SC/HP-28S-Quick-Reference.pdf
* https://en.wikipedia.org/wiki/Double-precision_floating-point_formathttps://tredje.se/rpn28xcalc.html
https://github.com/sympy/sympy
* https://hackernoon.com/building-your-own-programming-language-from-scratch
* https://github.com/alexandermakeev/toy-language* https://jakubdziworski.github.io/categories.html#Enkel-ref
Need to check:
* https://mathparser.org/
[license]: https://www.apache.org/licenses/LICENSE-2.0