ply

Is there a Python parsing library that can parse a TOML-like format that specifies nested fields with [ParentHeader_ChildSection]?

Is there a Python parsing library that can parse a TOML-like format that specifies nested fields with [ParentHeader_ChildSection]? Question: I want to parse an externally defined (and undocumented) file format in Python. It looks somewhat similar to TOML, but with different text styles, and no quoting. For example: [Schedule_Step122] m_nMaxCurrent=0 m_szAddIn=Relay OFF m_szLabel=06 – End …

Total answers: 2

Proper way to handle ambiguous tokens in PLY

Proper way to handle ambiguous tokens in PLY Question: I am implementing an existing scripting language in part as a toy project and in part so that I can write my own implementation of the program that uses the language. One of the issues I’m running into is that I have a few constructs that …

Total answers: 1

Python – Display 3D Point Cloud

Python – Display 3D Point Cloud Question: I have a .PLY file that contains a 3D Point Cloud: I want to plot it and visualize it in Python. The .PLY file contains ONLY vertex and NOT faces. Could you indicate me a simple Python library that will take care of plotting the 3D Point Cloud? …

Total answers: 4

How best to parse a simple grammar?

How best to parse a simple grammar? Question: Ok, so I’ve asked a bunch of smaller questions about this project, but I still don’t have much confidence in the designs I’m coming up with, so I’m going to ask a question on a broader scale. I am parsing pre-requisite descriptions for a course catalog. The …

Total answers: 6