ThatXliner / lark_shell

[NOT ACTIVELY MAINTAINED] A terminal version of the online Lark IDE
GNU General Public License v3.0
2 stars 1 forks source link
lark-parser parsing program python-3 python-3-6 python3 python36 tool urwid

Lark-shell

Vanity Image

Say Thanks! Code style: black Gitmoji

NOTE: NOT ACTIVELY MAINTAINED. There is also an official graphical version here

A terminal version of the online Lark IDE.

Background

I love using the online IDE for playing with Lark (and experimenting with grammars) but it's not offline. So I decided to bring those features right into my terminal.

Installation

Install it via pip:

$ python3 -m pip install lark-shell
✨🍰✨

or via pipx (which will install lark-shell only as an executable)

$ pipx install lark-shell
✨🍰✨

If you want to contribute, see the contributing guide

How to use

If you installed the package correctly, you can just run

$ lark-shell

and start hacking away!

Demonstration

A demo of using lark-shell

This screencast of my epic terminal and shell is made with asciinema and svg-term-cli.

Credits

Credits to @erezsh for his wonderful Lark parsing library.