User talk:Bayo/Clean up scripts


Comma-separation in lists

Just a thought. What about support for comma-separation in lists? --H-hour 23:00, 29 May 2012 (SAST)

 	names {
		female Aakriti,Abeba,Adina,Afra,Afua
		male "Aakriti Abeba,Adina Afra,Afua"

Quotes required when a space exists within an item on the list? Or always required is fine too.

This way is not really a list, but it can works too. But if you check the script there is many more names, then i dont think it is very good idea.
Quotes is IMO needed to identify values witch are not a reference.
BTW we also can write it like that:
 	names {
		female "Aakriti"
		female "Abeba"
		male "Aakriti"
		male "Abeba"
Bayo 13:54, 30 May 2012 (SAST)

I agree with the components example. It's a good thing to change this to a more standard script syntax. I dislike the first approach to add a "name" in front of each list entry: a) it would a lot of useless content b) it's not always "name". But instead of using [ and ] we should maybe do

list names { ... }

I have not yet a good idea about the embedded languages (particles)

--Mattn 12:27, 2 June 2012 (SAST)