Skip to content

Mathematical expression to AST #5

@Stupremee

Description

@Stupremee

Aufgabe

Schreibe ein Programm, dass eine Mathe Aufgabe die nur Addition und Substraktion enthält,
in einen AST (Abstract Syntax Tree) umwandelt und ihn anschließen in einem beliebigen, aber erkennbaren, Format ausgibt

Examples

Example One
Example Two

Some useful Links:

Mathmatical Expression to an AST
Was ist ein AST

Zusatzaufgaben

  • Dein Parser soll auch Multiplikation und Division unterstützen
  • Printe den AST so wie in den Examples

Metadata

Metadata

Assignees

No one assigned

    Labels

    aufgabeEine neue Idee für eine Aufgabe, die hinzugefügt werden soll.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions