Re: [PyMOL] Grammar for PyMOL selection algebra

2016-07-21 Thread Thomas Holder
Hi Lukas, All operators: https://sourceforge.net/p/pymol/code/4159/tree/trunk/pymol/layer3/Selector.cpp#l455 Operator types (e.g. number of arguments) and priority (order of operation): https://sourceforge.net/p/pymol/code/4159/tree/trunk/pymol/layer3/Selector.cpp#l365 Hope that helps. Cheers,

[PyMOL] Grammar for PyMOL selection algebra

2016-07-19 Thread Lukáš Pravda
Dear PyMOL users, I am trying to add support for pymol-like selection algebra into one of your software tools. Therefore, I was wondering, if there is any formal description of the language available in for example as context-free grammar. I was trying to find something in the source code rath