ply-3.11

Introduction to ply Module

The ply package is a 100% Python implementation of the common parsing tools 'lex' and 'yacc'.

This package is known to build and work properly using an LFS 12.4 platform.

Package Information

Installation of ply

Build the module:

pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir $PWD

Now, as the root user:

pip3 install --no-index --find-links dist --no-user ply

To run the tests, issue:

pushd test
sed -i 's/self.assert_/self.assertTrue/' test{lex,yacc}.py
sed -i 's/"ERROR:/r"ERROR:/' testlex.py
python3 testlex.py
python3 testyacc.py
popd

Contents

Installed Programs: None
Installed Libraries: None
Installed Directories: /usr/lib/python3/site-packages/ply and /usr/lib/python3/site-packages/ply-3.11.dist-info