Skip to content
This repository has been archived by the owner on Jun 18, 2022. It is now read-only.
/ lark_shell Public archive

[NOT ACTIVELY MAINTAINED] A terminal version of the online Lark IDE

License

Notifications You must be signed in to change notification settings

ThatXliner/lark_shell

Repository files navigation

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.