sannybuilder / dev

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

Feature: constants in HEX block #324

Closed MiranDMC closed 2 months ago

MiranDMC commented 2 months ago

Please add support of constants in HEX blocks, like:

const foo = 12

hex
    00 11 foo 33 foo
end

Use like that would always insert 4 bytes if value was integer or float. In case of text constants included should be all its characters (without terminator string)

x87 commented 2 months ago

constants are ambiguous. consider this example:

const a = 5 
hex
a
end

5 or 10 (0xA)?

x87 commented 2 months ago

See #261

MiranDMC commented 2 months ago

Duplicate of #261