[YG Conlang Archives] > [engelang group] > messages [Date Index] [Thread Index] >


[Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [engelang] reformulating the core grammar



On Mon, Oct 8, 2012 at 9:00 AM, selpa'i <seladwa@hidden.email> wrote: 

Yesterday I tried writing a parser for Xorban using the documentation on
wordpress. I noticed some things that confused me a little bit.

Nice, what are you writing it in?

Thirdly, if I'm reading the grammar correctly, then "qaeiouq" is a legal
stem and so is "qq". Is that true?

The rules for names are probably too loose.  I am hereby suggesting:

stem := C C C* | q V? ( ( C | y | w ) V? )* q

This would force each V (i.e. vowels separated by apostrophes) to be separated by one or more consonants.  Schwas would be mandatory in certain places and optional in others, just as in stems.  Certain diphthongs like <ay> could be licit in names, but it'd always be allowed to say <ay@> in front of a following consonant. qq [?@?] is still allowed though I am not sure what purpose it serves.

Despite all that, the parser is working, albeit it's not yet the way I'd
want it to be. I personally prefer strictly binary syntax trees, and the
current BNF is not at all binary. So I'd have to rewrite some of it.

I'd be happy to help rewrite the grammar if you wanted me to do so.

 

mu'o mi'e la selpa'i

--
co ma'a mke

Xorban blog: Xorban.wordpress.com
My LL blog: Loglang.wordpress.com