@@ -19,7 +19,22 @@ Online demo/compiler at <https://moonscript.org/compiler>.
19
19
20
20
## Join Our Community
21
21
22
- We just created a Discord for those interested in MoonScript. You can join us here: < https://discord.gg/Y75ZXrD >
22
+ We have a Discord for those interested in MoonScript and related projects. You can join us here: < https://discord.gg/Y75ZXrD >
23
+
24
+ ## Contributing
25
+
26
+ MoonScript is a self-hosted compiler, meaning it's written in MoonScript itself. When contributing, please follow the following guidelines:
27
+
28
+ 1 . Edit ` .moon ` files, never modify the alongside ` .lua ` files directly
29
+ 2 . After making changes to ` .moon ` files, run the compiler to regenerate the corresponding ` .lua ` files
30
+ 3 . Both ` .moon ` and ` .lua ` files are included in the repository to ensure that:
31
+ - Users can install and use MoonScript without having to compile it themselves
32
+ - The compiler bootstrapping process works consistently
33
+
34
+ It's helpful to have a separate installation of MoonScript should you break
35
+ something and you need to re-build the MoonScript with a working version of
36
+ MoonScript. You can check out the repo in another directory, or install it
37
+ using LuaRocks to have a separate working version.
23
38
24
39
## Running Tests
25
40
34
49
35
50
Writing specs is a bit more complicated. Check out [ the spec writing guide] ( spec/README.md ) .
36
51
37
-
38
52
## Binaries
39
53
40
54
Precompiled versions of MoonScript are provided for Windows. You can find them
@@ -53,7 +67,7 @@ branch](https://github.com/leafo/moonscript/tree/binaries)
53
67
54
68
## License (MIT)
55
69
56
- Copyright (C) 2020 by Leaf Corcoran
70
+ Copyright (C) 2025 by Leaf Corcoran
57
71
58
72
Permission is hereby granted, free of charge, to any person obtaining a copy
59
73
of this software and associated documentation files (the "Software"), to deal
0 commit comments