salotz / python-sln

Parser for Scopes List Notation (SLN)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Parser for Scopes List Notation (SLN)

License:MIT License


Languages

Language:Python 98.4%Language:Makefile 1.6%