Calculator application for the Compilerbau lecture WiSe 2021/2022 of Ulm University
Go to file
2021-11-30 18:20:45 +01:00
.idea Initial commit 2021-11-28 23:08:27 +01:00
src feat: improved logging for current procedure 2021-11-30 18:18:50 +01:00
.gitignore Initial commit 2021-11-28 23:08:27 +01:00
Cargo.lock refactor: changed crate name to snake_case 2021-11-30 18:06:17 +01:00
Cargo.toml refactor: changed crate name to snake_case 2021-11-30 18:06:17 +01:00
grammar.md feat: partially implemented parser 2021-11-29 22:47:39 +01:00
LICENSE Added license 2021-11-30 18:20:45 +01:00
Makefile.toml Initial commit 2021-11-28 23:08:27 +01:00
README.md doc: added README 2021-11-29 23:50:26 +01:00
s5-cb-calculator.iml Initial commit 2021-11-28 23:08:27 +01:00

OverComplicatedCalculator

A parser project for the Compilerbau Vorlesung in WiSe 2021/2022 at Ulm University

How to build

Install cargo (e.g. from https://rustup.rs). Then open a terminal in the projects root directory, and run cargo build (or cargo run to run instantly)

Grammar

The grammar implemented in this parser is documented here.

Correctness

The implementation is not quite up to spec, as 5/3*2 is interpreted as 5/(3*2) instead of the desired (5/3)*2. I personally believe that this is not a problem.