Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 969 Bytes

README.md

File metadata and controls

46 lines (31 loc) · 969 Bytes

Python SLN Parser

SLN is the Scopes List Notation.

See the reference here.

SLN is similar to s-expressions from lisps but with Pythonic indentation/whitespace extensions.

The preferred file extension is *.sln.

SLN is the textual notation for the Scopes programming language and the MajorEO package manager.

Installing

pip install git+https://github.com/salotz/python-sln.git

Usage

See the examples folder for some examples of using the modules in your code.

There is also an executable available for conversion to JSON that sends the JSON to stdout:

sln-to-json file.sln

This is currently not implemented to handle very large files so use with caution.

Developing

Uses hatch for the build system so install that.

  make bumpversion
  make build
  HATCH_INDEX_AUTH=... make publish