-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.pgx
More file actions
42 lines (31 loc) · 1.54 KB
/
Copy pathexample.pgx
File metadata and controls
42 lines (31 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# PGX POINTER GEOMETRY — QUICK SHOWCASE
# COMPLETION
# Put the cursor after "as-" or "A2" and press Ctrl+Space.
# Read the title and description in the menu; accepting inserts only the pointer.
complete by title: as-
complete by pointer: A2
# CANONICAL NODES
# Schema Profile 1: sigil || pointer || title || description || optional data1... ||
# Lawful syntax: every node starts with pgx: and every field ends with ||
pgx: || A0 || graph declaration || A catch-all graph ||
pgx: || A1 || form || The arrangement or presentation of a thing ||
pgx: || A2 || function || What a thing does or is used to do ||
pgx: || A7 || as || An aspectual construction operator ||
pgx: || A27 || affordance || An available possibility for action ||
pgx: || A28 || self |, | A reflexive or identity-bearing unit ||
pgx: || A29 || defense || Protection against harm or attack ||
pgx: || A30 || as-affordance || [(A7):(A27)] ||
pgx: || A40 || traversal expression 1 || [(A28):(A29):(A30)] ||
# RESOLVED TRAVERSAL
# Hover anywhere inside the expression below.
# The preview preserves grouping while recursively resolving pointer titles.
[(A28):(A29):(A30)]
# POINTER NAVIGATION
# Hover over a pointer for its node. Ctrl+click/F12 opens it; Alt+F12 peeks.
[(A40)]
# SYNTAX AND DUPLICATE CHECKS
# Remove the leading "# " from one test at a time to see a diagnostic.
# pgx: || A90 || missing final delimiter || This line is intentionally broken
# pgx: || A91 || misplaced sigil || This line is intentionally broken ||
pgx: || A7 || duplicate as || This intentionally duplicates A7 ||
A80 A84