koknat / callGraph

A multi-language tool which parses source code for function definitions and calls
GNU General Public License v3.0
245 stars 28 forks source link

language fortran is not supported #22

Closed kerneltravel closed 10 months ago

kerneltravel commented 11 months ago
ERROR:  Language '' not recognized.  Specify it with  -language <language>
        For example:  -language pl
        For example:  -language py
        For example:  -language tcl
        Supported languages are:  awk bas c cpp dart for go java jl js kt lua m pas php pl py r rb rs sc sh swift tcl ts v
koknat commented 11 months ago

Could you please provide a test case?
Need the filename and file contents

kerneltravel commented 11 months ago

Could you please provide a test case? Need the filename and file contents

a realworld case is https://gitlab.com/octopus-code/octopus/-/raw/main/src/main/main.F90 file ,the main.F90 is the entrance file of octopus sources.

koknat commented 10 months ago

It didn't recognize the .F90 extension. That is fixed. Please let me know if this test case works now:

cd octopus-main/src/main
callGraph *.F90 -start main.F90:__MAIN__
kerneltravel commented 10 months ago

this test case works now

well, this test case works now.

kerneltravel commented 10 months ago

casida F90