JakobTopholt / P4-Unitino

SW4 project at AAU creating our own compiler
4 stars 0 forks source link

Translate between subunits when instanced or when requested? #67

Closed AleksanderRDL closed 1 year ago

AleksanderRDL commented 1 year ago

Ved ikke om det er helt relevant, men havde skrevet det ned

Aavild commented 1 year ago

Think it was supposed to say "Translate subunits to units when declared or when used?" and to answer this: We save a mapping of ms to Time and s to Time. Then when using 5ms we translate it to Time