Am 29.04.2017 um 10:19 schrieb Riccardo (Jack) Lucchetti:
On Sat, 29 Apr 2017, Sven Schreiber wrote:
> I'm afraid I don't get this example.
From the Guide:
<quote>
[I]f bundles b1 and b2 are defined you can say
bundle b3 = b1 + b2
Yeah, but there wasn't such a line in your example.
> But apart from that, I have a minor issue with the
syntax/notation
> inside the parentheses. Couldn't the name-content pairs be structured
> better, like:
> a = defbundle("eins", 1; "zwei", 2)
> or
> a = defbundle("eins" 1, "zwei" 2)
> or even:
> a = defbundle("eins": 1, "zwei": 2)
I'm afraid that would be rather expensive to implement, while just using
commas puts no stress on our tokenizer.
Even the first one with semicolons? It would seem to be even easier to
parse.
-sven