sannybuilder / dev

Sanny Builder Bug Tracker and Roadmap development
https://sannybuilder.com
49 stars 0 forks source link

[DRAFT] Infer variable type using type information from SBL #257

Open x87 opened 1 year ago

x87 commented 1 year ago
$var = 1.0 // $var is now Float
$var2 = 2.0 // $var2 is now Float

$var += $var2 // does not require explicit opcode or type declaration

Note: only use this within one basic block, i.e. a series of commands between branch instructions.