aboutsummaryrefslogtreecommitdiff
path: root/documentation/book/the_lux_programming_language/chapter_17.md
diff options
context:
space:
mode:
authorEduardo Julian2021-11-02 23:35:02 -0400
committerEduardo Julian2021-11-02 23:35:02 -0400
commit94795576e9c90e48367772f95c2f250efcd62da2 (patch)
tree17796957beb4f52051bdaf6bfe1da050a90614cb /documentation/book/the_lux_programming_language/chapter_17.md
parent6c15469f06499e9dee6966f89ac33727d46c885e (diff)
Added the new forum to the documentation, plus updated versions.
Diffstat (limited to 'documentation/book/the_lux_programming_language/chapter_17.md')
-rw-r--r--documentation/book/the_lux_programming_language/chapter_17.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/documentation/book/the_lux_programming_language/chapter_17.md b/documentation/book/the_lux_programming_language/chapter_17.md
index 31f5d74df..aba9493a9 100644
--- a/documentation/book/the_lux_programming_language/chapter_17.md
+++ b/documentation/book/the_lux_programming_language/chapter_17.md
@@ -68,14 +68,14 @@ In order to compile a Lux program to any of these alternative platforms, you mus
An Aedifex `project.lux` file allows for a `"compiler"` option to specify (as a dependency) the compiler you wish to use.
-This option can be omitted, in which case it will pick, as a default value: `["com.github.luxlang" "lux-jvm" "0.6.3" "jar"]`.
+This option can be omitted, in which case it will pick, as a default value: `["com.github.luxlang" "lux-jvm" "0.6.4" "jar"]`.
Here are the compilers for the alternative platforms:
-* For JavaScript: `["com.github.luxlang" "lux-js" "0.6.3" "js"]`
-* For Python: `["com.github.luxlang" "lux-python" "0.6.3" "jar"]`
-* For Lua: `["com.github.luxlang" "lux-lua" "0.6.3" "jar"]`
-* For Ruby: `["com.github.luxlang" "lux-ruby" "0.6.3" "jar"]`
+* For JavaScript: `["com.github.luxlang" "lux-js" "0.6.4" "js"]`
+* For Python: `["com.github.luxlang" "lux-python" "0.6.4" "jar"]`
+* For Lua: `["com.github.luxlang" "lux-lua" "0.6.4" "jar"]`
+* For Ruby: `["com.github.luxlang" "lux-ruby" "0.6.4" "jar"]`
You don't need to use any special command on Aedifex in order to compile Lux to any alternative platform.
@@ -193,7 +193,7 @@ However, it is possible to specify that a file contains code that is only meant
* For Lua: `foo.lua.lux`
* For Ruby: `foo.rb.lux`
-If you're using, let's say, the JavaScript compiler for Lux (i.e. `["com.github.luxlang" "lux-js" "0.6.3" "js"]`), whenever you import a module as a dependency, the compiler will first look for a file with the `.js.lux` extension, and if it fails to find one, it will look for a file with the plain `.lux` extension.
+If you're using, let's say, the JavaScript compiler for Lux (i.e. `["com.github.luxlang" "lux-js" "0.6.4" "js"]`), whenever you import a module as a dependency, the compiler will first look for a file with the `.js.lux` extension, and if it fails to find one, it will look for a file with the plain `.lux` extension.
_What happens if I do not have a `.js.lux` file, but I do have files with the other special extensions?_