scottfrazer / hermes

Python LL(1) Parser Generator with Expression Parsing
MIT License
16 stars 6 forks source link

1.0dev - Start symbol in grammar file is case sensitive and shouldn't be #1

Closed scottfrazer closed 13 years ago

scottfrazer commented 13 years ago

A grammar like this will not work unless the start symbol S is lowercase

{
   "ll1": {
    "start": "S",
    "rules": [
        "S := 'x'",
        "S := 'y'"
    ]
  }
}
scottfrazer commented 13 years ago

Fixed