Skip to content

euler2dot7/interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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