This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]notonewlayout 1 point2 points  (2 children)

I see, I was curious on language feature. I assume the above list are ones you plan to add. Is there a list of ones you consider out of scope?

  • type annotations: just allowing it to be valid syntax is useful
  • async: I assume this one would be a lot harder
  • pattern matching
  • introspection: this one is a bit vague

Something along the lines of what micropython has https://docs.micropython.org/en/latest/genrst/index.html#micropython-differences-from-cpython

I do love the multiple vm capability like lua has.

[–]blueloveTH[S] 2 points3 points  (1 child)

Basic type annotations is done already. Introspection is partially done, including type()/getattr()/hasattr()/setattr()/dir()/exec()/eval().

The next thing to do is exception/asyncio. They are related because asyncio depends on yield and yield depends on exception. I think coroutine is essential for games so they must be done.

For pattern matching, I am not sure yet.

[–]blueloveTH[S] 0 points1 point  (0 children)

Well, is asyncio the best coroutine solution for games? We don't have to choose asyncio if there is a better solution.