diff options
author | Lockywolf <for_sbo.python3-ply_2023-07-02@lockywolf.net> | 2023-07-08 12:22:38 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-07-08 16:41:51 +0700 |
commit | 643836c6daa4eec1b1461415a7d975a7c86acbdb (patch) | |
tree | b7e62a83c8f1eaad558ebe7b8076f07a8c6d1ef8 /python/python3-ply/README | |
parent | f514388d3f6ada30d416d628859a8bef34759563 (diff) |
python/python3-ply: Added (python lex-yacc).
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-ply/README')
-rw-r--r-- | python/python3-ply/README | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/python/python3-ply/README b/python/python3-ply/README new file mode 100644 index 0000000000..c3c6b73aa9 --- /dev/null +++ b/python/python3-ply/README @@ -0,0 +1,13 @@ +PLY is a zero-dependency Python implementation of the traditional +parsing tools lex and yacc. It uses the same LALR(1) parsing algorithm +as yacc and has most of its core features. It is compatible with all +modern versions of Python. + +PLY was originally created in 2001 to support an Introduction to +Compilers course at the University of Chicago. As such, it has almost +no features other than the core LALR(1) parsing algorithm. This is by +design--students should be made to suffer. Well, at least a little +bit. However, from a more practical point of view, there is a lot +flexibility in terms of how you decide to use it. You can use PLY to +build Abstract Syntax Trees (ASTs), simple one-pass compilers, +protocol decoders, or even a more advanced parsing framework. |