Code Monkey home page Code Monkey logo

f4go's People

Contributors

bvwells avatar konstantin8105 avatar soypat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

f4go's Issues

Analysis sources

Добавить возможность
Количество Фортран комманд
Пример
Write 100
Read 12
For 5
Это поможет определить популярные и не реализованные

Better README - Project Motivation?

Hi,

I just learned that FORTRAN is faster than C code, but I am not sure what is the motivation or goal of this project. Would be nice if the readme file could be updated for clueless people like me!

Thanks!

missing support for EQUIVALENCE statement

hi,

I was trying out transpiling one last remnant of a FORTRAN dependency from CERN: CERNLIB, and more precisely its ZEBRA library.:

$> curl -O -L https://raw.githubusercontent.com/root-project/root/master/misc/minicern/src/zebra.f
$> f4go -p minicern ./zebra.f
[...]
Scan: end of postprocessor
           ./zebra.f : Parsing error :  EQUIVALENCE ( CQLETT ( 1 ) , CQALLC ( 1 : 1 ) )
           ./zebra.f : Parsing error :  EQUIVALENCE ( CQNUM ( 1 ) , CQALLC ( 27 : 27 ) )
[...]
           ./zebra.f : Parsing error :  EQUIVALENCE ( IQTABV ( 1 ) , LQPSTO )
           ./zebra.f : Parsing error :  EQUIVALENCE ( LQRS , LQSYSS ( 7 ) )

IMPLICIT

For fortran IMPLICIT:

  • add implementation on Go
  • add test

Transpiling MYSTRAN to Go

I intend to transpile this Finite Element Analysis program from FORTRAN to Go:

https://github.com/dr-bill-c/MYSTRAN

Due to the complexity of MYSTRAN code structure, I have a difficult time to do so. I wonder if there is any example of transpiling a large project from FORTRAN to Go. So that I can refer to the example to get started. Thanks :)

f4go fails to transpile PYTHIA

I tried to transpile a CERN-based FORTRAN77 code used to simulate high energy physics processes:

but the transpilation processes failed.
here are a couple of the error messages:

$> curl -O -L http://home.thep.lu.se/~torbjorn/pythia6/pythia6428.f
$> f4go ./pythia6428.f
[...]
pythia6428.f : Parsing error : Cannot identify token in left part separation :, in MIN ( 1e0 , MAX ( PARJ ( 129 ) , ( 2e0 * PARU ( 112 ) / ECM ) ** 2 ) )

[...]
pythia6428.f : Parsing error : Recover parseStmt pos{{54565 7}}: Not acceptable type : X ( 1 )
[...]

some of these errors may come from the use of IMPLICIT, though.

add topic "transpiler"

I suggest adding the topic transpiler in the About section, since it has many more hits than transpile.

INTRINSIC

For fortran INTRINSIC:

  • add implementation on Go
  • add test

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.