AST to Code Translation: Difference between revisions

From Algorithm Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 24: Line 24:
[[File:AST to Code Translation - Space.png|1000px]]
[[File:AST to Code Translation - Space.png|1000px]]


== Pareto Frontier Improvements Graph ==  
== Time-Space Tradeoff ==  


[[File:AST to Code Translation - Pareto Frontier.png|1000px]]
[[File:AST to Code Translation - Pareto Frontier.png|1000px]]

Revision as of 14:46, 15 February 2023

Description

Translate a given abstract syntax tree (AST) into machine-readable code that uses as few registers as possible.

Related Problems

Related: Arithmetic Expression Binary Tree

Parameters

$n$: number of nodes in the tree

Table of Algorithms

Currently no algorithms in our database for the given problem.

Time Complexity Graph

AST to Code Translation - Time.png

Space Complexity Graph

AST to Code Translation - Space.png

Time-Space Tradeoff

AST to Code Translation - Pareto Frontier.png