rupenp / grammatical-framework

Automatically exported from code.google.com/p/grammatical-framework
0 stars 0 forks source link

Non-exhaustive patterns in Python export #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Lately, Krasimir fixed the export for CFG grammars with BIND, SOFT_BIND and 
nonExist. I think there's a similar problem in the Python export. 

What steps will reproduce the problem?

gf -make --output-format=python X.gf

What is the expected output? What do you see instead?

Writing X.py...gf: src/compiler/GF/Compile/PGFtoPython.hs:(75,1)-(80,75): 
Non-exhaustive patterns in function pySymbol

Original issue reported on code.google.com by f060...@gmail.com on 9 Dec 2013 at 7:40

GoogleCodeExporter commented 9 years ago
I have added Python translations for nonExist, BIND and SOFT_BIND, but
someone who is familiar with the Python translation should verify that they
make sense.

Original comment by hallg...@chalmers.se on 18 Dec 2013 at 3:36