Skip to content

a97410985/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.7%
  • Python 12.7%
  • C 1.7%
  • Yacc 1.2%
  • CMake 1.1%
  • Jupyter Notebook 1.0%
  • Other 0.6%