Skip to content

angeles-ricardo-89/lpython

Repository files navigation

LFortran

LFortran is an interactive Fortran compiler built on top of LLVM.

How to compile

This works both on Linux and a Mac:

conda create -n lfortran python=3.7 pytest llvmlite prompt_toolkit
conda activate lfortran
pip install antlr4-python3-runtime

Install Java and then ANTLR, say, into ~/ext:

export CLASSPATH="$HOME/ext/antlr-4.7-complete.jar:$CLASSPATH"

Build:

./build.sh

Run tests:

py.test

Run prompt:

./prompt

Releases

No releases published

Packages

No packages published

Languages

  • C++ 81.5%
  • Python 13.4%
  • C 1.9%
  • CMake 1.3%
  • Yacc 0.8%
  • Jupyter Notebook 0.7%
  • Other 0.4%