Comments (8)
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.
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.
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.
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.
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.
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.
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.
Those changes are now available on PyPI.
from ford.
Related Issues (20)
- Derived-types declared in submodules are missing HOT 6
- Parser failure in associate block with []-arrays
- Division by zero exception in lines_description of sourceform.py HOT 4
- Some attributes are missing from derived types
- Option coloured_edges is broken HOT 1
- Can't link from a page to source code HOT 3
- Bug in logic to skip big or incomplete graphs HOT 1
- Graphs with long edge labels become degenerated HOT 5
- show_proc_parent is ignored HOT 2
- Create FAQ
- Feature request: Option to turn off certain homepage components HOT 1
- Idea: "Source File" link to GitHub
- Update to fontawesome v6 HOT 2
- Fortran keywords are highlighed in a regular preformatted code block HOT 3
- Links are case sensitive HOT 2
- Issue with the BLOCK Statement HOT 1
- Markdown line breaks not working in lists HOT 2
- Documentation generation on my local machine and on github gives different outcomes HOT 6
- Path.resolve can not resolve urls
- Absurdly tall graphs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ford.