Florian Schanda

Results 89 comments of Florian Schanda

Yeah, that's even worse than what I imagined :D MISS_HIT is actually really dumb still. It is 100% syntactic, there is no semantic resolution or interpretation done. You can get...

@jand271 for reference, if you could submit a few examples here; just so I have something on record and can add the testsuite... that would be appreciated. Because if I...

OK, I will re-open as I think we can do something in MH Lint maybe. It won't be perfect, but it might catch a few of these.

Hey, that is nice to see that you're trying to do this. But please beware that this is harder than you might think, due to MATLAB's... lets say casual relationship...

You could do something a bit different, that might work without a working sem. You could create a run-time environment and use that. And one of the things you could...

> providing an inherited class for numpy array to implement the __call__ magic method incase I am not sure it is array Yes, that is what I had in mind....

Also, a few more things to help you out... There is a tree-traversal construct that you might be able to use: https://github.com/florianschanda/miss_hit/blob/07377489c200e07a67e75706d7ff049171d98d09/miss_hit_core/m_ast.py#L208 You can subclass this and overwrite the visit...

Let me answer the second comment first, as the first one will take time. Good news, there is, but it's the other way around. Kinda. So each token has an...

> I indeed encounter problem when it comes to multiple Matlab files, especially the Naked_Expression_Statement because it means sourcing Matlab script which do not have equivalent python representing(eval do not...

> BTW, I have separate the translating logic into a separate backend ml_python as you suggested. Great, it will make a lot of things much easier :) > When excuting...