summaryrefslogtreecommitdiff
path: root/doc/devblog/day_134-135__avoiding_the_turing_tarpit.mdwn
blob: d18470ae03fe93ec2519c624ba5cdd97afefd688 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Added some power and convenience to [[preferred_content]] expressions.

Before, "standard" was a special case. Now it's a first-class keyword,
so you can do things like "standard or present" to use the standard
preferred content expression, modified to also want any file that happens
to be present.

Also added a way to write your own reusable preferred content expressions,
tied to groups. To make a repository use them, set its preferred 
content to "groupwanted". Of course, "groupwanted" is also a first-class
keyword, so "not groupwanted" or something can also be done.

While I was at it, I made `vicfg` show the built-in standard preferred
content expressions, for reference. This little IDE should be pretty
self-explanatory, I hope.

So, preferred content is almost its own little programming language now.
Except I was careful to not allow recursion. ;)