Ondřej Čertík

Results 1754 comments of Ondřej Čertík

Try to reproduce the failure locally, it should fail locally as well. Then you can fix it.

I see, we are expecting `defined(__flang__)` in parentheses. As a workaround, do: ``` #if (defined(__flang__) && __flang_major__

`tokenizer.re`, line 263 is the end of: ``` * { token_loc(loc); std::string t = token(); throw parser_local::TokenizerError(diag::Diagnostic( "Token '" + t + "' is not recognized", diag::Level::Error, diag::Stage::Tokenizer, { diag::Label("token...

You have to register the test. Just add it here: ``` $ ls tests/preprocessor* tests/preprocessor1.f90 tests/preprocessor3.h tests/preprocessor10.f90 tests/preprocessor3b.h tests/preprocessor11.f90 tests/preprocessor3c.h tests/preprocessor12.f90 tests/preprocessor3d.h tests/preprocessor13.f90 tests/preprocessor3e.h tests/preprocessor14.f90 tests/preprocessor4.f90 tests/preprocessor15.f90 tests/preprocessor5.f90 tests/preprocessor16.f90 tests/preprocessor6.f90...

@jinangshah21 go ahead, fix up the name, regenerate tests and let's get it merged.

Related: https://github.com/lcompilers/lpython/issues/191, https://github.com/lcompilers/lpython/issues/1263. I know we discussed this exact issue somewhere, but I can't find it. Essentially: ``` l = [1, 2, 3] l2 = l l[0] = 4 print(l2)...

We can also introduce reference counted pointer (RCP) into ASR, and possibly use that. For speed reasons, most likely one would do it explicitly, something like `l2 = rcp(l1)`. Also...

I think this would be helpful. A small utility function, useful in small quick programs for interacting with the user. On Sun, Dec 6, 2020, at 11:48 AM, Ivan Pribec...

Let's do it! On Mon, Dec 7, 2020, at 8:17 AM, Milan Curcic wrote: > > > I think `stdlib_io` is the only suitable place for it. :) > >...