igordejanovic / parglare

A pure Python LR/GLR parser - http://www.igordejanovic.net/parglare/
MIT License
136 stars 32 forks source link

`strip_first` and `strip_last` built-in actions #63

Open igordejanovic opened 5 years ago

igordejanovic commented 5 years ago

strip_first returns all but first element. strip_last returns all but last element. See here for a use-case.