Skip to content

mdonahoe/ply-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ply-playground

This repo is my testing grounds for learning PLY

##Setup git submodule init

git submodule update

##Example parsers

  • json.py : a custom json parser

    cat data/test.json | python json.py

  • plist.py : a custom plist file parser

    cat data/test.plit | python plist.py

  • indent.py: a demo of parsing a language with significant whitespace

    cat data/test.indent | python indent.py

##Lex-Yacc Resources

I have browsed many links that were useful for learning Lex and Yacc. Here are a few:

  1. Backus-Naur Form
  2. Parsing Python
  3. Lex/Yacc or Hand Code?

About

Learning how to use PLY by example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages