Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/terasakisatoshi/mylfortranplayground
https://github.com/terasakisatoshi/mylfortranplayground
Last synced: about 7 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/terasakisatoshi/mylfortranplayground
- Owner: terasakisatoshi
- License: mit
- Created: 2024-09-15T03:00:45.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-15T06:41:35.000Z (4 months ago)
- Last Synced: 2024-11-12T07:40:52.647Z (2 months ago)
- Language: Julia
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MyLFortranPlayground
This repository provides easy way to setup `lfortran` kernel for Julian. We use CondaPkg.jl to install `lfortran`.
## Setup
```sh
$ git clone https://github.com/terasakisatoshi/MyLFortranPlayground.git
$ cd MyLFortranPlayground
$ julia --project -e 'using Pkg; Pkg.build()'
```## Launch LFortran REPL
```sh
$ julia --project lfortran.jl
Interactive Fortran. Experimental prototype, not ready for end users.
LFortran version: 0.40.0
* Use Ctrl-D to exit
* Use Enter to submit
* Use Alt-Enter or Ctrl-N to make a new line
- Editing (Keys: Left, Right, Home, End, Backspace, Delete)
- History (Keys: Up, Down)
>>> print *, "Hello!" 1,18 ]
Hello!
```## Launch JupyterLab
```sh
$ julia --project jupyterlab.jl
```You'll find a Jupyter kernel for LFortran.