BSD Ports

wip/py-astutils 0.0.5 NetBSD

Utilities for abstract syntax trees and parsing with PLY

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
License
modified-bsd
Categories
wip, devel

Description

Bare essentials for building abstract syntax trees (AST) and Python `lex`-`yacc` ([PLY](https://github.com/dabeaz/ply)) parsers.

The package includes:

  • two classes for tree nodes: `Terminal`, `Operator`
  • a `Lexer` and `Parser` class, and a helper function to erase and rewrite the table files.

Install

From pkgsrc-wip (no binary package):

cd /usr/pkgsrc/wip/py-astutils && make install clean

Dependencies

Build dependencies 1
Run dependencies 1
Required by 1