Giter VIP home page Giter VIP logo

Comments (8)

szaghi avatar szaghi commented on May 26, 2024

I agree with acroucher, this can be helpful for fortran-c mixing programs. However, one of the characteristic of Ford that I love is its KISS nature: it is designed for fortran, for fortran poor man. I think this is the reason why Ford is presently better than doxygen. I am afraid that trying to support also C Ford will become a poor brother of doxygen... I think that the suggestion of acroucher is the best way for improving Ford without losing its KISSness: let the user define additional regexs. But I prefer that Ford hard-core remains compliant with the Fortran standard.

This is only my modest opinion, my best regards,
Stefano

from ford.

acroucher avatar acroucher commented on May 26, 2024

Totally agree Stefano, I wasn't suggesting full C support in FORD, and I have no desire for FORD to try and become doxygen. The code I'm wanting to use FORD on isn't even mixed-language- it's all in fortran, it just links to a library that's written in C. If we could just allow the user to use other variable types I think that would be enough for my purposes.

from ford.

cmacmackin avatar cmacmackin commented on May 26, 2024

I will certainly look at doing this at some point. Unfortunately, given what my schedule is like, I probably won't be able to devote any time to it until April (or even later). What I don't understand is how you can get away with something like Vec :: v. I don't see how an include statement can get a Fortran compiler to recognize that syntax. Are they doing some very clever stuff with the precompiler?

from ford.

acroucher avatar acroucher commented on May 26, 2024

I'm not sure how it's done inside the library, but yes, that is the sort of syntax you use with PETSc.

from ford.

zbeekman avatar zbeekman commented on May 26, 2024

I don’t think that it’s include statements doing that, it’s other preprocessor statements like #define Var type(var) or some other macro expansion…

from ford.

szaghi avatar szaghi commented on May 26, 2024

Sure, this is a sort of preprocessing stuff, it is not a pure C definition.

see you soon

Il giorno 02:25 gio 12/feb/2015 Izaak Beekman [email protected] ha
scritto:

I don’t think that it’s include statements doing that, it’s other
preprocessor statements like #define Var type(var) or some other macro
expansion…


Reply to this email directly or view it on GitHub
https://github.com/cmacmackin/ford/issues/27#issuecomment-74000835.

from ford.

cmacmackin avatar cmacmackin commented on May 26, 2024

Added this feature. See the wiki for documentation. The changes are reflected in the current GitHub version of the code but are not yet in PyPI. They will be shortly--I just have to decide whether to implement another new feature before I make a new release.

from ford.

cmacmackin avatar cmacmackin commented on May 26, 2024

Those changes are now available on PyPI.

from ford.

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.