Ubaid Shaikh

Results 47 issues of Ubaid Shaikh

This `PR` brings initial support for array descriptor. Currently, passing `arrays` by reference is only supported. The `array` is stored in memory as follows: `no_of_dims`, `dim_1`, `dim_2`, `...`, `dim_{no_of_dims}`, `total_no_of_array_elements`,...

wasm
arrays

- We are currently building `lfortran` to `wasm` in `debug` type. - As previously discussed, ideally it should be in `release` type (for speed). - ~Currently, the `runtime` library is...

fixes https://github.com/lfortran/lfortran/issues/658

wasm
wat

**Steps to recreate:** At https://dev.lfortran.org, if we 1. switch to the `WAT` tab 2. comment the following lines of the default example ```fortran ! print *, "The Mandelbrot image in...

I am facing this issue https://github.com/akimd/bison/issues/89 using the latest available bision `3.8.2`. It seems it is fixed in the current master branch, but is not yet available with the release...

This PR fixes the following bug in `mod()`: ```console % cat integration_tests/intrinsics_169.f90 program intrinsics_169 implicit none integer(4) :: a a = -huge(-1) - 1 print *, mod(a, 10) if (mod(a,...

This PR fixes the following issue: ```console % cat integration_tests/string_36.f90 program string_36 implicit none character(len=5) :: hello hello = "hello" hello(4:3) = "" print *, hello if (hello /= "hello")...

- [x] https://github.com/lfortran/lfortran/issues/3487 - [ ] https://github.com/lfortran/lfortran/issues/3494 - [x] https://github.com/lfortran/lfortran/issues/3498 - [ ] https://github.com/lfortran/lfortran/issues/3499 - [ ] https://github.com/lfortran/lfortran/issues/3500 - [x] https://github.com/lfortran/lfortran/issues/3501 (https://github.com/lfortran/lfortran/pull/3502) - [x] https://github.com/lfortran/lfortran/issues/3505 (https://github.com/lfortran/lfortran/pull/3506) - [ ] https://github.com/lfortran/lfortran/issues/3507...

stdlib

```console % cat examples/expr2.f90 program expr2 implicit none character(len=1) :: carray(5) carray = string_to_carray("hello") print *, carray contains function string_to_carray(string) result(carray) character(len=*), intent(in) :: string character(len=1) :: carray(len(string)) carray =...