Skip to content

A Fortran JIT compiler based on Fort #26

@bingao

Description

@bingao

Hi,

I plan to develop a Fortran JIT compiler (or interpreter) based on Fort, like Cling (https://github.com/root-project/cling) for C/C++.

The brief picture of Cling is that it continuously accepts input from users, and wraps the input into a function declaration if necessary, and puts such a declaration into a virtual file. It then invokes the Clang parser and its derived Clang::ASTConsumer class Cling::DeclCollector to append parsed results into a continuously growing AST. Finally, it invokes the (wrapping) function if required and returns output to users.

I understand that Fort tries to follow the same structure as Clang. As such, can I develop such a Fortran JIT compiler based on the above picture? Any suggestion and comment are very welcome. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions