Skip to content

Mathematical expression to AST #5

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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