Restructuring

This commit is contained in:
Krzosa Karol
2022-09-29 12:41:04 +02:00
parent 5f11a11f0f
commit cbf6ca8480
5 changed files with 379 additions and 365 deletions

View File

@@ -42,6 +42,19 @@ Maybe later
-------------------------------------------------------------------------------
2022.09.29 - Function overloads, operator overloads, namespaces idea
I thought about adding function overloading but I'm not sure if that's
actually good. It seems pretty hard to implement and there are many problems
with it. It's probably better to implement descent namespacing mechanism.
Currently I'm thinking of something like this: operator overloads are this special
additional thing. They can be overloaded cause they are handled differently.
You are not looking up names, you are looking into an array of operators
during resolution of binary expressions etc. It shouldn't complicate things, hopefully.
-------------------------------------------------------------------------------
2022.05.28 - On lambda expressions
I think it's not wise to add the multiline lambda expressions
As is the case with python it would require new alternative syntax.