You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- record person:
caption name:
integer age:
optional body bio:
optional mentor person:
We should be able to do this:
-- show-person:
person: John Smith, age=21
-- ftd.column show-person:
person person:
This is the "compact syntax". We will be very strict. Caption can not contain commas. Value in key value pairs can not commas or spaces.
The generalise syntax would be:
-- show-person:
person: John Smith
> age: 21
>
> The bio of John
You can also do this:
-- show-person:
person: John Smith, age=21
> mentor: Jane Doe, age=42
or,
-- show-person:
person: John Smith
> age: 21
> mentor: Jane Doe, age: 42
>>
>> Bio of Jane
>
> The bio of John
What If Caption Was Longer?
-- show-person:
person: John Smith Say This Is
>> A Long Caption
> age: 21
>
> The bio of John
Since on it's own a long caption using continuation:
-- some-component: This is a long
> caption, going on and on
some-other-key: even values can be
> long for that matter.
Think Not What Parser Can Parse, But What Would Confuse Humans
Even things that are technically parsable, we would chose not to parse, and raise error. We will optimise for what's crystal clear to human readers, and not for what all arcane stuff we can successfully parse.
triagedIssues that have been added to some project (-no:project doesn't work)
1 participant
Converted from issue
This discussion was converted from issue #152 on July 29, 2022 08:53.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
For this record:
We should be able to do this:
This is the "compact syntax". We will be very strict. Caption can not contain commas. Value in key value pairs can not commas or spaces.
The generalise syntax would be:
You can also do this:
or,
What If Caption Was Longer?
Since on it's own a long caption using continuation:
Think Not What Parser Can Parse, But What Would Confuse Humans
Even things that are technically parsable, we would chose not to parse, and raise error. We will optimise for what's crystal clear to human readers, and not for what all arcane stuff we can successfully parse.
Beta Was this translation helpful? Give feedback.
All reactions