The formal grammar of XML is given in this specification using a simple Extended Backus-Naur Form (EBNF) notation. Each rule in the grammar defines one symbol, in the form
symbol ::= expression| <Configuration ID="b5f0dff9-0770-4567-aad3-453b0708cda7"> | |
| <Add OfficeClientEdition="64" Channel="Current"> | |
| <Product ID="O365ProPlusRetail"> | |
| <Language ID="MatchOS" /> | |
| <ExcludeApp ID="Access" /> | |
| <ExcludeApp ID="Groove" /> | |
| <ExcludeApp ID="Lync" /> | |
| <ExcludeApp ID="OneDrive" /> | |
| <ExcludeApp ID="OneNote" /> |
| from collections.abc import Iterable | |
| from dataclasses import dataclass | |
| from enum import Enum | |
| from typing import Self | |
| _ESC = "\x1b" | |
| _CSI = _ESC + "[" | |
| def _sgr(codes: Iterable[int]) -> str: |
| /** | |
| * Returns a comparator that compares lists _lexicographically_ using the given [elementComparator]. | |
| */ | |
| internal fun <T> lexicographicOrder(elementComparator: Comparator<T>): Comparator<List<T>> = | |
| object : Comparator<List<T>> { | |
| override fun compare(listA: List<T>, listB: List<T>): Int { | |
| val iteratorA = listA.iterator() | |
| val iteratorB = listB.iterator() | |
| while (iteratorA.hasNext() && iteratorB.hasNext()) { | |
| val elementA = iteratorA.next() |
| from collections.abc import Callable, Collection, Iterable | |
| from enum import Enum | |
| from typing import TypeVar | |
| class Alignment(Enum): | |
| LEFT = "<" | |
| CENTER = "^" | |
| RIGHT = ">" |
| #! /usr/bin/env python3 | |
| import argparse | |
| import logging | |
| import subprocess | |
| from pathlib import Path | |
| import dbus | |
| import requests |
| from builtins import int, tuple, max | |
| Result = tuple[int, int] | |
| def points(game: Result, bet: Result) -> int: | |
| """ | |
| Calculates the awarded points for a given game result and bet. | |
| - If the bet is exactly the same as the game result, 10 points are awarded. |
Add the following lines to the .vmx file, which describes the VM.
These settings were tested with VMware Workstation Player v17.
VMX Reference (slightly outdated)