Using PLY for Parsing Without Using it for Lexing
Explains how to use the PLY parser generator with a custom, hand-written lexer instead of PLY's built-in lexer.
Explains how to use the PLY parser generator with a custom, hand-written lexer instead of PLY's built-in lexer.
A technical guide on writing a custom lexer by hand, covering structure, state management, and test-driven development.
Part 3 of a PLY tutorial covering arithmetic operations, operator precedence, and adding variables to a custom language.
A tutorial on building a grammar and interpreter using the PLY parsing library for Python, focusing on creating a calculator.
A tutorial on using the PLY (Python Lex-Yacc) library to tokenize source code, covering token definition and lexer creation.
A developer shares their journey building a compiled programming language using Python and the PLY library, discussing design goals and challenges.