Jacob Williams

Results 180 comments of Jacob Williams

I really like the https://www.python.org one, where they have a 5 very short examples. Their "launch interactive shell" is also amazing.... maybe one day with LFortran we could have that...

This issue has broken [conda-build](https://github.com/conda/conda-build) for me, which I guess is calling patchelf? I'm on a centos x86_64 machine.

It should also work for `intent(out)` variables. And what about putting it in-line with the variable declaration? ```fortran subroutine foo(bar, baz) integer, intent(inout) :: bar logical, intent(in), optional :: baz=.false....

I hate implicit save. It is one of the stupidest "features" in the language (I've only ever seen it used by accident). The sooner it is removed the better (but...

I also vote for a Fortran linter (something sorely needed). If it's based on FORD, then all the better!

Also keep in mind the `IEEE_EXCEPTIONS` thing that's already in there.

Imagine a single function that could swap any intrinsic variable type: ```fortran pure elemental subroutine swap_anything(a,b) type( real(kind=*), integer(kind=*), logical(kind=*), character(kind=*,len=*) ), intent(inout) :: a type( type_of(a) ),intent(inout) :: b...

Another major use case for this is [automatic differentiation](https://en.wikipedia.org/wiki/Automatic_differentiation). For this, it is desirable to be able to have functions that accept either `real`, `complex`, or a user-defined autodiff type....

I don't know of a reference for a similar feature in another language, because I just made it up! :) Probably it does have implications and the compiler writers will...

I like it! It's more general (but that could also be a bad thing since it's more work for the compiler writers). Yeah, the multiple forwarding thing could be tricky...