Menu

Tree [5829bc] default tip /
 History

Read Only access


File Date Author Commit
 weaklisp 2017-05-04 yuri-teixeira yuri-teixeira [e18373] Add command line parameter 'format'.
 .hgignore 2017-05-03 yuri-teixeira yuri-teixeira [97f573] Add basic files.
 .hgtags 2017-05-04 yuri-teixeira yuri-teixeira [fa5cb1] Added tag 0.0.1 for changeset 7001c4edcbc1
 CHANGELOG.rst 2017-05-03 yuri-teixeira yuri-teixeira [97f573] Add basic files.
 LICENSE 2017-05-03 yuri-teixeira yuri-teixeira [97f573] Add basic files.
 README.rst 2017-05-04 yuri-teixeira yuri-teixeira [03a32d] Mention usage as library.
 issues.org 2017-05-04 yuri-teixeira yuri-teixeira [5829bc] Update issues.
 package.conf 2017-05-04 yuri-teixeira yuri-teixeira [7001c4] Release.
 project.org 2017-05-04 yuri-teixeira yuri-teixeira [aed1ca] Add project management files.
 requirements.txt 2017-05-04 yuri-teixeira yuri-teixeira [b3f2d2] Add setup files and change version number.
 setup.py 2017-05-04 yuri-teixeira yuri-teixeira [b3f2d2] Add setup files and change version number.

Read Me

Weaklisp

This is a tool to analyze and format very simple lisp code. It is mostly directed to lisp extension languages found in CAD programs. It can document the code in reStructuredText format.

Setup

To install, update or uninstall you can use pip:

pip install weaklisp

pip install --upgrade weaklisp

pip uninstall weaklisp

Usage

$ python -m weaklisp -h
usage: weaklisp [-h] [-q] [-o OUTPUT] [-f [FORMAT]] path [path ...]

Analyze simple lisp code.

positional arguments:
  path                  Path to lisp file to be parsed.

optional arguments:
  -h, --help            show this help message and exit
  -q, --quiet           Do not print the output.
  -o OUTPUT, --output OUTPUT
                        Save a reStructuredText file.
  -f [FORMAT], --format [FORMAT]
                        Format of files, either 'lisp' or 'config'.

It can also be imported and used as a library.

Fork

The repository can be found here.