aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/index.tsx
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2022-10-04 01:12:01 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2022-10-04 01:12:01 +0200
commit4a3cdd67cd1b5c6d407c5702a1c50a19bc17fc20 (patch)
tree8cdac92902a75c5d1808a2a876382f0c987298c0 /subprojects/frontend/src/index.tsx
parentfeat(frontend): enable cross-origin isolation (diff)
downloadrefinery-4a3cdd67cd1b5c6d407c5702a1c50a19bc17fc20.tar.gz
refinery-4a3cdd67cd1b5c6d407c5702a1c50a19bc17fc20.tar.zst
refinery-4a3cdd67cd1b5c6d407c5702a1c50a19bc17fc20.zip
refactor(language): disable rule parsing
Rules have too complex semantics to implement in the first prototype.
Diffstat (limited to 'subprojects/frontend/src/index.tsx')
-rw-r--r--subprojects/frontend/src/index.tsx8
1 files changed, 0 insertions, 8 deletions
diff --git a/subprojects/frontend/src/index.tsx b/subprojects/frontend/src/index.tsx
index 55e0590f..f7fe61b9 100644
--- a/subprojects/frontend/src/index.tsx
+++ b/subprojects/frontend/src/index.tsx
@@ -36,14 +36,6 @@ pred invalidTaxStatus(Person p) <->
36 parent(p, q), 36 parent(p, q),
37 !taxStatus(q, retired). 37 !taxStatus(q, retired).
38 38
39rule createChild(may Person p, must Person newPerson):
40 may children(p, newPerson),
41 may !equals(newPerson, newPerson)
42==>
43 new q <: newPerson,
44 children(p, q),
45 taxStatus(q, child).
46
47indiv family. 39indiv family.
48Family(family). 40Family(family).
49members(family, anne). 41members(family, anne).