Calculator application for the Compilerbau lecture WiSe 2021/2022 of Ulm University
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Yandrik fdaca70cb5 Added license 10 months ago
.idea Initial commit 10 months ago
src feat: improved logging for current procedure 10 months ago
.gitignore Initial commit 10 months ago
Cargo.lock refactor: changed crate name to snake_case 10 months ago
Cargo.toml refactor: changed crate name to snake_case 10 months ago
LICENSE Added license 10 months ago
Makefile.toml Initial commit 10 months ago
README.md doc: added README 10 months ago
grammar.md feat: partially implemented parser 10 months ago
s5-cb-calculator.iml Initial commit 10 months ago

README.md

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.