You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried this before, but due to the order of file dependencies, the result was not very ideal
The current compilation order is PRELUDE = prelude.sail ... prelude_mem.sail
- General overloads are defined in prelude.sail - If you want to overload operator for physaddr and virtaddr, you must define it inprelude_mem.sail or after it, possibly in a new prelude_operator.sail which looks messy.
I wonder will sail support syntax like overload operator xxx += { }?
The new
physaddr
andvirtaddr
types are quite nice, but they do make some code uglier. For example instead ofwe have to do
I think we can overload + and - (and maybe others) so that they work with
physaddr
andvirtaddr
too.The text was updated successfully, but these errors were encountered: