TreeCalc Virtual Machine

Stefan Neubauer

Contents:

Setting

Components

TODO: Add pic

Tc Assembler Generator

Tc Intermediate Language

.tcs:

A_LI_MainLayers.compute =
  F_LI_Indexation_Perc > 0 ? F_LI_TariffDuration : 1

TODO: Add Down Arrow Tc Assembler Generator

.tci:

.formula formula=506 simple=false ; line 3182
    //start of if statement, line 3182
    : callfunc 65 0 ; F_LI_INDEXATION_PERC
    : pushconst 0
    : cmpbig
    : iffalse L0
    : callfunc 90 0 ; F_LI_TARIFFDURATION
    : goto L1
  L0:
    : pushconst 1
  L1:
    //end of if statement
    : return
.formuladone

Tc Assembler

Tc Bytecode - Formulas

TODO: Add pic

Tc Virtual machine - Data

TODO: Add pic

Tc Virtual machine - Execution

TcVM – Tree access

Results

TODO: Add pic

Lessons learned

TODO: Add list/block separator <

Edit Me! This website is a public GitHub repo. Please help by forking the project and adding to it.