Ondřej Čertík
Ondřej Čertík
Yes, that requires an error resilient parser and semantics. For LFortran this is planned from September 2024, it's not a small project. For LPython we can later implement a similar...
The test is good. Now we have to fix it. :) @pranavchiku, could you please provide a few hints for @kmr-srbh how to fix it?
Thanks for trying to fix this @kmr-srbh. @Pranavchiku would you have time to help further please?
Yes, we definitely need to give a nice error message.
@assem2002 beautiful, thanks for reporting this.
@Vipul-Cariappa once it is ready, go ahead and click on "Ready for review".
Regarding: ``` program main character :: x = "Hello" !-----------------> This should work. character(5) :: x = "Hello" !----------------> This shouldn't work. print*, iachar(x) end ``` Is the idea that...
(Sorry I closed and reopened the PR, I clicked the wrong button.)
I think `len()` in Fortran is simply counting the number of bytes, so utf-8 can have multiple bytes per character ("unicode codepoint"). Regarding the failure above, we need to investigate...
Tests have to pass. Once they do, click on "Ready for review".