Florian Schanda

Results 89 comments of Florian Schanda

@RobBW - random aside - a quick superficial read of the lexer in smop indicates to me that language support is probably quite partial. Specifically I have doubts about the...

@chaoqing sorry for the long radio silence I had some real life stuff to deal with. I am pleasantly surprised how far you managed to take this concept, without semantic...

I think https://octave.org/doc/v6.3.0/Script-Files.html tells me that this would be OK in Octave if you write it like this: ``` a = 2; function fun (a) a = a + 2;...

Yes, this is a known issue (see https://github.com/florianschanda/miss_hit/blob/master/CHANGELOG.md#tooling) The way the indenter and pretty printer works is weird, and that largely explains this behaviour. It generally works by just adding...

I have a guess what is happening; the line continuation will be based on where the opening brace is; but we use the un-fixed position for determining the column number...

Ugh, as expected it's nasty. So the continuation is of course based on the last encountered bracket and we derive the indentation based on it's (fixed) location. But this logic...

Yep, same thing, same issue. So there is three ways of fixing this, all with immense down-sides: * The clean option, via mh_rewrite. But this tool will be a major...

Maybe I will do option 2, but as an additional option (i.e. non-default behaviour), just in case somebody is willing to pay the performance hit.

Yes, it definitely should; but right now there is zero semantic analysis going on. There is a sanity check that a function name doesn't clash with some important built-ins (like...

In fact I've re-opened #236 and put the same labels on it to make sure I capture this