Giter Site home page Giter Site logo

Comments (4)

jvdp1 avatar jvdp1 commented on September 25, 2024 1

As a separate issue, the formatting on these docstrings is probably not as intended. Ford ignores the first line of most of the new docstrings because they're in the form subroutine: start of doc comment which ford interprets (and then ignores as unknown) as a key: value config setting.

@perazz : could you consider this issue (even if those files will be currently ignored by ford), maybe by moving these docs inside the interface blocks (like for other stdlib modules)?

from stdlib.

perazz avatar perazz commented on September 25, 2024 1

One option could be to add a wrapper script that runs both preprocessors appropriately

I don't think this is necessary: after the modifications in #786: all module procedures such as stdlib_dgemv are properly read in. Perhaps, FORD will also add interfaces to external subroutine dgemv, because it does not parse cpp directives, but this is not a problem: those externals are not public, they can't be used anywhere

from stdlib.

jvdp1 avatar jvdp1 commented on September 25, 2024

Thank you @ZedThree for reporting this issue.

I think this is at least partly due to the larger number of entities that need processing (93454 vs 19548 previously), but there does also seem to be a general slow down which I've not investigated further. One workaround would be to explicitly exclude the new files.

The issue is that ford ignores the cpp directives as it uses fypp as preprocessor. It is also due to the large number of new procedures (mostly BLAS/LAPACK). Ignoring them should be fine.

As a separate issue, the formatting on these docstrings is probably not as intended. Ford ignores the first line of most of the new docstrings because they're in the form subroutine: start of doc comment which ford interprets (and then ignores as unknown) as a key: value config setting.

Thank you. I will have a look.

from stdlib.

ZedThree avatar ZedThree commented on September 25, 2024

The issue is that ford ignores the cpp directives as it uses fypp as preprocessor.

One option could be to add a wrapper script that runs both preprocessors appropriately, and then use that script as the preprocessor for ford?

from stdlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.