Skip to content

capjamesg/siml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test workflow

Structured Index Markup Language (SIML)

Structured Index Markup Language (SIML) describes a markup language for indices.

SIML is human readable and machine parsable, implementing a syntax based on real-world book indices.

I made this to learn more about parsing with the Lark parser.

The utility of this project may be limited, but it was a fun project to work on!

Installation

pip install git+https://github.com/capjamesg/siml

Syntax

The following syntaxes are available:

# a term with a page number range and sub terms
term, page-page
    subterm, page
    subterm, page

# a term with a single page number
term, page

# a term with a page range
term, page-page

# a term with a see also reference
term, page. See also: term

License

This project is licensed under an MIT license.

About

A markup language for book indices.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages