Last active
July 2, 2020 20:28
-
-
Save eignnx/845344761dde8bf61bb9e6ebf9ffb855 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--OPTION 1 (CURRENT SYNTAX)---- | |
rule whatever1 = "something" | |
rule whatever2.Thing = | |
.thing1 -> "something 1" | |
.thing2 -> "something 2" | |
rule whatever3.Thing.Thing = | |
.thing1 { | |
.thing1 -> "something 1" | |
.thing2 -> "something 2" | |
} | |
.thing2.thing1 -> "something 3" | |
.thing2.thing2 -> "something 4" | |
--OPTION 2--------------------- | |
rule whatever1 -> "something" | |
rule whatever2.Thing { | |
.thing1 -> "something 1" | |
.thing2 -> "something 2" | |
} | |
rule whatever3.Thing.Thing { | |
.thing1 { | |
.thing1 -> "something 1" | |
.thing2 -> "something 2" | |
} | |
.thing2.thing1 -> "something 3" | |
.thing2.thing2 -> "something 4" | |
} | |
--OPTION 3--------------------- | |
rule whatever1 = "something" | |
rule whatever2.Thing = | |
.thing1 = "something 1" | |
.thing2 = "something 2" | |
rule whatever3.Thing.Thing = | |
.thing1 { | |
.thing1 = "something 1" | |
.thing2 = "something 2" | |
} | |
.thing2.thing1 = "something 3" | |
.thing2.thing2 = "something 4" | |
--OPTION 4--------------------- | |
rule whatever1 = "something" | |
rule whatever2.Thing { | |
.thing1 = "something 1" | |
.thing2 = "something 2" | |
} | |
rule whatever3.Thing.Thing { | |
.thing1 { | |
.thing1 = "something 1" | |
.thing2 = "something 2" | |
} | |
.thing2.thing1 = "something 3" | |
.thing2.thing2 = "something 4" | |
} | |
--OPTION 5--------------------- | |
rule whatever1: "something" | |
rule whatever2.Thing: | |
.thing1: "something 1" | |
.thing2: "something 2" | |
rule whatever3.Thing.Thing = | |
.thing1 { | |
.thing1: "something 1" | |
.thing2: "something 2" | |
} | |
.thing2.thing1: "something 3" | |
.thing2.thing2: "something 4" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment