Results 20 comments of elikaski

> There could be a new library function called `divmod` which has a return type of a struct with the definition: > > ```c > struct { > int ???;...

Good catch The reason for that is that before compiling the function we need to determine how much space to make for the local variables So the compiler actually does...

Please import the interpreter function and use it, instead of calling subprocess. There is an example in BF-it.py

In this implementation there are no pointers (including function pointers), so making it OO is not feasible I'm afraid. But I do think that adding structs is a decent idea.

I think it should be similar to NodeArrayGetElement and NodeArraySetElement (Maybe names should be NodeStructSet and NodeStructGet or something similar) The class should hold the token ID of the struct...

> I might need to add more Node types such as `NodeStructSetArrayElement` and `NodeStructGetArrayElement`. Would this be okay, or should i try to find a way to integrate it into...

Good idea! Need to add it to lexical analyzer and get_NUM_token_value function

Let's make octal like Python: 0o[0-7]+

This seems very difficult to implement. Do you have any idea how to do it? Because it's hard for me to think of one Note: while implementing this, should also...