gaspardzoss / cga-parser

A simple parser that parse a CityEngine CGA rule file into a simple data structure. It allows to analyze and modify the CGA grammar.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cga-parser

  • uses spark
  • not complete, handles don't get parsed
  • we distinguish between int/float, real cga doesn't (baaaeh)
  • TODO write this readme
  • Add some license
  • needs some clean up, and I have no clue about 'best practices' in python, so it's a mess
python example.py example.cga

About

A simple parser that parse a CityEngine CGA rule file into a simple data structure. It allows to analyze and modify the CGA grammar.


Languages

Language:Python 100.0%