calvinneo / cfortrantranslator Goto Github PK
View Code? Open in Web Editor NEWA translator from Fortran to C++. We provide statement-wise translation to improve readability.
License: GNU General Public License v2.0
A translator from Fortran to C++. We provide statement-wise translation to improve readability.
License: GNU General Public License v2.0
Compiling a fortran file shows the message below. Is this expected ? Thanks.
unexpected YY_MODULE
current token is META_ANY (id = -308) : "module"
Cost time: 3
I'm trying to istall the CFortrantranslator, and I have configured boost, winflex and winbison. However, when I ran the CFortranTanslator.sln, the following error will occur:
for90.tab.cpp
1>c1xx : fatal error C1083: Cannot open source file: '..\src\grammar\for90.tab.cpp': No such file or directory
Does anyone know how to solve it?
I would like to know is CFortranTranslator convert C/C++ to Fortran?
Is the CFortranTranslator project still being actively developed?
There are a number of fortran language features that don't seem to be supported. Or even in the TODO list.
CFortranTranslator.exe -Ff daxpy.f > axpy.cpp
Error : syntax error, unexpected '*'
(line 2:0, index = 1, len = 1), current token is META_ANY (id = -308) : "*"
*> \brief \b DAXPY\n*\n
^$
Fatal : Syntex error.
*> \brief \b DAXPY
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
R:\>CFortranTranslator.exe -Ff daxpy.f > axpy.cpp
Error : syntax error, unexpected '*'
(line 103:10, index = 2321, len = 1), current token is META_ANY (id = -308) : "*"
DOUBLE PRECISION DX(*),DY(*)\nC ..\nC\nC
^$
Cost time:8
* =====================================================================
SUBROUTINE DAXPY(N,DA,DX,INCX,DY,INCY)
*
* -- Reference BLAS level1 routine (version 3.8.0) --
* -- Reference BLAS is a software package provided by Univ. of Tennessee, --
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
* November 2017
*
* .. Scalar Arguments ..
DOUBLE PRECISION DA
INTEGER INCX,INCY,N
* ..
* .. Array Arguments ..
DOUBLE PRECISION DX(*),DY(*)
* ..
*
* =====================================================================
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.