Skip to content

euler2dot7/interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
SGolovchenko
Dec 18, 2020
6f29c46 · Dec 18, 2020

History

1 Commit
Dec 18, 2020
Dec 18, 2020
Dec 18, 2020
Dec 18, 2020
Dec 18, 2020
Dec 18, 2020
Dec 18, 2020
Dec 18, 2020
Dec 18, 2020
Dec 18, 2020
Dec 18, 2020
Dec 18, 2020
Dec 18, 2020

Repository files navigation

Software architecture of interpreter in Dart (Flutter)

This project is a part of my tech talk about OOP design of interpreters.

Arithmetic expressions interpreter.

The software accept arithmetic expression in input and provide 3 interpretation:

  • Result of evaluation
  • Abstract Syntax Tree structure
  • Stack machine assembler representation

Demo Application

  • The web app is available here -> demo

Example:

Example

Software Architecture in UML

Domain model

Domain model of expression evaluator

Structure

Package diagram

Interaction

Interaction diagram

AST evaluator (Visitor Pattern)

Visitor Pattern

Build

I used Android Studio in order to build:

  • Web App
  • Mobile App
  • Desktop App

Presentation

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published