rogems 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 78a6123f2e20f80a8c2fa4bf13f545db198a9d5089854045fb359b1adba7de33
4
+ data.tar.gz: 64b3cd21b4f57138fa1a7f56089a7f49ed05130058fb4744c867cbd9891d6e45
5
+ SHA512:
6
+ metadata.gz: 35049f8169a1046763b8fb603db7178b550e4039e97d4f5ec8d4ec21e2c14670eab01a25074ed3e041e813b987d63d5fd651a40a152ee9534ae839baf4cebb64
7
+ data.tar.gz: 13b19cd6f90a89b5ad624f6a4202984447fa685a31e4535ae36b641feffae8fa4276e5c23571cee5999af8e236aef7470358786b7ce0b1331b9eac4a38f9f19d
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --require spec_helper
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at roleyspersonal@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,11 @@
1
+ source "https://rubygems.org/"
2
+
3
+ gem "solargraph"
4
+ gem "ruby-lsp"
5
+ gem "parser"
6
+ gem "optparse"
7
+ gem "listen"
8
+ gem "wdm"
9
+ gem "benchmark"
10
+ gem "open3"
11
+ gem "rspec"
data/Gemfile.lock ADDED
@@ -0,0 +1,112 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ ast (2.4.2)
5
+ backport (1.2.0)
6
+ benchmark (0.2.1)
7
+ diff-lcs (1.5.0)
8
+ e2mmap (0.1.0)
9
+ ffi (1.15.5)
10
+ ffi (1.15.5-x64-mingw-ucrt)
11
+ jaro_winkler (1.5.4)
12
+ json (2.6.3)
13
+ kramdown (2.4.0)
14
+ rexml
15
+ kramdown-parser-gfm (1.1.0)
16
+ kramdown (~> 2.0)
17
+ language_server-protocol (3.17.0.2)
18
+ listen (3.8.0)
19
+ rb-fsevent (~> 0.10, >= 0.10.3)
20
+ rb-inotify (~> 0.9, >= 0.9.10)
21
+ nokogiri (1.14.0-x64-mingw-ucrt)
22
+ racc (~> 1.4)
23
+ nokogiri (1.14.0-x86_64-linux)
24
+ racc (~> 1.4)
25
+ open3 (0.1.2)
26
+ optparse (0.3.1)
27
+ parallel (1.22.1)
28
+ parser (3.2.0.0)
29
+ ast (~> 2.4.1)
30
+ prettier_print (1.2.0)
31
+ racc (1.6.2)
32
+ rainbow (3.1.1)
33
+ rb-fsevent (0.11.2)
34
+ rb-inotify (0.10.1)
35
+ ffi (~> 1.0)
36
+ regexp_parser (2.6.2)
37
+ reverse_markdown (2.1.1)
38
+ nokogiri
39
+ rexml (3.2.5)
40
+ rspec (3.12.0)
41
+ rspec-core (~> 3.12.0)
42
+ rspec-expectations (~> 3.12.0)
43
+ rspec-mocks (~> 3.12.0)
44
+ rspec-core (3.12.0)
45
+ rspec-support (~> 3.12.0)
46
+ rspec-expectations (3.12.2)
47
+ diff-lcs (>= 1.2.0, < 2.0)
48
+ rspec-support (~> 3.12.0)
49
+ rspec-mocks (3.12.3)
50
+ diff-lcs (>= 1.2.0, < 2.0)
51
+ rspec-support (~> 3.12.0)
52
+ rspec-support (3.12.0)
53
+ rubocop (1.44.0)
54
+ json (~> 2.3)
55
+ parallel (~> 1.10)
56
+ parser (>= 3.2.0.0)
57
+ rainbow (>= 2.2.2, < 4.0)
58
+ regexp_parser (>= 1.8, < 3.0)
59
+ rexml (>= 3.2.5, < 4.0)
60
+ rubocop-ast (>= 1.24.1, < 2.0)
61
+ ruby-progressbar (~> 1.7)
62
+ unicode-display_width (>= 2.4.0, < 3.0)
63
+ rubocop-ast (1.24.1)
64
+ parser (>= 3.1.1.0)
65
+ ruby-lsp (0.3.8)
66
+ language_server-protocol (~> 3.17.0)
67
+ sorbet-runtime
68
+ syntax_tree (>= 5.0.0, < 6)
69
+ ruby-progressbar (1.11.0)
70
+ solargraph (0.48.0)
71
+ backport (~> 1.2)
72
+ benchmark
73
+ bundler (>= 1.17.2)
74
+ diff-lcs (~> 1.4)
75
+ e2mmap
76
+ jaro_winkler (~> 1.5)
77
+ kramdown (~> 2.3)
78
+ kramdown-parser-gfm (~> 1.1)
79
+ parser (~> 3.0)
80
+ reverse_markdown (>= 1.0.5, < 3)
81
+ rubocop (>= 0.52)
82
+ thor (~> 1.0)
83
+ tilt (~> 2.0)
84
+ yard (~> 0.9, >= 0.9.24)
85
+ sorbet-runtime (0.5.10626)
86
+ syntax_tree (5.2.0)
87
+ prettier_print (>= 1.2.0)
88
+ thor (1.2.1)
89
+ tilt (2.0.11)
90
+ unicode-display_width (2.4.2)
91
+ wdm (0.1.1)
92
+ webrick (1.7.0)
93
+ yard (0.9.28)
94
+ webrick (~> 1.7.0)
95
+
96
+ PLATFORMS
97
+ x64-mingw-ucrt
98
+ x86_64-linux
99
+
100
+ DEPENDENCIES
101
+ benchmark
102
+ listen
103
+ open3
104
+ optparse
105
+ parser
106
+ rspec
107
+ ruby-lsp
108
+ solargraph
109
+ wdm
110
+
111
+ BUNDLED WITH
112
+ 2.4.4
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2023 r-unic
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,41 @@
1
+ ![ci](https://github.com/R-unic/RoGems/actions/workflows/main.yml/badge.svg)
2
+ # RoGems
3
+ RoGems is a Ruby to Lua transpiler written for use with Roblox (like roblox-ts)
4
+
5
+
6
+ ## Examples
7
+ See <a href="https://github.com/R-unic/RoGems/tree/master/examples">examples</a> for more
8
+
9
+ ### Lava Bricks
10
+ Ruby Source
11
+ ```rb
12
+ collection = game.GetService("CollectionService")
13
+ lava_bricks = collection.GetTagged("Lava")
14
+
15
+ lava_bricks.each do |lava|
16
+ lava.Touched.Connect do |hit|
17
+ parent = hit.Parent
18
+ humanoid = parent.FindFirstChildOfClass("Humanoid")
19
+ if !humanoid.nil? then
20
+ humanoid.TakeDamage(humanoid.Health)
21
+ end
22
+ end
23
+ end
24
+ ```
25
+
26
+ Lua Output
27
+ ```lua
28
+ local ruby = require(game.ReplicatedStorage.Ruby.Runtime)
29
+
30
+ local collection = game:GetService("CollectionService")
31
+ local lava_bricks = collection:GetTagged("Lava")
32
+ for lava in ruby.list(lava_bricks) do
33
+ (type(lava.Touched) == "function" and lava:Touched() or lava.Touched):Connect(function(hit)
34
+ local parent = (type(hit.Parent) == "function" and hit:Parent() or hit.Parent)
35
+ local humanoid = parent:FindFirstChildOfClass("Humanoid")
36
+ if humanoid == nil then
37
+ humanoid:TakeDamage((type(humanoid.Health) == "function" and humanoid:Health() or humanoid.Health))
38
+ end
39
+ end)
40
+ end
41
+ ```
@@ -0,0 +1,6 @@
1
+ # Project place file
2
+ /classes.rbxlx
3
+
4
+ # Roblox Studio lock files
5
+ /*.rbxlx.lock
6
+ /*.rbxl.lock
@@ -0,0 +1,17 @@
1
+ # classes
2
+ Generated by [Rojo](https://github.com/rojo-rbx/rojo) 7.2.1.
3
+
4
+ ## Getting Started
5
+ To build the place from scratch, use:
6
+
7
+ ```bash
8
+ rojo build -o "classes.rbxlx"
9
+ ```
10
+
11
+ Next, open `classes.rbxlx` in Roblox Studio and start the Rojo server:
12
+
13
+ ```bash
14
+ rojo serve
15
+ ```
16
+
17
+ For more help, check out [the Rojo documentation](https://rojo.space/docs).
@@ -0,0 +1,72 @@
1
+ {
2
+ "name": "classes",
3
+ "tree": {
4
+ "$className": "DataModel",
5
+
6
+ "ReplicatedStorage": {
7
+ "Common": {
8
+ "$path": "src/shared"
9
+ }
10
+ },
11
+
12
+ "ServerScriptService": {
13
+ "Server": {
14
+ "$path": "src/server"
15
+ }
16
+ },
17
+
18
+ "StarterPlayer": {
19
+ "StarterPlayerScripts": {
20
+ "Client": {
21
+ "$path": "src/client"
22
+ }
23
+ }
24
+ },
25
+
26
+ "Workspace": {
27
+ "$properties": {
28
+ "FilteringEnabled": true
29
+ },
30
+ "Baseplate": {
31
+ "$className": "Part",
32
+ "$properties": {
33
+ "Anchored": true,
34
+ "Color": [
35
+ 0.38823,
36
+ 0.37254,
37
+ 0.38823
38
+ ],
39
+ "Locked": true,
40
+ "Position": [
41
+ 0,
42
+ -10,
43
+ 0
44
+ ],
45
+ "Size": [
46
+ 512,
47
+ 20,
48
+ 512
49
+ ]
50
+ }
51
+ }
52
+ },
53
+ "Lighting": {
54
+ "$properties": {
55
+ "Ambient": [
56
+ 0,
57
+ 0,
58
+ 0
59
+ ],
60
+ "Brightness": 2,
61
+ "GlobalShadows": true,
62
+ "Outlines": false,
63
+ "Technology": "Voxel"
64
+ }
65
+ },
66
+ "SoundService": {
67
+ "$properties": {
68
+ "RespectFilteringEnabled": true
69
+ }
70
+ }
71
+ }
72
+ }
@@ -0,0 +1,91 @@
1
+ local ruby = require(game.ReplicatedStorage.Ruby.Runtime)
2
+
3
+ --classdef
4
+ local Entity = {} do
5
+ function Entity.new()
6
+ local include = {}
7
+ local idxMeta = setmetatable(Entity, { __index = {} })
8
+ idxMeta.__type = "Entity"
9
+ for mixin in ruby.list(include) do
10
+ for k, v in pairs(mixin) do
11
+ idxMeta[k] = v
12
+ end
13
+ end
14
+ local self = setmetatable({}, { __index = idxMeta })
15
+ self.attr_accessor = setmetatable({}, { __index = idxMeta.attr_accessor or {} })
16
+ self.attr_reader = setmetatable({}, { __index = idxMeta.attr_reader or {} })
17
+ self.attr_writer = setmetatable({}, { __index = idxMeta.attr_writer or {} })
18
+ self.writable = {}
19
+ self.private = {}
20
+
21
+ self.private.position = 0
22
+ self.private.health = 100
23
+
24
+ return setmetatable(self, {
25
+ __index = function(t, k)
26
+ if not self.attr_reader[k] and not self.attr_accessor[k] and self.private[k] then
27
+ return nil
28
+ end
29
+ return self.attr_reader[k] or self.attr_accessor[k] or Entity[k]
30
+ end,
31
+ __newindex = function(t, k, v)
32
+ if t.writable[k] or self.writable[k] or idxMeta.writable[k] then
33
+ if self.attr_writer[k] then
34
+ self.attr_writer[k] = v
35
+ elseif self.attr_accessor[k] then
36
+ self.attr_accessor[k] = v
37
+ end
38
+ else
39
+ error("Attempt to write to un-writable attribute '"..k.."'")
40
+ end
41
+ end
42
+ })
43
+ end
44
+ end
45
+ --classdef
46
+ local Player = {} do
47
+ function Player.new(name)
48
+ local include = {}
49
+ local idxMeta = setmetatable(Player, { __index = Entity.new() })
50
+ idxMeta.__type = "Player"
51
+ for mixin in ruby.list(include) do
52
+ for k, v in pairs(mixin) do
53
+ idxMeta[k] = v
54
+ end
55
+ end
56
+ local self = setmetatable({}, { __index = idxMeta })
57
+ self.attr_accessor = setmetatable({}, { __index = idxMeta.attr_accessor or {} })
58
+ self.attr_reader = setmetatable({}, { __index = idxMeta.attr_reader or {} })
59
+ self.attr_writer = setmetatable({}, { __index = idxMeta.attr_writer or {} })
60
+ self.writable = {}
61
+ self.private = {}
62
+
63
+ self.attr_accessor.name = name
64
+ self.writable.name = true
65
+ self.attr_reader.id = 1
66
+ self.private.character = Character.new()
67
+
68
+ return setmetatable(self, {
69
+ __index = function(t, k)
70
+ if not self.attr_reader[k] and not self.attr_accessor[k] and self.private[k] then
71
+ return nil
72
+ end
73
+ return self.attr_reader[k] or self.attr_accessor[k] or Player[k]
74
+ end,
75
+ __newindex = function(t, k, v)
76
+ if t.writable[k] or self.writable[k] or idxMeta.writable[k] then
77
+ if self.attr_writer[k] then
78
+ self.attr_writer[k] = v
79
+ elseif self.attr_accessor[k] then
80
+ self.attr_accessor[k] = v
81
+ end
82
+ else
83
+ error("Attempt to write to un-writable attribute '"..k.."'")
84
+ end
85
+ end
86
+ })
87
+ end
88
+ end
89
+ local plr = Player.new("John")
90
+ local _ = (type(plr.kill) == "function" and plr:kill() or plr.kill)
91
+ return print(plr.health)
@@ -0,0 +1,6 @@
1
+ {
2
+ "rootDir": "./",
3
+ "sourceDir": "src",
4
+ "outDir": "out",
5
+ "debugging": false
6
+ }
@@ -0,0 +1,25 @@
1
+ class Entity
2
+ attr_accessor :position, :health
3
+ @position = 0
4
+ @health = 100
5
+ end
6
+
7
+ class Player < Entity
8
+ attr_accessor :name
9
+ attr_reader :id, :character
10
+
11
+ def initialize(name)
12
+ @name = name
13
+ @id = 1
14
+ @character = Character.new
15
+ end
16
+
17
+ def kill
18
+ @health = 0
19
+ @character.destroy
20
+ end
21
+ end
22
+
23
+ plr = Player.new("John")
24
+ plr.kill
25
+ puts plr.health
@@ -0,0 +1,7 @@
1
+ # This file lists tools managed by Aftman, a cross-platform toolchain manager.
2
+ # For more information, see https://github.com/LPGhatguy/aftman
3
+
4
+ # To add a new tool, add an entry to this table.
5
+ [tools]
6
+ rojo = "rojo-rbx/rojo@7.2.1"
7
+ # rojo = "rojo-rbx/rojo@6.2.0"
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "RoGems-Project",
3
+ "tree": {
4
+ "$className": "DataModel",
5
+
6
+ "ReplicatedStorage": {
7
+ "Ruby": {
8
+ "$className": "Folder",
9
+ "Common": {
10
+ "$path": "src/shared"
11
+ }
12
+ }
13
+ },
14
+
15
+ "ServerScriptService": {
16
+ "Ruby": {
17
+ "$className": "Folder",
18
+ "Server": {
19
+ "$path": "src/server"
20
+ }
21
+ }
22
+ },
23
+
24
+ "StarterPlayer": {
25
+ "StarterPlayerScripts": {
26
+ "Ruby": {
27
+ "$className": "Folder",
28
+ "Client": {
29
+ "$path": "src/client"
30
+ }
31
+ }
32
+ }
33
+ }
34
+ }
35
+ }
@@ -0,0 +1,13 @@
1
+ local ruby = require(game.ReplicatedStorage.Ruby.Runtime)
2
+
3
+ local collection = game:GetService("CollectionService")
4
+ local lava_bricks = collection:GetTagged("Lava")
5
+ for lava in ruby.list(lava_bricks) do
6
+ (type(lava.Touched) == "function" and lava:Touched() or lava.Touched):Connect(function(hit)
7
+ local parent = (type(hit.Parent) == "function" and hit:Parent() or hit.Parent)
8
+ local humanoid = parent:FindFirstChildOfClass("Humanoid")
9
+ if not humanoid == nil then
10
+ humanoid:TakeDamage((type(humanoid.Health) == "function" and humanoid:Health() or humanoid.Health))
11
+ end
12
+ end)
13
+ end
@@ -0,0 +1,6 @@
1
+ {
2
+ "rootDir": "./",
3
+ "sourceDir": "src",
4
+ "outDir": "out",
5
+ "debugging": false
6
+ }
@@ -0,0 +1,12 @@
1
+ collection = game.GetService("CollectionService")
2
+ lava_bricks = collection.GetTagged("Lava")
3
+
4
+ lava_bricks.each do |lava|
5
+ lava.Touched.Connect do |hit|
6
+ parent = hit.Parent
7
+ humanoid = parent.FindFirstChildOfClass("Humanoid")
8
+ if !humanoid.nil? then
9
+ humanoid.TakeDamage(humanoid.Health)
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,6 @@
1
+ # Project place file
2
+ /test.rbxlx
3
+
4
+ # Roblox Studio lock files
5
+ /*.rbxlx.lock
6
+ /*.rbxl.lock
@@ -0,0 +1,17 @@
1
+ # test
2
+ Generated by [Rojo](https://github.com/rojo-rbx/rojo) 7.2.1.
3
+
4
+ ## Getting Started
5
+ To build the place from scratch, use:
6
+
7
+ ```bash
8
+ rojo build -o "test.rbxlx"
9
+ ```
10
+
11
+ Next, open `test.rbxlx` in Roblox Studio and start the Rojo server:
12
+
13
+ ```bash
14
+ rojo serve
15
+ ```
16
+
17
+ For more help, check out [the Rojo documentation](https://rojo.space/docs).