ML-Yacc generated code error
borisd <[email protected]> Sat, 24 Jan 2009 22:40:24 -0800 (PST)
| Newsgroups | gmane.comp.lang.sml.smlnj |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm trying to compile the parser for the straight-line language from the book "Modern Compiler Implementation in ML" (p.96). ML-Yacc processes the grammar file without problems, but the generated ML code gives me the following errors: slp.grm.sml:164.46-164.49 Error: unbound type constructor: stm slp.grm.sml:164.21-164.24 Error: unbound type constructor: stm slp.grm.sml:163.51-163.54 Error: unbound type constructor: exp slp.grm.sml:163.22-163.25 Error: unbound type constructor: exp slp.grm.sml:167.15-167.18 Error: unbound type constructor: stm I would appreciate any help in resolving these errors. The version of SML/NJ I'm using is 110.68, and I have attached the grammar file below. http://www.nabble.com/file/p21648997/slp.grm slp.grm -- View this message in context: http://www.nabble.com/ML-Yacc-generated-code-error-tp21648997p21648997.html Sent from the SML/NJ mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword