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
compile the instruction to the move(function call to canvas API)
The complex part is (clearly) the type-check. Luckily we can use a dynamic type-system. We will need to do a number of checks regarding operations. For each instruction, questions arising include but not limited to;
Does the given block, pixel or color exist?
Do the given blocks swappable?
Do the given blocks mergable?
Do the given block cuttable or colorable with the given instruction?
You can define your own structures inside javascript assuming parser will provide them to you, we will make the connection.
Before you start implementing, we will need a canvas implementation. Which @umut-sahin is gracefully implementing for the back-end and someone(possibly I or Umut again) will port for the front-end.
The text was updated successfully, but these errors were encountered:
Here's what I think might be a good start into addressing the first two points. There are some questions we still need to answer (clarify and standardize) but for the most part I think we'll be ready to start once the canvas is ready. Attached is a rough draft to get us started:
I tried to answer some of the questions here. Does this make sense. I'm writing the participant spec; which tries to be more clear. Maybe reading that could be helpful?
The interpreter's task is to
The complex part is (clearly) the type-check. Luckily we can use a dynamic type-system. We will need to do a number of checks regarding operations. For each instruction, questions arising include but not limited to;
@gambasz will be in charge of this.
Guido, in my head the task is;
You can define your own structures inside javascript assuming parser will provide them to you, we will make the connection.
Before you start implementing, we will need a canvas implementation. Which @umut-sahin is gracefully implementing for the back-end and someone(possibly I or Umut again) will port for the front-end.
The text was updated successfully, but these errors were encountered: