Instead of calling each function manually, you might be able to use globals(), filter out functions whose names start with test_, and only run those. That way, you won't have to remember to explicitly call each new test
Still a bit hacky imho
> TODO: Figure out how to actually report security exploits
int() argument must be a string, a bytes-like object or a number, not 'list'
Most recently popped arguments: [['1', '0', '0', '1', '0', '0', '0']]
Final stack: []
@lyxal I'd like while loops to be while boolify(pop(stack)) instead of assigning to condition. Still need to look at everything else more thoroughly, but it looks okay
@lyxal Noice
I think we might be able to make our own @context annotation to make life easier
there isn't really a reason for us to do that but if our parse tree output is sane then it should be possible to transpile it into any language once we obtain the parse tree
lisp may be easier given the lack of indentation but it might also deny us a bunch of python features we assume or rely on
actually the lack of indentation hardly makes it any easier honestly
i mean i think transpiling to any language other than python for the official version is absolutely a bad idea but people are free to adapt it to transpile to whatever language they want :P